|
| 1 | +--- |
| 2 | +title: Test disaster recovery for Azure NetApp Files | Microsoft Docs |
| 3 | +description: Enhance your disaster recovery preparedness with this test plan for cross-region replication. |
| 4 | +services: azure-netapp-files |
| 5 | +documentationcenter: '' |
| 6 | +author: b-ahibbard |
| 7 | +manager: '' |
| 8 | +editor: '' |
| 9 | + |
| 10 | +ms.assetid: |
| 11 | +ms.service: azure-netapp-files |
| 12 | +ms.workload: storage |
| 13 | +ms.tgt_pltfrm: na |
| 14 | +ms.topic: how-to |
| 15 | +ms.date: 11/30/2022 |
| 16 | +ms.author: anfdocs |
| 17 | +--- |
| 18 | + |
| 19 | +# Test disaster recovery for Azure NetApp Files |
| 20 | + |
| 21 | +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. |
| 22 | + |
| 23 | +This disaster recovery test workflow uses [cross-region replication](cross-region-replication-introduction.md). 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](snapshots-restore-new-volume.md) in cross-region replication. |
| 24 | + |
| 25 | +## Pre-requisites |
| 26 | + |
| 27 | +* 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. |
| 28 | + |
| 29 | + The [Azure Application Consistent Snapshot tool](azacsnap-cmd-ref-configure.md) can be used to create application consistent snapshots. |
| 30 | + |
| 31 | + >[!NOTE] |
| 32 | + >If the data in the snapshot is not consistent, the disaster recovery workflow or test workflow may not work properly. |
| 33 | + |
| 34 | +* Cross-region replication must be set up. The [replication status must be healthy](cross-region-replication-display-health-status.md). |
| 35 | + |
| 36 | +## Steps |
| 37 | + |
| 38 | +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. |
| 39 | + |
| 40 | +1. [Prepare Azure virtual machines (VMs) in the secondary region](cross-region-replication-create-peering.md). You must configure: |
| 41 | + * The operating system |
| 42 | + * Application |
| 43 | + * User accounts |
| 44 | + * DNS |
| 45 | + * Any other resources required to run the application in the secondary region |
| 46 | +1. [Create new volumes from the most recent snapshots](snapshots-restore-new-volume.md) replicated to the Azure NetApp Files data protection volumes in the secondary region. |
| 47 | + >[!NOTE] |
| 48 | + > Cross-region replication baseline snapshots cannot be used to create volumes. |
| 49 | +1. [Mount the volumes](azure-netapp-files-mount-unmount-volumes-for-virtual-machines.md) to the application VMs from Step 1 |
| 50 | +1. Run the application in the secondary region. Test the application's functionality. |
| 51 | +1. Bring down the application in the secondary region. |
| 52 | +1. Unmount the volumes from the application VM in the secondary region. |
| 53 | +1. Delete the volumes created from the snapshot in step 2. |
| 54 | +1. Bring down the Azure VM in the secondary region. Clean up any resources configured to support the disaster recovery testing. |
| 55 | + |
| 56 | +## Next steps |
| 57 | + |
| 58 | +* [How Azure NetApp Files snapshots work](snapshots-introduction.md) |
| 59 | +* [Cross-region replication of Azure NetApp Files volumes](cross-region-replication-introduction.md) |
| 60 | +* [Requirements and considerations for using cross-region replication](cross-region-replication-requirements-considerations.md) |
| 61 | +* [Troubleshoot cross-region replication](troubleshoot-cross-region-replication.md) |
| 62 | +* [What is Azure Application Consistent Snapshot tool](azacsnap-introduction.md) |
0 commit comments