Configuring the Remote Site

After you address the prerequisites for using vSphere Replication through the vSphere Replication Appliance and vSphere Web Client, you need to configure the target site, which is vCloud – Air Disaster Recovery.

This tutorial shows you how to configure the vSphere Replication Appliance to connect to vCloud – Air Disaster Recovery. Topics are as follows:

 

Watch Now

1. Locate Information in vCloud Air Disaster Recovery

Before configuring the remote site, you need to gather information from your vCloud Air account. To do this:

 

1. If you’re not already logged in, go to https://vchs.vmware.com/login and log in to vCloud Air.

2. From the Dashboard, click the desired Disaster Recovery virtual data center.

  • In this example, the multi-tenant cloud named 66660013-131 is reserved for disaster recovery.
  • Note: The icon with the blue cloud and lightning bolt indicates a Disaster Recovery cloud.


 

3. On the virtual data center’s Dashboard, click the vCloud Director API URL and copy it into the clipboard for later use.

 

2. Configure a Connection in the vSphere Web Client

Next, access the vSphere Web Client and configure a connection to the disaster recovery site:

 

1. Log in to the vSphere Web Client.

 

2. On the Home tab, click the vSphere Replication icon.

 

 

3. Go to the Manage tab, click vSphere Replication, and then click Target Sites.

  • Note that there are not yet any connections to target sites.

4. Click the Cloud Provider icon to set up a new connection to vCloud Air.

  • You can connect to two types of targets: either a vSphere replication target or a cloud provider.
 

 

5. In the Connect to a cloud provider – Connection settings window, in both the Cloud provider address and Organization name fields, paste the vCloud Director API URL that you copied earlier.

 

 

6. Edit the Cloud provider and Organization name fields as follows:

  • Cloud provider: Retain the URL portion only (example: https://p2v12-vcd.vchs.vmware.com).
  • Organization name: Retain the organization ID portion only (example: 66660013-131). Note that the final slash is also omitted.

 

7. Enter the credentials (username and password) for your vCloud Air tenant, and then click Next.

  • The account used must have  <blank> Administrator role(s).

8. In the Connect to a cloud provider – Virtual datacenters window, select the validated virtual data center, and then click Next.

  • This adds the virtual data center as a replication target in the vSphere Replication Appliance.
 

 

9. In the Connect to a cloud provider – Ready to complete window, review the connection settings, and then click Finish.

 

10. Verify that the virtual data center appears as a target site in the vSphere Web Client: Go to the Manage tab, click vSphere Replication, and then click Target Sites.

  • Note: It can take a few seconds for the virtual data center to appear in this window.
  • As shown in the highlighted box, the target site is missing network settings. The next section in this tutorial discusses how to configure settings for the test and recovery networks.
 

3. Configure Test and Recovery Networks

To finalize the configuration of a connection to the target site, you must specify the primary networks that the Disaster Recovery service should use for tests and recovery operations. When you subscribe to the Disaster Recovery service, VMware automatically creates two default networks for your service—an isolated network and an external routed network. You can use these networks for your virtual machines protected by the Disaster Recovery service, or create other networks in your cloud organization. In this tutorial, a “Demo-Test” network and a “Demo-Recovery” network have been defined within the vCloud Air portal.

 

Back in the vSphere Web Client, configure settings for the test and recovery networks:

 

1. Click the target site, and then click the Configure Target Networks icon.

 

2. In the Configure Target Networks – Network settings window, select a recovery network and a test network from the respective drop-down menus, and then click Next.

  • Note that there are two default networks (one isolated and one routed) in addition to other networks that have been previously created within the vCloud Air Disaster Recovery cloud.

 

3. In the Configure Target NetworksReady to complete window, review the network settings, and then click Finish.

 

4. Verify that the network settings are properly configured in the vSphere Web Client:

  • Go to the Manage tab, click vSphere Replication, and then click Target Sites.
  • Verify that the Status column reads Connected.