Solved

Hyper-V replication placed in a critical state after host reboot

Posted on 2014-12-11
5
879 Views
Last Modified: 2014-12-28
I have two Hyper-V Hosts, both running Server 2012 r2.    The hosts are connected to each other via 10GB links across a campus.   Configuring the initial replication and delta replication works flawlessly.  I just implemented WSUS and have the hosts scheduled for stagged reboots, one on Mondays and the other on Tuesdays.  

The problem is, after either one of the hosts reboots, hyper-v replication health stops and is in a critical state.  I must manually  resume replication.    The virual machines "automatic stop action" is to shut down the guest OS, and the "automatic start action" is to Always Start.  

I've read from others having this issue that the machine must be in a paused state for replication to automatically resume after a host reboot.  Since the VM's are also windows machines that need patches and reboots, how can this be an acceptable answer?  

Any thoughts or suggestions is greatly appreciated.
0
Comment
Question by:mattyfats
  • 2
  • 2
5 Comments
 
LVL 47

Accepted Solution

by:
dstewartjr earned 250 total points
ID: 40494099
I have ours set to "Save" and havent had any issues. Try that.
0
 
LVL 56

Assisted Solution

by:Cliff Galiher
Cliff Galiher earned 250 total points
ID: 40494104
Replication will resume automatically if you patch and reboot a guest. It only fails if the VMMS shuts down the VM automatically. Is there a reason your stop action is shut down instead of pausing? This unnecessarily lengthens host reboot times and guest unavailability during host maintenance windows.
0
 

Author Comment

by:mattyfats
ID: 40494293
I guess I just thought that shutting down the guests gracefully was the right thing to do.  I will change the automatic action and give that a try.  Thanks!
0
 

Author Comment

by:mattyfats
ID: 40496636
I'm concerned about the risks associated with pausing VM's.  

http://community.spiceworks.com/topic/144695-is-it-better-to-save-vm-state-or-shutdown-the-guest-os-when-restarting-the-host

It seems that many people shutdown their guests during a host reboot to prevent the possibility of database corruption.  I have Exchange 2010 servers as well as numerous SQL servers.  

Any thoughts on those risks?
0
 
LVL 56

Expert Comment

by:Cliff Galiher
ID: 40497127
A lot of people think pausing a VM is just like a snapshot/checkpoint. And snapshottibg *does* pose risks. But a VM pause poses very little risk. I have a variety of apps and deployments out there, always use pause, and have never seen (or heard of) a corruption that was pause related.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now