Mike Dent (the “doctor”) over at Etherbacon did a great walk through on how to setup Data Protection when utilizing the Acropolis Hypervisor. I wanted to go walk through how to setup Data Protection when you are using ESXi as the hypervisor, and how to failover to another Nutanix Cluster (remote site).
- Setup the “Remote Site” in Prism.
- Prism | Data Protection
- Click on “Remote Site”
- Fill in the remote site name – I typically use “SiteName-DR” and remote cluster IP Address
- On the settings page, you are given the options for Bandwidth Throttling, compression and mappings. You will notice when utilizing ESXi, you are not given the option for Network Mapping. Once complete, click “save”.
- Create Protection Domain
- Click on “Protection Domain” and select “Async DR”
- Enter a Protection Domain Name –
- On the Entities page, select the virtual machines you would like to protect. Two things to note on this page. A). Make sure when you select your VM’s to scroll down 0n the screen and click “Protect Entities”. B) I would recommend installing Nutanix Guest Tools on the virtual machines that you machines if you are utilizing “application consistent snapshots” – NGT is a little more efficient when it comes to taking the snap of the VM – otherwise it will use the VMware Tools to snap the VM.
- On the Schedule Page, you can create the schedule for your Protection Domain. Currently (as of 01/27/2015) the shortest amount of time between snaps is 1 hour. Because we want to send this protection domain to our remote site, be sure to put a check mark in the remote site box. On the Retention Policy side of the box, select how many snaps you would like to keep local and how many you want on the remote side.
Once configured a snapshot will be taken. You will also notice after the initial snapshot has been taken the replication to DR will begin.
Failover to DR
At some point, you will want/need to fail over to your DR environment. To do so, using ESXi, complete the following steps.
- Select “Data Protection” on the menu screen
- Select the Data Protection group you would like to migrate to the remote site | Click Migrate
- Since Nutanix allows you to replicate to multiple sites, you can now choose which site you would like to migrate the VM to.
- Once you click migrate, it will take a snapshot and replicate it to DR and bring up the VM at the DR Site. You will notice that the machines you migrated will now show up as “orphaned” in vCenter. This is expected.
- To bring the machine into production at DR, you will need to change the Network port group to the port group used at DR.
- To bring the machine back to Production, log into the DR cluster, Data Protection and select the Data Protection Group. You can now follow steps 2 and 3 from this section
When the DR situation is complete and you have migrated back to the production site, you will again notice that the VM is now orphaned at the DR site. At this point, since it has been migrated back to production, you can delete the orphaned VM.
The below video will show how to migrate a VM from one site to a remote site, and then back.
In this walk through, we have completed the following items:
- Created a Remote Site under Data Protection
- Protected Virtual Machines
- Created a DR Schedule
- Failed over to the Remote Site
- Failed back to Production