Site Pairing from On-Premises to Cloud using VMware vCloud Director Availability

In this exercise, we will be pairing our On-Premises vSphere Instance with the Cloud Instance.

 

Login to RegionA vCenter (On-Premise)

Login to vCenter
  1. Start the Chrome Browser from the desktop. Click on RegionA in the bookmarks bar.
  2. Click on vcsa-01a Web Client. Verify the address as : https://vcsa-01a.corp.local/
  3. Enter Username: administrator@regiona.local
  4. Enter Password: VMware1!
  5. Click on LOGIN

Login to RegionB Tenant

  1. Open a new browser tab
  2. In the bookmarks bar, click on Region B and select VCD SiteB - Tenant1
  3. Username: t1admin
  4. Enter Password: VMware1!
  5. Click on Sign In

 

VMware Cloud Director Availability at Tenant SiteB

Login to vCloud Availability
  1. Click on More - Setup DR and Migration

This page outlines the steps to be completed in order to use VMware Cloud Director Availability service. We need the Cloud Administrator to configure VMware Cloud Availability so we can use it as a tenant.

Open SiteB Provider Interface

Login to vCenter

Now we will play the part of the Cloud Administrator and configure VMware Cloud Availability so Tenant1 can use it.

  1. On the chrome browser, click on RegionB in the bookmarks bar.
  2. Select VCD SiteB - Provider

Login to SiteB Cloud

Login to vCenter
  1. Username: administrator
  2. Enter Password: VMware1!
  3. Click on SIGN IN

Open Tenant1-OVDC-B

First, we need to expand the resources in Tenant1-OVDC-B.

  1. Click Organization VDCs in the left-hand navigation bar
  2. Click the Tenant1-OVDC-B name in the main window

Edit Allocation

  1. Click on Allocation
  2. Click Edit

Edit Allocation (cont'd.)

  1. Change CPU Allocation to 3 GHz
  2. Click Save

Go to Availability (SiteB)

Login to vCloud Availability
  1. Click on More - Availability (SiteB)

Adding New Replication Policy

Login to vCloud Availability

Replication policies are sets of rules that define and control the replication attributes on a VMware Cloud Director organization level. To control the replication settings allowed for replications on a VMware Cloud Director organization level, the service providers can create replication policies.

When configuring a protection or a migration, the New Replication wizard validates the replication attributes of the policy that is assigned to the organization. Lets add a new policy that will be validated while configuring replication.

  1. Click on Policies
  2. Click on NEW

Create NewReplication Policy

Login to vCloud Availability

 

Just brief overview for each parameter in this wizard-

-Enter a unique, case-sensitive name for the replication policy.

-Select whether to allow custom SLA settings per replication or only to allow SLA profiles to set the SLA settings.

-Select whether to allow incoming and outgoing replications.

-If incoming replications are enabled, enter the maximum number of virtual machines replications.

-If incoming replications are enabled, enter the maximum number of point-in-time instances per replication.

-If incoming replications are enabled, enter the maximum number of stored instances per replication.

-Select whether to allow bandwidth throttling and if enabled enter the maximum throughput per VMware Cloud Director Availability On-Premises Appliance.

-If incoming replications are enabled, set the minimum allowed RPO by using the Recovery Point Objective (RPO)slider or by clicking the time ranges.

  1. Policy Name: T1-Policy.
  2. Leave everything as Default
  3. Click on CREATE

Assign the Policy to Tenant

Login to vCloud Availability

To control the replication settings of VMware Cloud Director organizations, the service providers assign replication policies to the organizations.

  1. Select the Policy T1-Policy
  2. Click on ASSIGN

Assign Policy to Tenant (contd..)

Login to vCloud Availability
  1. Enable checkbox for Tenant1
  2. Click on ASSIGN

Let's log in as Tenant1 and see what it looks like now that we have assigned a policy.

Log out of Provider

In the upper right-hand corner, click on administrator and select Log out.

Login to RegionB Tenant

  1. In the bookmarks bar, click on Region B and select VCD SiteB - Tenant1
  2. Username: t1admin
  3. Enter Password: VMware1!
  4. Click on Sign In

 

Go to Availability

Login to vCloud Availability
  1. Expand More
  2. Notice it no longer shows Setup DR and Migration. Click on Availability (SiteB)

Availability

Notice that we no longer have the "Setup DR and Migration" window and now we have VMware Cloud Availability in our Cloud Director UI.

Retrieve Service Endpoint Address

Login to vCloud Availability
  1. Click on Sites
  2. Copy the Service Endpoint URL using the icon Copy

Switch to On-Prem Site

FT-HOL-2182-01-HBD-v0.4 - Lab Console - VMware Learning Platform
  1. Switch to tab On-Premises site
  2. Expand Menu
  3. Click on DRaaS

Configure pairing from On-Premises to Cloud

Login to vCloud Availability
  1. Click on Dashboard
  2. Click on PAIR NOW

Enter Site Details for pairing

Login to vCloud Availability
  1.  Enter Site name vSphere-On-Prem
  2. Click NEXT

 

Enter Lookup Service Details

Lookup Service details
  1. Lookup Service Address: Confirm it is pre-populated
  2. Enter SSO Admin Username: administrator@regiona.local
  3. Enter Password: VMware1!
  4. Click Next

Enter the Cloud Service Details

Login to vCloud Availability

Here we will update the Cloud Service details. Enter the following information:

  1. Service Endpoint address: Paste the url we copied from the Cloud Site. Confirm the address is https://vcda-01b.corp.local:8048/
  2. Organization Admin: t1admin@tenant1
  3. Organization Password: VMware1!
  4. Allow Access from Cloud: Turn it On. For the enterprise administrators, this option under Cloud Details, gives the users an option to set up new replications from vCD. If this is disabled, vCD users cannot remotely browse vCenter. The only way to establish new replications is leveraging through vCenter. If this option is enabled, new replications can be established from either side.
  5. Click NEXT

Accept the server certificate

Login to vCloud Availability
  1. Click on ACCEPT

Ready To Complete the pairing between the 2 sites

Login to vCloud Availability
  1. Review the details, enable Edit / configure local placement now. To enable Cloud to on-premises replications, local placement settings need to be configured to indicate where to put your recovered VMs.
  2. Click on FINISH

Configure Placement Settings for Recovered VMs

VM Placement

Because the "Edit / configure local placement now" option was enabled in the last step, the Configure Placement wizard should now be visible. (If you didn't enable this setting in the previous step, you can access this wizard in the DRaaS Configuration section. Look for "Placement to newly recovered VMs on this site".)

  1. Select RegionA01
  2. Click on Next

Configure Compute Resource

Compute Resource
  1. Select RegionA01-COMP01
  2. Click Next

Configure Default Network

Default Network
  1. Select Network VM-RegionA01-vDS-COMP
  2. Click Next

Configure Datastore

Datastore
  1. Select Datastore as RegionA01-ISCSI01-COMP01
  2. Click Next

Ready to Complete the Configuration of VM Placement

Dashboard
  1. Review the details and Click on FINISH

Confirm the pairing is Completed successfully

Dashboard

Let's take a look at the Dashboard at On-Premises site.

  1. Click on Dashboard
  2. Local Availability Sites - Confirm the On-Premises site is paired with Cloud SiteB
  3. Cloud vApp/VM replication status - We just paired On-Premises with Cloud. There are no Incoming or Outgoing Replications to Cloud.