Exercise - Run a disaster recovery drill

Completed

Azure Site Recovery is flexible enough to support many different recovery scenarios. You can choose to fail over individual machines or our entire infrastructure with recovery plans. The flexibility enables you to simulate various disasters, like losing only part of your infrastructure. Multiple recovery plans can be defined to allow for all the different kinds of disaster drills you want to run.

With Site Recovery in place, the head of Operations has asked you to test how long it takes to fail over all your infrastructure. You've investigated the different options, and decided to create a recovery plan so that you can fail over all the VMs. With the plan in place, you'll run a test failover and monitor its progress.

In this exercise, you'll complete the steps needed to run a DR drill using a recovery plan on the portal.

Note

For Azure Site Recovery to efficiently function, a minimum memory of 1 GB is required on each VM.

Create a recovery plan

  1. Sign in to the Azure portal with your credentials.

  2. On the home page, select All resources.

  3. From the list of resources, select the Recovery Services vault named asr-vault.

  4. On the left menu pane, select Recovery Plans (Site Recovery) under Manage.

  5. In the top menu bar, select Recovery plan. The Create recovery plan pane appears.

  6. Enter the following values for each setting:

    Setting Value
    Name asr-dr-drill
    Source West US 2
    Target East US 2
  7. Select Resource Manager in the Allow items with deployment model drop-down.

  8. Select the Select items link. The Select items pane appears.

  9. Select your company's two VMs, and then select OK. The Create recovery plan reappears.

    Screenshot showing the create recovery plan panes, including the selection screen for virtual machines.

  10. Select Create. The Recovery Plans (Site Recovery) pane reappears.

    Note

    It can happen that the configuration fails. If the configuration fails, delete the plan and create a new plan.

Run a test failover using a recovery plan

  1. View the details of the recovery plan you previously created by selecting asr-dr-drill.

    Screenshot showing the created disaster recovery plan.

    The Recovery Services vault pane named asr-dr-drill appears.

  2. In the top menu bar, select Test failover.

    Screenshot showing the recovery plan details, highlighting the Test failover button.

    The Test failover pane appears.

  3. Enter the following values for each setting:

    Important

    The network configuration failover support for each VM can take several minutes to auto-configure as each VM also needs to complete an initial synchronization. Running a failover test may not be available immediately.

    For Failover direction:

    Setting Value
    Failover direction
    From West US 2
    To* East US 2
    Recovery Point
    Choose a recovery point From the dropdown list, select Latest (Lowest RPO)
    Azure virtual network From the dropdown list, select asr-vnet-asr.
  4. To begin the failover, select OK.

    Screenshot of the test failover options.

Monitor failover progress

  1. Select the Notifications icon, then select the Test failover of 'asr-dr'drill' is in progress link to view the status of your failover test jobs.

    Screenshot of the test failover jobs showing their status.

    You'll use the information on this pane to report back to the Ops manager that an Azure failover for your company's current infrastructure will take less than three minutes to complete. These jobs are running in parallel (rather than a simple sum of all of jobs), to work out the total of time taken.

  2. After all the jobs have completed successfully, select Virtual machines from the Azure home page.

    Screenshot showing all the current VMs, the original patient-records, and hr-records. Also the newly created patient-records-test and hr-records-test.

  3. Select one of the new test VMs.

  4. In the left menu pane, under Settings, select Networking, and then select Topology. You'll see an image similar to the following:

    Screenshot showing the network topology of the new failed over VMs.

    Note

    Both the patient-records and hr-records VMs have been failed over by Site Recovery. The VMs are running in their own disaster recovery virtual network.

  5. After you're satisfied with the test results, make sure to capture any notes about the test outcome. You'll now switch back to your asr-dr-drill site recovery plan, and in the top menu bar, select Cleanup test failover to delete the replicated VMs.

    Screenshot showing text.

  6. To complete the cleanup process, select the Testing is complete checkbox, then select OK. This step can take a few minutes to complete.