Hyper-V 2019 Standard VM's vanished after power outage.

James Mahoney
James Mahoney used Ask the Experts™
on
I have installed a failover cluster, using shared iscsi storage & migrated 5 virtual servers to it from an older server 2012 Hyper-V.  After the power went out, none of the VM's are even listed in the Hyper-V manager on the new system.  This has been in place & running for about 2 months.  

I am able to browse to the .vhdx files, what is the best method for bringing them back in & getting them online.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Philip ElderTechnical Architect - HA/Compute/Storage

Commented:
Where are the configuration files for the VMs?

Are the volumes set up as Cluster Shared Volumes?

Do the VMs show up in Hyper-V Manager on each node as opposed to Failover Cluster Manager?

Is there a UPS in place that can gracefully shut down the VMs, then pause and drain one node, and finally shut down the cluster service then the last node standing? <-- This is the proper order of things in this situation.

Since separate storage is involved, does the storage setup have a graceful shutdown set up as well?
kevinhsiehNetwork Engineer

Commented:
Now that the external storage is booted, have you tried rebooting both hosts so they can connect to the storage properly? It is possible in the event of power outage that the servers boot faster than the storage can come online.
I had already rebooted the hosts, once I confirmed the iscsi connection was up & cluster shared storage was accessible.  

Those virtual machines had been moved from a previous host, into the clustered hosts using Hyper-V manager over a few weeks time.  I do have failover cluster installed & configured, however the VM role was not assigned to all virtual machines after the move took place.  

The failover cluster, superseded the Hyper-V Manager configuration & the hosts no longer saw the vm's as their responsibility, so they did not even list the vm's in Hyper-V Manger anymore.

I was forced to manually import the VM's using Hyper-V manger & fortunately, was able to start them without further issue.  

The import process was the solution I was looking for.  I have since ensured that all vm's within the cluster are configured for that role.
Philip ElderTechnical Architect - HA/Compute/Storage

Commented:
Do the VMs show up in Hyper-V Manager on each node as opposed to Failover Cluster Manager?
The VMs should always show up in the owner node's Hyper-V Manager thus the question. The next step when they don't is to import them thus the question about the configuration files location.

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