Default Reasoning

Construction of sensible guesses when some useful information is lacking and no contradictory evidence is present…

  • Subscribe

  • Disclaimer

    This blog is personal. The views and opinions expressed here represent my own and not those of the people, institutions or organizations that I may or may not be related with unless stated explicitly. All blog post, white papers and manuals were written during the projects, mostly at a customer site and are scenario specific. Use at your own risk.
  • Meta

How To: VMware Site Recovery Manager 5 – Part 10 (Final): Migration and Failover

Posted by Marek.Z on 4 June 2012

So far we covered almost any aspect of the VMware vCenter Site Recovery Manager. We have prepared and set up the infrastructure, paired the sites, configured the VR replication, set up inventory mappings, created a protection group, configured a recovery plan and performed a test failover. In this part we will perform a planned migration and an unplanned failover from the Protected Site to the Recovery Site to simulate a disaster recovery scenario. But first, let’s define both scenarios.

What is a planned migration?

“Planned migration enables you to migrate the workloads from the protected site to the recovery site with minimal risk of data loss. A planned migration will stop if there is an error in the workflow giving you an opportunity to fix it.”

What is an unplanned failover?

“Unplanned failover is a disaster recovery event where the connection between the sites has been lost. Unplanned failover will not stop if any errors are encountered in the workflow. This provides the quickest recovery time during a disaster event.”

Initiate Planned Migration

  1. Open the Site Recovery Manager on the Protected Site, click on the Recovery Plans in the left pane, select your recovery plan and click on the red Recovery button.
  2. Read the info in the Recovery Confirmation window, check the “I understand that this process will permanently alter the virtual machine and infrastructure of both the protected and recovery datacenters.” box and make sure that Planned Migration is selected under the Recovery Type. Click Next to continue.
  3. Review the info and click on Start to start the recovery process.
  4. Switch over to the Recovery Steps tab to see the progress.
  5. When the recovery process completes, you should see a message as depicted in the screenshot below.
  6. Notice that the VMs on the Protected Site are powered off and on the Recovery Site, powered on.

Initiate Unplanned Failover

This process is very similar to the one performed with the Planned Migration but in this case the Protection Site is not available.

  1. On the Protected Site, simulate a disaster by powering off the vCenter Server and the ESXi hosts containing the protected VMs.
  2. On the Recovery Site, open the Site Recovery Manager, navigate to Recovery Plans and press the red Recovery button, just like in the previous step.
  3. By now you should get a warning stating that the connection to the vCenter Server at the Protected Site has been lost.
  4. In the Recovery Confirmation window, notice that the Planned Migration is now grayed out. Select the “I understand that this process will permanently alter the virtual machine and infrastructure of both the protected and recovery datacenters.” option and click Next to proceed.
  5. Review the settings and press Start to begin the recovery process.
  6. Switch over to the Recovery Steps tab and monitor the progress. Notice the errors stating that the connection to the remote server is down. Despite the failure the recovery process continues. The VMs should be up and running in couple of minutes.

If the unplanned migration and failover process both complete successfully, your SRM implementation is properly configured. Congratulations! :)

This concludes the series about implementing and configuring the VMware vCenter Site Recovery Manager 5. I really like the product and I had a lot of fun building the lab, implementing and configuring SRM but also writing the blog posts. I hope you enjoyed the series as well.

Cheers!

- Marek.Z

About these ads

6 Responses to “How To: VMware Site Recovery Manager 5 – Part 10 (Final): Migration and Failover”

  1. Sam A said

    Excellent article. Can you please one PDF with all 10 parts? TIA!

  2. Hamurabi said

    Good one indeed.
    May suggest you covering up the cleanup and reprotection steps?

    • Marek.Z said

      Hi,

      Well, cleanup is just a push of a button and it’s done. Re-protection on the other hand is only available with Array Based replication and since I was using vSphere Replication I wasn’t able to cover this.

      Thanks for visit.

      Cheers!

  3. Gr8 series! This PDF idea is brilliant. Very good job Marek!

    • Marek.Z said

      Thanks, much appreciated :)

      I’m currently working on a new series on another awesome VMware product :) but I’ll see if I can find some spare time to convert the blog into a pdf.

      Cheers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 428 other followers

%d bloggers like this: