VMware Cloud Community
sweehan
Enthusiast
Enthusiast

VM autostartup with vsphere HA 5.1

Hi,

My site have 2 ESXi5.1 host configured with HA cluster. The host and Virtual Machine shutdown is control by UPS when ever there is a power failure. The Auto startup / shutdown was disable when HA is enable.

I want to asked if the I enable the auto startup / shutdown feature, will the Virtual Machine startup automatically after both host power up?

7 Replies
JCMorrissey
Expert
Expert

it should do but pls bear in mind its not supported to do so

see pg 25 of

http://pubs.vmware.com/vsphere-51/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-51-availab...

Please consider marking as "helpful", if you find this post useful. Thanks!... http://johncmorrissey.wordpress.com/
0 Kudos
laurantnx
Contributor
Contributor

This doesn't make any sense. What if the whole cluster goes offline due to a power outage for example?

0 Kudos
Sundararajan
Enthusiast
Enthusiast

Don't understand your issue, explain clearly.

0 Kudos
julienvarela
Commander
Commander

Hi,

you need to configure the virtual Machine Startup and shutdown option through your ESX. Please see my screenshot bottom. HA will not restart your VMs because it is a gracefull shutdown.

pastedImage_1.png

Regards,

Julien.

Regards, J.Varela http://vthink.fr
0 Kudos
ShadyMalatawey
Enthusiast
Enthusiast

Hi...

According to Post, vSphere 5.0 remebers the last state of VMs, so in case of entire-cluster Power outage, vSphere will start VMs accordingly to their last state.
Need to be verified in the Lab...
Check this too.. verified by one of the masters of HA in the world, Duncan Epping..

http://www.yellow-bricks.com/vmware-high-availability-deepdiv/

Check the (All Hosts Down Section)

Sincerely, Shady Ali El-Malatawey MCITP: Virtualization Administration 2008 VCP5-DCV/DT --- VCAP5-DCA/DCD @ShadyMalatawey https://virtualpharaohs.com
0 Kudos
laurantnx
Contributor
Contributor

Thanks everyone for your responses. That makes sense. I found Duncan's post after I posted... should have done some more research first. Smiley Happy Will need to check this in my lab. Thanks again!

0 Kudos
depping
Leadership
Leadership

laurantnx wrote:

Thanks everyone for your responses. That makes sense. I found Duncan's post after I posted... should have done some more research first. Smiley Happy Will need to check this in my lab. Thanks again!

If you power-off all your VMs nothing will be restarted automatically, if all hosts fail and as such all VMs then they will be restarted.

Agreed that this is a major pain point and I filed a feature request for this a long time ago. Will check to see what the status is,