In the last post of this series, we deployed the VRMS appliance. In this post, we will deploy the vSphere Replication Cloud Service and the vSphere Replication Server appliance.
If you are not following along this series, then I recommend reading earlier posts of this series from the links below:
1: vCloud Availability Introduction
2: vCloud Availability Architecture & Components
4: Install Cloud Proxy for vCD
6: RabbitMQ Cluster Deployment and vCD Integration
Before we kick off the deployment, let’s recap the role of appliances in the VCAV stack.
What is vSphere Replication Cloud Service (VRCS)?
The vSphere Replication Cloud Service is a tenant-aware replication manager that provides the required API for managing the service and all its components. vSphere Replication Cloud Service registers as a vCloud Director extension and is accessible through the vCloud Director interface.
What is vSphere Replication Server?
vSphere Replication Server handles the replication process for each protected virtual machine. vSphere Replication uses the host-based replication (HBR) mechanism for VM protection and replication.
First, we have to define the following variables:
| 1 2 3 4 5 6 7 8 9 | root@mgmt-vcav [ ~ ]# export MGMT_VSPHERE_ADDRESS=mgmt-vc01.alex.local root@mgmt-vcav [ ~ ]# export MGMT_VSPHERE_USER=administrator@lab.local root@mgmt-vcav [ ~ ]# export MGMT_VSPHERE_NETWORK=Mgmt-PG root@mgmt-vcav [ ~ ]# export MGMT_VSPHERE_DATASTORE=iSCSI-2 root@mgmt-vcav [ ~ ]# export MGMT_VSPHERE_LOCATOR=BLR-DC1/host/Mgmt-Cluster | 
Deploy VRCS Appliance
| 1 2 3 4 5 6 7 8 9 10 11 | # vcav hcs create  --vsphere-address=$MGMT_VSPHERE_ADDRESS  --vsphere-user=$MGMT_VSPHERE_USER  --vsphere-password-file=~/.ssh/.vsphere.mgmt  "--network=$MGMT_VSPHERE_NETWORK"  "--vsphere-locator=$MGMT_VSPHERE_LOCATOR"  --datastore=$MGMT_VSPHERE_DATASTORE  --ntp=192.168.109.4  --root-password-file=~/.ssh/.root  --vm-name=mgmt-vrcs01 --vm-address=192.168.109.41 | 
Run the following command to trust the certificate for the vSphere Replication Cloud Service
| 1 2 3 4 5 6 7 | # vcav vsphere trust-ssh  --vsphere-address=$MGMT_VSPHERE_ADDRESS  --vsphere-user=$MGMT_VSPHERE_USER  --vsphere-password-file=~/.ssh/.vsphere.mgmt  --root-password-file=~/.ssh/.root  --vm-name=mgmt-vrcs01  --vm-address=192.168.109.41 | 
Deploy vSphere Replication Appliance
| 1 2 3 4 5 6 7 8 9 10 11 | # vcav hbr create  --vsphere-address=$VSPHERE01_ADDRESS  --vsphere-user=$SSO_USER  --vsphere-password-file=~/.ssh/.sso  "--network=$VSPHERE01_PLACEMENT_NETWORK"  "--vsphere-locator=$VSPHERE01_PLACEMENT_LOCATOR"  --datastore=$VSPHERE01_PLACEMENT_DATASTORE  --ntp=192.168.109.4  --root-password-file=~/.ssh/.root  --vm-name=mgmt-vrs01 --vm-address=192.168.109.42 | 
Trust the vSphere replication certificate by vSphere using the below command
| 1 2 3 4 5 6 7 | # vcav vsphere trust-ssh  --vsphere-address=$VSPHERE01_ADDRESS  --vsphere-user=$SSO_USER  --vsphere-password-file=~/.ssh/.sso  --root-password-file=~/.ssh/.root  --vm-name=mgmt-vrs01  --vm-address=192.168.109.42 | 
An OK message will be returned for successful trust b/w the appliances.
And that’s it for this post.
I hope you enjoyed reading this post. Feel free to share this on social media if it’s worth sharing.
