Feature Request: Extra options for VM "Start at boot"

Nov 21, 2019
4
0
1
46
Hi All

I'm not quite sure if this is the correct place to post feature requests. If it isn't, I'd appreciate it if someone could let me know the appropriate location.

===========

Current system:
In the options of each VM, there is a setting for the telling Proxmox what to do when the host server is powered on, the "Start at boot" option.

It is a boolean option: If true, the VM is started. If false, the VM is not started

Modification:
Would it be possible to add a third possibility to the above option along the lines of "Same as last state".

Use Case:
Not all VMs need to be on all the time, or off all the time, but rather be only running when a particular task or project needs to be executed. In the case of such VMs, if there is a power interruption, whatever the running state the VM was in prior to the power interruption, must be honoured and restored when power is restored.

Currently, if there is a power interruption, an administrator needs to go through the logs to determine what VMs were on at the time the power interruption, and then restart those VMs. The more VMs there are, the longer this manual task takes.

The only work-around at the moment I can think of, is to change the power-on-boot setting each time you start or stop a VM.

This is a real problem in a country like South Africa, where the national electricity supply is unreliable and backup power generation and storage are being pushed to their limits.
 
Couldn't you achieve this using HA and instead of manually shutting a guest down just ask the HA manager to set the its state to "Shutdown"? HA states persist through node reboots and this seems like a pretty common scenario for HA.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!