Test disaster recovery using cross-region replication for Azure NetApp Files

An effective disaster recovery plan includes testing your disaster recovery configuration. Testing your disaster recovery configuration demonstrates the efficacy of your disaster recovery configuration and that it can achieve the desired recovery point objective (RPO) and recovery time objective (RTO). Testing disaster recovery also ensures that operational runbooks are accurate and that operational staff are trained on the workflow.

This disaster recovery test workflow uses cross-region replication. With cross-region replication, you can test your disaster recovery understanding and preparedness without disrupting the existing replication schedule, posing no risk to RPO or RTO. This test plan also leverages Azure NetApp Files' ability to create new volumes from the snapshots in cross-region replication.

Pre-requisites

  • Application consistent snapshots should be created in the volumes hosted in the primary region. Application data hosted in Azure NetApp Files volumes must be in a consistent state prior to the creation of the snapshot.

    The Azure Application Consistent Snapshot tool can be used to create application consistent snapshots.

    Note

    If the data in the snapshot is not consistent, the disaster recovery workflow or test workflow may not work properly.

  • Cross-region replication must be set up. The replication status must be healthy.

Steps

Given the uniqueness of each application architecture, there's no specific workflow to test your disaster recovery workflow. The outlined steps are a high-level overview for disaster recovery testing.

  1. Prepare Azure virtual machines (VMs) in the secondary region. You must configure:
    • The operating system
    • Application
    • User accounts
    • DNS
    • Any other resources required to run the application in the secondary region
  2. Create new volumes from the most recent snapshots replicated to the Azure NetApp Files data protection volumes in the secondary region.

    Note

    Cross-region replication baseline snapshots cannot be used to create volumes.

  3. Mount the volumes to the application VMs from Step 1
  4. Run the application in the secondary region. Test the application's functionality.
  5. Bring down the application in the secondary region.
  6. Unmount the volumes from the application VM in the secondary region.
  7. Delete the volumes created from the snapshot in step 2.
  8. Bring down the Azure VM in the secondary region. Clean up any resources configured to support the disaster recovery testing.

Next steps