How to monitor Hyper-V replications with NetCrunch

Learn how to track replication performance and status' changes to detect issues resulting from connectivity problems, server failures, or other events.

Hyper-V Replica is commonly used for Disaster Recovery and migrating VMs from one data center to another. A replica of the virtual machine is a complete, ready-to-run copy of the source virtual machine. You should not use it as a replacement for backup, clustering, or automated failover though.

Monitoring Performance Counters related to replication on Hyper-V clusters

In NetCrunch, it is possible to monitor Performance Counters on your Hyper-V Source Server and Hyper-V Replica Server machines. These counters concern, inter alia, Last Replication Size, Network Bytes Sent/Received, Replication Latency, and others. To do this:

  1. Open Node Settings of your Hyper-V Source Server machine
  2. Navigate to Windows Section
  3. Click on Hyper-V tile
  4. Click on Add Alert button
  5. Select New Event for Hyper-V Server Performance Counter
  6. Click on
  7. From the Performance Object field please select WMI Object.Msvm_ComputerSystem
  8. In Counters select ReplicationState, then select Instance
  9. Change Trigger type to Flat Value
  10. Change condition, we previously determined that the value of 8 is the one we are interested in, so we set the value to 8 for last1 minutes
  11. Save all settings

From now on, alerts will be generated when the Replication Status is 8, which is when a Replication Error occurs. If needed, you can also monitor other statuses/counters from this WMI Class - by selecting them in point 13. It is also possible to monitor statuses/counters from other WMI Classes related to replication - in point 6 you can enter the word replication in the search field and try to find other information that is useful to you.

Monitoring replication statuses on Hyper-V virtual machines

Monitoring replication statuses on Hyper-V virtual machines is configured analogously to those on Hyper-V Clusters. You should select virtual machine instead of Hyper-V host in step 8. In Step 6 you can select also e.g. Msvm_ReplicationRelationship.

NetCrunch. Answers not just pictures

Maps → Alerts → Automation → Intelligence