Muokkaa

Jaa


Create volume replication for Azure NetApp Files

This article shows you how to set up cross-region replication by creating replication peering.

Setting up replication peering enables you to asynchronously replicate data from an Azure NetApp Files volume (source) to another Azure NetApp Files volume (destination). The source volume and the destination volume must be deployed in separate regions. The service level for the destination capacity pool can match that of the source capacity pool, or you can select a different service level.

Azure NetApp Files replication does not currently support multiple subscriptions; all replications must be performed under a single subscription.

Before you begin, ensure that you have reviewed the requirements and considerations for using cross-region replication.

Locate the source volume resource ID

You need to obtain the resource ID of the source volume that you want to replicate.

  1. Go to the source volume, and select Properties under Settings to display the source volume resource ID.
    Locate source volume resource ID

  2. Copy the resource ID to the clipboard. You will need it later.

Create the data replication volume (the destination volume)

You need to create a destination volume where you want the data from the source volume to be replicated to. Before you can create a destination volume, you need to have a NetApp account and a capacity pool in the destination region.

  1. The destination account must be in a different region from the source volume region. If necessary, create a NetApp account in the Azure region to be used for replication by following the steps in Create a NetApp account.
    You can also select an existing NetApp account in a different region.

  2. If necessary, create a capacity pool in the newly created NetApp account by following the steps in Create a capacity pool.

    You can also select an existing capacity pool to host the replication destination volume.

    The service level for the destination capacity pool can match that of the source capacity pool, or you can select a different service level.

  3. Delegate a subnet in the region to be used for replication by following the steps in Delegate a subnet to Azure NetApp Files.

  4. Create the data replication volume by selecting Volumes under Storage Service in the destination NetApp account. Then select the + Add data replication button.

    Add data replication

  5. In the Create a Volume page that appears, complete the following fields under the Basics tab:

    • Volume name
    • Capacity pool
    • Volume quota

      Note

      The volume quota (size) for the destination volume should mirror that of the source volume. If you specify a size that is smaller than the source volume, the destination volume is automatically resized to the source volume size.

    • Virtual network
    • Subnet

    For details about the fields, see Create an NFS volume.

  6. Under the Protocol tab, select the same protocol as the source volume.
    For the NFS protocol, ensure that the export policy rules satisfy the requirements of any hosts in the remote network that will access the export.

  7. Under the Tags tab, create key/value pairs as necessary.

  8. Under the Replication tab, paste in the source volume resource ID that you obtained in Locate the source volume resource ID, and then select the desired replication schedule. There are three options for the replication schedule: every 10 minutes, hourly, and daily.

    Create volume replication

  9. Select Review + Create, then select Create to create the data replication volume.

    Review and create replication

Authorize replication from the source volume

To authorize the replication, you need to obtain the resource ID of the replication destination volume and paste it to the Authorize field of the replication source volume.

  1. In the Azure portal, navigate to Azure NetApp Files.

  2. Go to the destination NetApp account and destination capacity pool where the replication destination volume is located.

  3. Select the replication destination volume, go to Properties under Settings, and locate the Resource ID of the destination volume. Copy the destination volume resource ID to the clipboard.

    Properties resource ID

  4. In Azure NetApp Files, go to the replication source account and source capacity pool.

  5. Locate the replication source volume and select it. Navigate to Replication under Storage Service then select Authorize.

    Authorize replication

  6. In the Authorize field, paste the destination replication volume resource ID that you obtained in Step 3, then select OK.

    Note

    Due to various factors, such as the state of the destination storage at a given time, there’s likely a difference between the used space of the source volume and the used space of the destination volume.

Next steps