This post covers pairing and usability of VMware vCloud Availability for Cloud-to-Cloud DR.
Previous blog posts:
- Part 2:
- Initial authentication between the two sites
- Migrating a workload in the same site
- Protecting a workload between two sites
- Testing the protected workload
- Edit Options
- Failing Over
Initial authentication between the two sites
- This is pretty simple and very similar (if not exactly) like vCAv-DR2C. Go to Paired Clouds -> click the actions button to authenticate on the paired remote site. For me, this is SiteB.
- We need to provide the organization name, the username of the org admin, and password. Note this must be an organization admin for pairing.
- Now, I can do the same on my second site, SiteB.
Migrating a workload in the same site
- So let’s work through a use case where I want to migrate a vApp or VM between two different oVDCs in the SAME vCloud Director instance. This question came up on the vExpert Slack channel and I thought this was supported, but wanted to make 100% sure. The answer is yes – fully supported. So let’s go through how I made this happen.
- From the DR Workloads tab, let’s click on the Discovery button –
- From here, our source is going to be our same site, which is SiteA/Org1, which should show host in parenthesis.
- Let’s select my test vApp, which is properly named “vApp_test” for this exercise.
- Now our destination is the same vCD instance, or SiteA/Org1. Let’s select it –
- We can now see the other org VDC available, which is my Org1-Gold-oVDC. This is the only selection available as we cannot move it to the same oVDC and I do not have more than two oVDC’s inside of this organization. From here, we can also select the Storage Profile, Target PRO, and if we want to add in any Point-in-Time instances along with data connection type.
- Once we click finish, we get our setup screen…
- We can now see the vApp is being configured and in the “Protecting” status.
- Complete! All green and in the “Protected” state so it’s ready for migration over to my destination oVDC.
- Let’s go ahead and click Failover and get the confirmation window on what we want to do. I can select the DR Network (I didn’t set up networking for this test) and if I want to turn on the target VM.
- We can now see the status has changed to “Failing Over” –
- From my vCD instance, I can see the vApp being imported…
- Source/Original vApp is being powered off..
- Under Tasks on the vCAv portal, I can see the migration tasks underway –
- Complete! We have successfully migrated over the vApp to the new orgVDC. We also see the original/source vApp was completely powered off, or in the Stopped state.
- In conclusion, very simple and intuitive to migrate between the same vCD instance. Theoretically, you could deploy this at a single site and use this for local migration.
Protecting a workload between two sites
- So let’s cover migration between the two sites – SiteA and SiteB. In this exercise, we will be protecting a workload in SiteB and protecting it to SiteA. This is very similar to our exercise above (migrating between the same site) while we are selecting the paired site for protection.
- Let’s go ahead and click on Discovery and select our source site (SiteB) –
- Now we can select our vApp that we will be protecting to SiteA –
- Select our destination, which mine is SiteA/Org1 –
- From our final screen, we can select the appropriate oVDC, storage profile, and my target RPO. For this exercise, I’ll be adding in some Point-in-Time instances too. Click OK and let’s get to protecting…
- I tried to grab the transition log, but it was too fast. But I do see the initial replication succeeded along with my protected vApp showing “Protected” – awesome!
- I also like the event pop up we get when something changes. We can see this in the above screenshot that shows my newest protected vApp is good to go.
Testing the protected workload
- Testing is the ability to bring up the protected workload at the destination site in an isolated network of your choosing – this allows the application owner to verify everything is operational and could be used for regulatory purposes too.
- Testing is pretty easy – it can be orchestrated from either site (source or destination) and it’s with a click of a button –
- We get the confirmation screen and the choice of our test network we want to utilize. Once I hit the Start button, I can see the status changes to “Failover Testing Initializing.”
- On my SiteA, I can see within the logs the failover testing is underway while we have a transition of a vApp inside of SiteA –
- Alright, now it shows Failover Test Ready which is great. Now, my app owner can test their app on the destination and verify functionality.
- One of the nice additions is the quick launch buttons on the test workload – we can hover over the two icons and see quick launch buttons to get to each site. Very nice addition.
- Finally, when our testing is done, we can click the Cleanup button to remove the test VM and go back to our normal, Protected state. Pretty straightforward.
Edit Options on protected workload
- Clicking the Edit button provides us with the ability to make changes to a current protected workload –
- From the options pane, we can see the following –
- We get our standard RPO slider – from 5 minutes to 24 hour RPO selection – while providing the ability to keep point-in-time instances for further retention.
- Moreover, all traffic is encrypted but we can also further optimize by compressing data. Very similar to vSphere Replication, the replicators will attempt to compress the data to minimize network traffic.
- Last of all, we have the ability to quiesce the operating system by using VMware Tools.
- In our last example, we will fail over my core-B vApp from SiteB to SiteA. Failover can be done from either site (especially important if I lost my source site) and very straightforward.
- Let’s select Failover from the UI –
- As discussed before, our standard options and what network we want to select.
- We can see it transitioned to Failing Over…
- Voila! Failed over. Now we can click the quick launch shortcut and start doing whatever we need to do.
- Another thing to note – even with a failed over workload, we can reverse the replication and reprotect it back to our original site, assuming the site is still operational. This is done by selecting the Reverse button. Now, this will show as outgoing from my SiteA to SiteB.
That’s it, folks! My hope is this was informational for any providers that are considering to utilize Cloud to Cloud for migration and DR needs for their multi-site vCloud Director environments. It’s a great tool and is very intuitive for our tenants and providers.