How To: VMware Site Recovery Manager 5 – Part 9: Recovery Plans

The protection group is now configured and the VMs are replicating to the Protected Site. The next step in the SRM deployment is to configure a recovery plan.

“A recovery plan is an automated plan for a full or partial disaster recovery failover.”

In other words, a recovery plan is like a runbook which is based on a protection group. The SRM recovery plan consists of the following:

  • List of protected VMs included in the protection group
  • Startup order for the VMs
  • Custom steps if applicable

A recovery plan for the Protected Site needs to be created at the Recovery Site. You can also create multiple recovery plans based on the disaster scenario. So, let us create a simple recovery plan for the VMs in the protection group configured in the previous part.

Configure Recovery Plan

  1. On the Protected Site, go to the Site Recovery Manager, select the Recovery Plans in the left pane and click on Create Recovery Plan.
  2. In the Create Recovery Plan wizard select the Recovery Site and click Next.
  3. Select the Protection Group created earlier and click Next.
  4. In the Test Network window, select the appropriate network at the Recovery Site. Choose the Auto setting to create a dedicated private network for testing purposes. You can also choose a network from the drop down menu if you have manually created a dedicated test network at the Recovery Site. In this case I’m going to leave it to the default Auto setting. Click Next to proceed.
  5. In the next window, provide a convenient name and description of the recovery plan and click Next.
  6. Review the settings and click Finish to close the wizard.

Modify Recovery Plan

Our basic recovery plan is now created, we can now configure some advanced features and properties of the recovery plan. These steps are not mandatory but take a look and play around with the settings to get a better understanding of the product.

  1. Select the recovery plan created in the previous step. Notice that the action bar above will now display some additional actions like Test, Cleanup, Recovery, Reprotect and Cancel.
  2. Select the Virtual Machines tab. Select a random VM and click Configure Recovery.
  3. In the properties window you can modify the settings for this particular VM like IP settings on the Protected Site and the Recovery Site, the priority group this VM belongs, dependencies of other VMs, shutdown actions, and startup actions, pre-power on steps and post-power on steps.
  4. Take a look at the recovery steps under the Recovery Steps tab en review the recovery steps that will be executed during a recovery. You can view the Test , Cleanup, Recovery and Reprotect steps from the View drop down menu.

Test Recovery Plan

Okay, so everything is set up for a test. Let’s give it a try.

  1. With the recovery plan still selected, click on the (blue) Test button on the action pane.
  2. Review the info provided by the test wizard. Uncheck the “Replicate recent changes to recovery site” and press the Next button. Note, in the real world scenario, leave the “Replicate recent changes to recovery site” option selected.
  3. Once again, review the info and press the Start button to start the failover test operation.
  4. To view the progress of the test, select the Recovery Steps tab.
  5. The test should complete successfully and the VMs should be up and running at the Recovery Site. The test is completed and you should see the following message as depicted in the screenshot.
  6. Great, the recovery plan runs without any errors. Now it’s time for a cleanup. 🙂
  7. Click on the Cleanup button in the action pane, read the cleanup information and press Next.
  8. Review the cleanup information and click Start to execute the cleanup process. Wait until the cleanup process completes. When it’s ready the status of the recovery plan should read Ready under the Summary tab.

OK, the basic recovery plan that we configured and modified in this part works without any errors. In the next part we will take a look at a planned migration and a failover process during a disaster recovery scenario. Click here to continue to part 10.

Cheers!

– Marek.Z

Be the first to comment

Leave a reply...