?
Solved

Server 2012 HyperV Replication

Posted on 2014-12-01
7
Medium Priority
?
195 Views
Last Modified: 2014-12-14
Hello,

I am currently replicating several VMs from one site to another using HyperV Replication.  I have to manually check the status of the replication of each VM.  There is no visible warning when a VM is behind schedule.  Is there a way to be automatically alerted when there is a problem with HyperV replication?

Thanks,

TB
0
Comment
Question by:TropicalBound
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40476585
Check the Hyper-V specific Event Logs for the message that something is amiss.

Once you figure out the specific message that indicates things are falling behind right click and associate a task with it. Set up the task to fire an e-mail off to yourself or admin team responsible.

Without third party monitoring that's about one of the best ways to do it.
0
 
LVL 3

Author Comment

by:TropicalBound
ID: 40476611
I gave that a try.  I received an error stating, "The task definition uses a deprecated feature".  Didn't Microsoft remove the 'Send email' feature from the Task Scheduler?

TB
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40476677
See RobGilbie's How-To for PowerShell to fire those e-mails on the TechNet forum.

It's a bit of a ringer but once done it becomes fairly straightforward.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Accepted Solution

by:
TropicalBound earned 0 total points
ID: 40480844
I found this Powershell function that works perfectly.  It produces a Window that shows the VM names, replication status, and delta.  I can run this on a schedule, but I will need to manually check the server.  Now I'm looking to modify this to email the results.  I'll attempt this myself, but if anyone can assist, it would be appreciated.

get-content c:\serverlist.txt | foreach-object {get-vm -computername $_ } | whe
re {$_.replicationstate -notmatch "Disabled"} | get-VMreplication | select primaryserver, replicaserver, name, replicati
onmode, State, replicationhealth, @{Expression={"{0:0.0}" -f ($_.FrequencySec / 60)};Label="Target Freq (min)"}, @{Expre
ssion={"{0:N0}" -f ((get-date)-($_.lastreplicationtime)).TotalMinutes};Label="Delta (min)"} | out-gridview


Thanks,

TB
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40481249
The PowerShell in the link I posted can help.
0
 
LVL 3

Author Closing Comment

by:TropicalBound
ID: 40498677
Still don't have an adequate solution.  The one I found was closest, but still requires manual intervention.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

770 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