VMware Cloud Community
Soji42
Contributor
Contributor

vSphere Replication monitor with PowerCLI

Hey folks,

I'm looking to check, with PowerCLI, the VM status in incoming/outgoing replications (web client view: vCenter Server > Monitor > vSphere Replication)

pastedImage_1.png

Any help out there would be very appreciated !

Thanks.

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership

Afaik there are no public API nor any public CLI to interact with vSphere Replication.

There is a vRO plugin, but that's all I'm afraid.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Soji42
Contributor
Contributor

Hey Luc,

Thank you for your answer, will check it out.

Will let you know if I found anything usefull with the vRO Appliance.

Have a good one !

Reply
0 Kudos
maximiliens
Contributor
Contributor

Hello, yes you have some information available... looking and try this below. Sorry I start with VMware communities and i can't find a way to cut/paste my script...

If you use SRM Recovery site, you have also the module Meadowcroft.SRM really useful and PowerVRO for Vrealize Orchestrator...

So, information available for HBR (replication information) are in each VM replicated

get-vm %{

     $_.extensiondata.config.extraconfig | ?{$_.Key -eq "hbr_filter.destination"}

     $_.....    hbr_filter.rpo

     $_....     hbr_filter.pause

     $_....

}

Reply
0 Kudos