Does initiating putting host into maintenance mode immediately prevent VMs from being migrated to it?

This post was originally published on this site

Working on procedure to follow when we have any power outage.

 

Last power outage, we tried shutting down all VMs, but some vhosts died before others when UPS battery ran out and HA started booting up those hosts on remaining vhosts, which is the last thing we wanted to have happen while trying to shut everything down.

 

My question is whether putting all vhosts into maintenance mode will prevent that from happening?

 

I know putting vhosts into maintenance mode only completes once the last running VM is migrated off it, but if, before that, another vhost dies, can HA still power up VMs on the host for which “Enter maintenance mode” has been initiated, but not completed?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.