View previous topic :: View next topic |
Author |
Message |
ruzickav
Joined: 30 Jan 2018 Posts: 6
|
Posted: Tue Apr 03, 2018 8:31 am Post subject: Hyper-V replication test |
|
|
Hello,
is there a way, how to test Replication status on Hyper-V?
Best regards
Vladimir |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
ruzickav
Joined: 30 Jan 2018 Posts: 6
|
Posted: Tue Apr 03, 2018 11:10 am Post subject: |
|
|
Thanks for reply.
I want to check Helth - it is Normal or something else. I think that State is not usable, because it is changing to Replicating, Resynchronizing .... periodically, so in test, there would be periodical error (change state at least..) |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Apr 05, 2018 9:52 am Post subject: |
|
|
If you are using Windows 8.1, Windows Server 2008 R2 or newer, you may use WMI test
namespace: Root\Virtualization\V2
query: select ReplicationHealth from Msvm_ReplicationRelationship where ReplicationHealth>1
Alert if row count>0
If instance not available set Ok status
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
ruzickav
Joined: 30 Jan 2018 Posts: 6
|
Posted: Thu Apr 05, 2018 10:46 am Post subject: |
|
|
KS-Soft wrote: | If you are using Windows 8.1, Windows Server 2008 R2 or newer, you may use WMI test
namespace: Root\Virtualization\V2
query: select ReplicationHealth from Msvm_ReplicationRelationship where ReplicationHealth>1
Alert if row count>0
If instance not available set Ok status
Regards
Alex |
Great - much easier than scripting. Thanks |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|