Edit

Re-establish deleted volume replication relationships in Azure NetApp Files (preview)

Azure NetApp Files allows you to re-establish a replication relationship between two volumes in case you had previously deleted it. This condition occurs if the source volume had become unavailable and you are replicating a source volume to two destination volumes with cross-zone-region replication. While reversing the replication direction, the second replication relationship cannot continue to exist and needs to be deleted. After the source volume is available again, and the reverse resync has completed, you can return to normal operation and re-establish the relationship from the destination volume.

If the destination volume remains operational and no snapshots were deleted, the replication re-establish operation uses the last common snapshot. The operation incrementally synchronizes the destination volume based on the last known good snapshot. In this condition, a baseline snapshot isn't required.

Considerations

  • You can only re-establish relationships when there's a common snapshot on source and destination volumes generated either manually or by a snapshot policy.

Register the feature

The re-establish deleted volume replication relationships capability is currently in preview. If you're using this feature for the first time, you need to register the feature first.

  1. Register the feature by running the following commands:

    az account set --subscription <subscriptionId>
    az feature register --namespace Microsoft.NetApp --name ANFReestablishReplication
    
  2. Check the status of the feature registration:

    Note

    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.

    az feature show --namespace Microsoft.NetApp --name ANFReestablishReplication
    

You can also use Azure CLI commands az feature register and az feature show to register the feature and display the registration status.

Re-establish the relationship

  1. From the Volumes menu under Storage service, select the volume that was formerly the destination volume in the replication relationship you want to re-establish. Then select the Replication tab.
  2. In the Replication tab, select the Re-establish button. Screenshot of volume menu that depicts no existing volume relationships. A red box surrounds the re-establish button.
  3. A dropdown list appears with a selection of all volumes that formerly had either a source or destination replication relationship with the selected volume. From the dropdown menu, select the volume you want to reestablish a relationship with. Select OK to reestablish the relationship. Screenshot of a dropdown menu with available volume relationships to restore.

Next steps