Hi,
Is there any way to see the vCenter Server/PSC topology via PowerCLI?
Specifically:
1) vCenter Server to PSC Relationship - Akin to this CLI command:
vmafd-cli get-ls-location --server-name localhost
2) PSC to PSC Replication Relationship(s) - Akin to these CLI commands:
vdcrepadmin -f showservers -h PSC_FQDN -u administrator -w Administrator_Password
vdcrepadmin -f showpartnerstatus -h localhost -u administrator -w Administrator_Password
vdcrepadmin -f showpartners -h PSC_FQDN -u administrator -w Administrator_Password
Cheers
M
You can obtain the information, not the drawing, via the vcenter REST API.
Start with (which should be similar to the -showservers parameter).
$topNodes = Get-CisService -Name 'com.vmware.vcenter.topology.nodes'
$topNodes.list()
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you Luc, much appreciated. Have a great weekend. M