I have a scenario whereby I have a single ESXi host, and would like VMs to gracefully shutdown when a shutdown command is issued to the host.
For reasons I won't go into, I do not wish for VMs to autostart when the host is powered on.
Is it possible to configure autostart to stop VMs during a host shutdown, but not have them startup during host power on?
Cheers
Eds
I finally came up with something homebrew;
shell - Linux - trim table of text and store values as variables - Stack Overflow
I managed to get a scripted created that is triggered via a connection by SSH, which shuts down all running VMs.
Please see my other post here:
Re: Help scripting graceful shutdown of VMs via SSH
Eds
Please go through below..
Procedure
Thanks, but your description of the UI does not match my web client.
Using ESXi 6.7 free, as a standalone host obviously, in the web client under host I see manage.
Then, I see the system tab, with an autostart section in that.
This is where I would assume you are referring to, however if autostart is not enabled for a VM, the VM is simply powered off when the host powers off, and ignores my stop action.
See UI below:
How do I configure this, so that VMs will shutdown gracefully with the host, but not auto power on with the host?
Thanks
Eds
Anyone have any additional advice please?
Thanks
Eds
Can anyone assist me with achieving this please?
Thanks
Eds
I finally came up with something homebrew;
shell - Linux - trim table of text and store values as variables - Stack Overflow
I managed to get a scripted created that is triggered via a connection by SSH, which shuts down all running VMs.
Please see my other post here:
Re: Help scripting graceful shutdown of VMs via SSH
Eds