vCloud Availability for Cloud-to-Cloud DR-Part 4: Testing DR Operations

In last post of this series we paired the two vCloud based cloud instances. Now its turn to test the DR capabilities offered by vCAV-C2C.

If you are not following along this series, then I recommend reading earlier posts of this series from below links:

1: Introduction to vCloud Availability for Cloud-to-Cloud DR

2: vCAV-C2C-POC Deployment

3: Site Pairing

To start testing DR operations, connect to https://VCAV-FQDN:8443 and login with tenant credentials (uname@orgname) and navigate to Paired Clouds.

By default your Site-B will show as unauthenticated. Click on the gear button to enter credentials.

c2c-rep1

Enter Org name of Site-B and the Org User credentials. Click on Authenticate.

c2c-rep2

Now both sites will show as authenticated.

c2c-rep3

Perform the same operation by connecting to VCAV appliance of Site-B and adding Org/User details of Site B and make sure both sites are showing as authenticated.

c2c-rep4

Once both sites are authenticated, navigate to DR-Workloads tab and click on Discovery

c2c-rep5

Select source site from where replication will be initiated. You can select any site from here as source. No need to login to Site B appliance to use it as source.

Hit next post source site selection.

c2c-rep6

Select vApp/VM’s which you want to replicate and hit next.

c2c-rep7

Select destination site and hit Next.

c2c-rep8

Select the RPO and other settings for replication and click on Protect.

c2c-rep9

Protection setup task will be triggered. Wait for it to complete.

c2c-rep10

You will see a message about VM protection started.

c2c-rep11

And finally vm status will reflect as protected.

c2c-rep12

From Actions tab, you can perform various operations like Failover, Test and Pause replication etc.

c2c-rep13

Following events will be triggered in vCenter of both sites.

c2c-rep14

c2c-rep14.0

Replicated VM is created as shell VM in destination vCenter and is not visible in destination vCloud Director.

Perform Test Failover

To perform test failover, select Test from Actions tab and select if you want to sync the deltas to destination site before VM can be test failed over. You can also choose to Power -on VM as destination site so that you can check integrity of the OS/App when VM boots up. 

Click on Start button to start the test failover.

c2c-rep15

Wait for couple of minutes for process to complete.

c2c-rep16

Once test is completed, you will see message “Failover Test Ready”

c2c-rep17

At this moment replicated VM will be registered as regular vm in vCenter (not as shell vm) and also in vCloud Director.

Perform Test Cleanup

To perform the test cleanup, select Cleanup option from Actions tab and hit Ok on the popup window. 

c2c-rep18

All changes made during test failover will be discarded and vm will be again registered as disk shell vm in vCenter.

Performing Failover

To perform permanent failover of VM from source site, select failover option from Action tab. You can choose to consolidate vm disks (if PIT is enabled) and resync (to sync all deltas). 

Hit Start button to initiate failover.

c2c-rep20

Wait for sometime while VM is failing over.

c2c-rep21

When this process completes, VM status will change to Failed Over.

c2c-rep23

Under home page you can see the details of replication.

c2c-rep19

c2c-rep24

Perform Reverse Replication

If you have permanently failed over a replicated vm from source to destination site, you can reverse the direction of replication for that vm from Destination <– Source

From Actions tab select Reverse.

c2c-rep25

Click Ok to start reverse protection.

c2c-rep26

Wait for some time for reverse protection process to complete.

c2c-rep27

VM replication status will now read as Reversed.

c2c-rep28

In source site VM will now show as empty shell in vCloud Director.

c2c-rep29

And that’s it for this post. 

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing. Be sociable :)

Leave a Reply