How to autostart Proxmox?

sevenman

New Member
Jun 16, 2020
4
0
1
31
Hi,
i have two proxmox servers, one is always on. one is off.
i need to turn on automatically at 11 am every day the server which is off.


i don't find any functions for that. I'm, not a programmer or coder. trying to move from esxi.

Thank you very much.
 

Vladimir Bulgaru

Active Member
Jun 1, 2019
194
29
28
33
Moscow, Russia
Hi,
i have two proxmox servers, one is always on. one is off.
i need to turn on automatically at 11 am every day the server which is off.


i don't find any functions for that. I'm, not a programmer or coder. trying to move from esxi.

Thank you very much.
Hey!

Usually it's done via the server bios rather than OS.
Check the BIOS settings and see what boot options you have.
You may need to set wake-on-lan or something akin to that.
 

sevenman

New Member
Jun 16, 2020
4
0
1
31
Thank you for the replay,
my motherboard is MSI. it does have 'RTC alarm' option.
but it doesn't work. I don't know why. I have tried it in two MSI pc. It just doesn't work.
I have read some of their documents and try to figure out how it really works.
Until then I need to os based start. MSI motherboards supports that feature.

The last thing. also, is there a way of auto-shutdown proxmox?
 

Vladimir Bulgaru

Active Member
Jun 1, 2019
194
29
28
33
Moscow, Russia
Thank you for the replay,
my motherboard is MSI. it does have 'RTC alarm' option.
but it doesn't work. I don't know why. I have tried it in two MSI pc. It just doesn't work.
I have read some of their documents and try to figure out how it really works.
Until then I need to os based start. MSI motherboards supports that feature.

The last thing. also, is there a way of auto-shutdown proxmox?
Autoshutdown is easily done via cron.
But i'm pretty sure you cannot to autostart via OS.
You probably need to look into wake-on-lan feature.
 

sevenman

New Member
Jun 16, 2020
4
0
1
31
Autoshutdown is easily done via cron.
But i'm pretty sure you cannot to autostart via OS.
You probably need to look into wake-on-lan feature.
Thank you very much for your replay. it's appreciated.
my "RTC Alarm" works now.
RTC Alarm works in the S1 state. not S3!
generally when a pc shutdown it goes to S3 state. I need to change this to S1 by going into ACPI settings in the bios.
Also, one of the MSI documentation I have found that after turning on the "RTC alam" its needs a pure booting to OS and pure shutdown by OS.
NOW my one is working properly. :D

now, is there a GUI to using cron to autoshutdown proxmox?
or there is some codes or something. can you please help me on that?

Thank you very much.
 

Vladimir Bulgaru

Active Member
Jun 1, 2019
194
29
28
33
Moscow, Russia
Thank you very much for your replay. it's appreciated.
my "RTC Alarm" works now.
RTC Alarm works in the S1 state. not S3!
generally when a pc shutdown it goes to S3 state. I need to change this to S1 by going into ACPI settings in the bios.
Also, one of the MSI documentation I have found that after turning on the "RTC alam" its needs a pure booting to OS and pure shutdown by OS.
NOW my one is working properly. :D

now, is there a GUI to using cron to autoshutdown proxmox?
or there is some codes or something. can you please help me on that?

Thank you very much.
From the console type:
crontab -e

In the editor, add the following line:
0 0 * * 7 shutdown -t 0

This is an example. In cron the first 5 digits is the schedule for when the command is executed and in the example above - it will shut the server down on midnight between Sat and Sun. You can read more about cron here: https://opensource.com/article/17/11/how-use-cron-linux

Good luck!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!