|
| 1 | +--- |
| 2 | +title: Configure dual-target replication for Azure NetApp Files |
| 3 | +description: Describes how to manage disaster recovery by using Azure NetApp Files cross-region replication. |
| 4 | +services: azure-netapp-files |
| 5 | +author: b-ahibbard |
| 6 | +ms.service: azure-netapp-files |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 11/20/2024 |
| 9 | +ms.author: anfdocs |
| 10 | +--- |
| 11 | +# Configure dual-target replication for Azure NetApp Files (preview) |
| 12 | + |
| 13 | +Azure NetApp Files supports volume cross-zone and cross-region replication on the same source volume. |
| 14 | + |
| 15 | +## Requirements |
| 16 | + |
| 17 | +- Dual-target replication supports creating two replication relationships for a source relationship: cross-zone replication, cross-region replication, or a combination. |
| 18 | +- Dual-target replication volumes must abide by the same requirements and considerations as individual [cross-zone replication](cross-zone-replication-requirements-considerations.md) and [cross-region replication](cross-region-replication-requirements-considerations.md) volumes. |
| 19 | + |
| 20 | +## Register the feature |
| 21 | + |
| 22 | +Cross-zone region replication for Azure NetApp Files is currently in preview. You need to register the feature before using it for the first time. Feature registration may take up to 60 minutes to complete. |
| 23 | + |
| 24 | +1. Register the feature |
| 25 | + |
| 26 | + ```azurepowershell-interactive |
| 27 | + Register-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFOneToTwoReplication |
| 28 | + ``` |
| 29 | +
|
| 30 | +2. Check the status of the feature registration: |
| 31 | +
|
| 32 | + > [!NOTE] |
| 33 | + > The **RegistrationState** may be in the `Registering` state for up to 60 minutes before changing to `Registered`. Wait until the status is `Registered` before continuing. |
| 34 | +
|
| 35 | + ```azurepowershell-interactive |
| 36 | + Get-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFOneToTwoReplication |
| 37 | + ``` |
| 38 | +You can also use [Azure CLI commands](/cli/azure/feature) `az feature register` and `az feature show` to register the feature and display the registration status. |
| 39 | +
|
| 40 | +## Configure replication |
| 41 | +
|
| 42 | +1. On the source volume: |
| 43 | + - **If you're using an existing volume:** [populate it with an availability zone](manage-availability-zone-volume-placement.md#populate-an-existing-volume-with-availability-zone-information). |
| 44 | + - **If you're creating a new volume:** [create it with an availability zone](manage-availability-zone-volume-placement.md#create-a-volume-with-an-availability-zone). |
| 45 | +
|
| 46 | +1. Under Properties, take note of the source volume’s resource ID. The source volume's resource ID is required to complete the next two steps. |
| 47 | +1. [Create the cross-zone replication destination volume](create-cross-zone-replication.md#create-the-data-replication-volume-in-another-availability-zone-of-the-same-region). |
| 48 | +1. [Create the cross-region replication destination volume](cross-region-replication-create-peering.md#create-the-data-replication-volume-the-destination-volume). |
| 49 | +1. [Authorize data replication from the source volume](cross-region-replication-create-peering.md#authorize-replication-from-the-source-volume). |
| 50 | +1. In the source volume’s menu, select **Replication**. Confirm there are two volumes listed under **Destination volumes**. |
| 51 | +
|
| 52 | +
|
| 53 | +## Next steps |
| 54 | +
|
| 55 | +* [Cross-region replication](cross-region-replication-introduction.md) |
| 56 | +* [Requirements and considerations for using cross-region replication](cross-region-replication-requirements-considerations.md) |
| 57 | +* [Display health status of replication relationship](cross-region-replication-display-health-status.md) |
| 58 | +* [Volume replication metrics](azure-netapp-files-metrics.md#replication) |
| 59 | +* [Manage disaster recovery](cross-region-replication-manage-disaster-recovery.md) |
| 60 | +* [Delete volume replications or volumes](cross-region-replication-delete.md) |
| 61 | +* [Troubleshoot cross-region-replication](troubleshoot-cross-region-replication.md) |
0 commit comments