Managing vCenter Site Recovery Manager
Here, we will discuss how we can use PowerCLI cmdlets to manage Site Recovery Manager. To manage SRM, we can use two cmdlets: Connect-SrmServer
and Disconnect-SrmServer
.
To connect to an SRM server, we first need to connect to a vCenter server where SRM is already configured and attached to the vCenter server. Once we connect to the vCenter server using the Connect-VIServer
cmdlet, we can connect to the SRM server using the Connect-SrmServer
cmdlet:
PS C:\> $srmServer = Connect-SrmServer PS C:\> $srmServer Name Port User ---- ---- ---- 192.168.12.20 9007 lab.com\Administrator
To disconnect from an SRM server, we can use the Disconnect-SrmServer
cmdlet. To get more information from the SRM server and to manage further aspects, we need to access the extension data information. We will go into details of how we can access this information. Here...