In the product FAQ documentation from VMware vCloud Availability official product introduction website, one question listed which most cloud providers frequently asking about is:
Q. Can I automate the failover order of my disaster recovery virtual machines?
- Auto protect groups of virtual machines
- Failover and start virtual machines in a specific order
- Customize virtual machine hardware settings after failover
- Customize the failover environment
- Orchestrate the failover of a large group of VMs using a single REST call
In this blog I’ll walk you through the major steps required to install the plug-in for the On-Premises deployment model (vRealize Orchestrator is deployed by the tenant in their on-premises data center). The tenant uses vRealize Orchestrator to configure/manage replications and test failovers.
The following graph shows the overall high-level architecture of vCloud Availability for vCloud Director (vCAV).
I have the following environment setup, the left hand side is my On-Premise DC with vSphere Replication configured and paired with remote site vCloud Director’s OVDC (T1-OVDC).
The paring information is shown as below:
To begin with the vRealize Orchestrator Plug-In for vSphere Replication 6.5.1 installation, first you need to install vRealize Orchestrator (vRO marked in green color in the following graph), you can install version 7.3 or 7.4 of vRO as you wish, but please check which vSphere plug-in version is supported here.
Suppose that you have already installed vRO, we need to go through the following steps to complete the Plug-In setup.
1. Install vSphere Replication 8.1 Plug-In
My vSphere Replication appliance version is 8.1, so I will use the vRealize Orchestrator Plug-In for vSphere Replication 8.1 release runs with VMware vRealize Orchestrator 7.3.
You can download the vRealize Orchestrator Plug-In for vSphere Replication 8.1 from the download page.
Go to vRO Control Center, click “Manage Plug-Ins” to install your downloaded plug-in.
browse to the path of your vr-8.1.0.vmoapp file.
then restart your vRO service.
After you install the Orchestrator Plug-In for vSphere Replication, the plug-in automatically discovers the vSphere Replication instances on all vCenter Servers that are currently registered, you can find the vSphere Replication workflows in the vSphere Web Client:
- Go to vRealize Orchestrator > Workflowsview in the vSphere Web Client.
- Expand the hierarchy to navigate to the vRO Servers > Library > vSphere Replication folder.
2. Configure a vCenter Authenticator
Enter vCenter Server’s host name or IP address.
There will be one certificate notification coming up, just accept that.
Click “Register” button.
Input the Administrator group in domain.
test the connection:
3. Install vCloud Director Plug-in
4. Configuring the HTTP-REST Plug-In
(this is only required if you want to perform vCAV actions via vCD API extension, we will skip this part)
5. Configure inventory items in vRealize Orchestrator
5.1 Registering On-Premise vCenter Server Node
5.2 Register Cloud Site Credentials
5.3 Register Standalone Organization (allow replication-related operations to be performed on this endpoint)
5.4 Registering a vCloud Director Endpoint (optional, but required if you want to perform workflows that run against virtual machines running on in this endpoint)
6. Execute the Plug-in workflows
- VMware official white paper regarding how to use vRO with vCAV is here.
- You can find sample vRO workflows that require additional tasks during a VM failover, i.e: to Enable Guest Customization and to Update IP Address scripts here.