Hyper-V 2012

I currently run 2 hosts running sever 2012, Host 1 rebooted and the VMs on the host migrated didn't stay online i was under the assumption the VMs should stay online. should this happen and if not what config changes do i need to make for this to work.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Muhammad MullaSystems AdministratorCommented:
Did the VMs migrate to the second host? Are the Hyper-V hosts in a cluster?
Dan130Author Commented:
they did migrate, yes they are in a cluster but didn't stay online
Casey WeaverManaged Services Windows Engineer IIICommented:
The cluster manager logs should tell you, but this doesn't sound like a normal reboot, it sounds sudden. VM are not constantly replicated between hosts, they are moved on command. If the host shut down suddenly, they wouldn't have time to live migrate. They would then have to be rebooted by the host that took over running them.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Dan130Author Commented:
casey, so you are saying down time during this process is always expected? i thought that as the disk pools are in a clustered environment they should always stay online so then should the VMs
Casey WeaverManaged Services Windows Engineer IIICommented:
Yes this is normal. You're looking for live replication between hosts, which I don't believe Hyper-V even offers. VMWare has it, but it requires enterprise level licensing, and it only works for a very smalls subset of work loads, as an example I believe it can't handle VMs with more than 2 cores assigned. While the disks are shared, the part of the VM that's important, the running part, runs in memory. Same as your desktop computer, a loss of power causes a loss of run state and requires a reboot.
Casey WeaverManaged Services Windows Engineer IIICommented:
You can use Hyper-V Replica, but it is not a live transfer of data. I use it on my network, but only to back up to a disaster recovery site. http://blogs.technet.com/b/yungchou/archive/2013/01/10/hyper-v-replica-explained.aspx

If you want uptime, you'll need to set up a VM in each host running your workload as a cluster. As an example, for a remote desktop farm to stay up, you would put a broker and a session server on each host. For SQL, you would run a active/passive setup between two SQL VMs, one on each server. The uptime of our workload depends on your applications being set up for it, not your hosts.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dan130Author Commented:
we found replica to be a pain so use Veeam replication instead for our off site backup we can live migrate between hosts when both are online without issues, it was just in the event that a host for example lost power the VMs stayed running.
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
In a Hyper-V cluster setting where two or more nodes are providing compute for virtual workloads a node dropping out is the same as hitting the reset button to the VMs running on that node.

The Cluster Service will find node(s) to fail the workloads over to then fire them up.

The OSE (Operating System Environments) will prompt for a reason the server was hard shut down.

This is expected behaviour.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.