To use vSphere Replication and Site Recovery manager between the protected and recovery VMware Cloud Foundation instances, you create a new site pair.
For the following procedure, use the VMware Cloud Foundation Planning and Preparation Workbook.
UI Procedure
- Log in to the management domain vCenter Server at https://<protected_vcenter_server_fqdn>/ui in the protected VMware Cloud Foundation instance as administrator@vsphere.local.
- From the vSphere Client menu, select Site Recovery.
- On the Site Recovery page, on the protected site pane, click Open Site Recovery.
- Pair the protected and the recovery Site Recovery Manager instances.
- On the Site Recovery page, click New site pair.
The New pair wizard opens.
- On the Pair type page, select the management vCenter Server for the protected VMware Cloud Foundation instance, select the pair type, and click Next.
- On the Peer vCenter Server page, select the recovery site vCenter Server you want to pair and click Next.
-
(Optional) If the management vCenter Server in the recovery VMware Cloud Foundation instance is in a different SSO domain, configure the PSC port to 443, configure the remaining settings according to your VMware Cloud Foundation Planning and Preparation Workbook, and click Find vCenter Server Instances.
- On the Services page, select vSphere Replication and Site Recovery Manager, and click Next.
- In the Security alert dialog box, click Connect.
- On the Ready to complete page, click Finish.
- Click View Details and click Site pair.
- On the Site Recovery page, click New site pair.
PowerShell Procedure
-
Start Windows PowerShell.
-
Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.
$sddcManagerAFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerAUser = "administrator@vsphere.local" $sddcManagerAPass = "VMw@re1!" $sddcManagerBFqdn = "lax-vcf01.lax.rainpole.io" $sddcManagerBUser = "administrator@vsphere.local" $sddcManagerBPass = "VMw@re1!"
-
Perform the configuration by running the command in the PowerShell console.
New-SRMSitePair -sddcManagerAFqdn $sddcManagerAFqdn -sddcManagerAUser $sddcManagerAUser -sddcManagerAPass $sddcManagerAPass -sddcManagerBFqdn $sddcManagerBFqdn -sddcManagerBUser $sddcManagerBUser -sddcManagerBPass $sddcManagerBPass