Gracefully shutting down a Hyper-V cluster during powerloss

JamesNT used Ask the Experts™
We have a situation where a 2 node Hyper-V Cluster needs to be gracefully shutdown when primary utility power has been disconnected AND the UPS has less than 25% battery remaining.

The UPS’s that we are using (one Per Physical Host) is an APC SmartUPS 1500 that has USB only (no slot for smartnet card) and has PowerChute available to monitor the USB port (if that helps).

In the above configuration, obviously we cannot guarantee that both UPS units will last exactly the same amount of time.  If UPS 1 reaches 25% battery first and begins shutdown then I assume the Hyper-V cluster node connected to it will try to transfer its guests over to the other node.  However, should that other node begin shutdown in the middle of transfer because UPS 2 reaches 25% battery, will the guests be properly shut down or will they just be cut off?  We expect to receive notification that transfer of virtual machines failed.  That's fine.  Our goal is to have the guests properly shut down rather than just cut off.  Is that possible in this scenario?

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Technical Architect - HA/Compute/Storage
We supply a single network managed UPS system for cluster setups when at all possible. That makes things so much simpler.

What is the model number of the UPS being used?

PowerShell Steps:
 1: Pause & Drain Node 2 @ 50% battery
 ** VMs now reside on Node 1
 2: Shut down Node 2 once drained
 ** Can time this according to minutes to Live Migrate all VMs from one node to the other
 3: Shut down VMs @ 25% battery
 4: Shut down cluster service
 ** Again, time the shutdown process of the VMs to get an idea of how much time is needed
 5: Shut down Node 1

Important: Have the BIOS startup timer set to ALWAYS POWER ON and set the pause to at least 5 minutes for node 1 and 7-8 minutes for node 2. This allows for any power anomalies that can happen such as fits and starts prior to the power actually coming up.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial