Here is my checklist of things I have done in order to try and get my VMs to automatically start on host startup:
In vSphere under the configuration tab, enabled 'Start and Stop Virtual Machines with the system;
Moved my VM into the Automatic Startup list;
Set Startup Delay to 30 seconds;
Installed VMware Tools onto the VM (not sure if this is necessary).
But the VM fails to start when the host starts. Any ideas?
Would this be a standalone host and if so would you have lockdown mode enabled?
Dave
VMware Communities User Moderator
Now available - vSphere Quick Start Guide
Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL.
Yes, it's a standalone host, and yes, lockdown mode is enabled.
Are you doing a cold boot? Or you want the VM's to start after a host update, because if the host is in maintenance mode when it restarts, and then it exits maintenance mode, the VMs will not start, it has to be a cold boot or restart, and restart in normal mode, then it should work.
I am not switching to maintainence mode before rebooting the host. Nor am I performing a reboot after a host update.
Should be something in task / events, maybe an attempt to start the VM, but nothing happened.
Have you looked at the logs? And do NONE of the VM's start or only certain ones?
If you look at the hostd log you should see some permissions errors when auto start kicks in. If you disable lockdown mode they should startup OK.
Dave
VMware Communities User Moderator
Now available - vSphere Quick Start Guide
Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL.
