Skip to main content
Pure1 Support Portal

Web Guide: Pure Storage FlashArray Storage Replication Adapter Version 3.0 Quick Start Guide

This is a quick start guide for getting the Storage Replication Adapter installed for both the Linux and Windows Site Recovery Manager Server.  As well as getting started with using SRM with ActiveCluster and async replication.  This is not a comprehensive user guide, just a getting started guide.

Installation

The Pure Storage SRA must be installed on both the SRM protected site and the SRM recovery site. Note: SRM must be installed on both sites before the adapter is installed.

Download the Pure Storage SRA

Download the adapter from the VMware Solutions Exchange Marketplace:

Install the Pure Storage SRA

SRA on Windows SRM Server

Follow these steps to install the Pure Storage Replication Adapter on a Windows SRM server:

  1. Double-click on the downloaded Pure Storage SRA installer. The installation wizard welcome screen opens.
    1. Click Next
  2. Read the End User Agreement and click the check box to accept the terms of the license agreement.
    1. Click Next
  3. The Destination Folder screen opens. The installation directory is determined by the SRM installation and cannot be changed.
    1. Click Install Now
  4. If the SRA installation is interrupted or encounters errors during the .NET Framework download, manually download and install the required .NET Framework, then restart the SRA installation process. See Prerequisite Tasks.
  5. On the Installing screen, wait while the adapter files are installed. When the file transfer is complete, the Finish button is enabled.
    1. Click Finish to exit the installer

SRA on Linux SRM Appliance

Follow these steps to install the Pure Storage Replication Adapter on the Linux SRM server:

  1. Open the downloaded zip file.  Verify the Pure Storage SRA adapter for Linux tar file.
  2. Go to SRM Appliance Management UI in the browser. By default, the URL is https://<IP-of-SRM>:5480
  3. Login as an admin to the SRM Appliance Management.
  4. Navigate to the “Storage Replication Adapters” tab
  5. Click on “NEW ADAPTER” and upload the Linux-based Pure Storage Site Replication Adapter.  
    1. After installing the SRA to the Linux SRM Server an error that the SRA Upload failed may appear.  There is a issue with the SRM Server that after the SRA has installed the SRM browser session is closed.  Refresh the SRM page after the failure shows and the SRA will show up as installed. 

      sra-install.png
  6. You will see the valid version number of the SRA upon successful upload.
    SRA 3.0.154 on SRM Appliance.png

ActiveCluster

FlashArray replication configuration

To get started, please refer to the Replication documentation included with Purity, to get a storage pod stretched across both arrays on the Protected and Recovery sites.

Sync replication needs to be set up across the two arrays, and the pods you intend to use should be set to replicate volumes on both sides.

Datastores should then be created on the pod on the protected site, and should be accessible to hosts and clusters on the remote side, although it isn’t generally recommended to have live VMs using datastores on both sides for the purpose of SRM.

Using the vSphere plugin, datastores can be created directly on pods by naming the volume with the format “podname::volumename”. 

VMware configuration

NOTE: To use the vMotion feature of SRM using ActiveCluster, the participating vCenters must be in Enhanced Link Mode. Please refer to the vCenter documentation.

NOTE: To use SRM using ActiveCluster, you need an SRM Enterprise license to enable the use of Storage Policy Protection Groups (SPPG), which are required to create Recovery Plans using SRM.

NOTE: These instructions are for the HTML5 GUI available as of SRM 8.1. The instructions for the older Adobe Flex based interface should be similar.

To use ActiveCluster and SRM together, a Storage Policy Protection Group (SPPG) is required. A SPPG requires a defined Storage Policy, and to link datastores and VMs to storage policies, you can use the tagging mechanism inside vSphere.

Creating datastore tags

In order to use ActiveCluster and SRM together, protection groups need to be created using a Storage Policy Protection Group (SPPG). To do that, we need to create a tag that can be applied to datastores to mark it as part of a storage policy

  1. Go to Menu > Tags & Custom Attributes
    datastore-tag-1.png
  2. Click on the (+) icon and add a new tag:
    datastore-tag-2.png
  3. Click on Create New Category, and make sure at least Datastore is checked under Associable Object Types:
    datastore-tag-3.png

Creating the storage policy

Now, we need to create a storage policy that uses those tags.

  1. Go to Menu > Policies and Profiles, and click on VM Storage Policies on the side bar, and click on Create VM Storage Policy
    create-policy-1.png
  2. Give it a name, optional description, and choose Virtual Volumes or traditional storage for Storage type, and click NEXT:
    create-policy-2.png
  3. In the Policy Structure step, choose Enable tag based placement rules, and click NEXT:
    create-policy-3.png
  4. Under Tag based placement, choose the category you created earlier for Tag category, and click BROWSE TAGS to choose the tag you created
    create-policy-4.png
  5. If you have not tagged any datastores yet, the Storage compatibility page should be empty. If you have, they should show up here. Click NEXT, and then FINISH.

The storage policy is now defined and ready to be used.

Applying tags to datastores, and policies to VMs

Now that we have a tag and a storage policy, we need to apply them to datastores and VMs

  1. Under Menu, go to Storage

    Apply-tags-1.png
  2. Click on the FlashArray VMFS stretched datastore that you would like to tag, and go to ACTIONS > Tags & Custom Attributes > Assign Tag
    Apply-tags-2.png
  3. Assign the tag that was created earlier to the datastore
  4. Now, for each datastore, go into the VMs tab, and right click on each VM you would like protected, and go to VM Policies > Edit VM Policies…
    Apply-tags-3.png
  5. Choose the VM storage policy that you had created earlier, and click OK. If any errors occur here, it means that the datastore wasn’t tagged correctly.

The VMs assigned to the storage policy will now be protected when we create a protection group using this storage policy.

Creating the site pair

To configure the SRA, we must now go to the Site Recovery Manager.

  1. Under Menu, click Site Recovery, and open the site recovery manager on one side. Both sites will appear here if the vCenters are configured to use the same PSC
    Site-Pair-1.png 
  2. Follow the steps outlined in the VMware install guide to get the site pair set up.
  3. Under the site pair that the SRA is installed on, click VIEW DETAILS, then go to Configure > Array Based Replication > Array Pairs
    Site-Pair-2.png
  4. Click on + ADD to add a new array pair
  5. Choose the Pure Storage FlashArray SRA
    Site-Pair-3.png
  6. For each array manager, you will need to enter the address, username, and password for the local and peer FlashArrays (once for each direction, so on the remote array manager, the addresses will be reversed). Also give the array manager a name:
    Site-Pair-4.png
  7. After both arrays are completed, select the array pair, and click FINISH.

Site pair mappings

  1. In the Site Recovery Manager home page, on the site pair that you have configured, click on VIEW DETAILS
    Site-pair-mappings-1.png
  2. Under Configure, configure all of the mappings as required for the protected and recovery sides depending on your configuration
    site-pair-mappings-2.png

NOTE: There must be mappings for all of these items in order for failover to work. For a reverse failover, make sure Reverse Mapping Exists shows “Yes” for each of these mappings.

Creating the recovery plan

  1. In the same Site Pair view, click on the Protection Group tab
    create-recovery-plan-1.png
  2. Follow the wizard to create a Storage Policy Protection Group. When prompted for the Type, select Storage policies (array-based replication), and select the policy that you have created
    create-recovery-plan-2.png
    1. Stretched storage requires that you use a Storage Policy Protection Group

  3. Create a recovery plan when prompted, and click FINISH

Executing failover operations

Now that a recovery plan is created, under the Recovery Plans tab in the Site Recovery Manager, you can now execute a Test Failover using the clipboard_e7602b87705927f9877993509c9154e09.png icon, or a planned failover or a disaster recovery using the clipboard_e946aaf2fe581696dfd7cca895f139903.png icon.


exec-failover-ops-1.png

Asynchronous replication

FlashArray replication configuration

To set up replication on Purity, please refer to the Replication documentation included with Purity.

The replication type between two arrays can be set to either synchronous or asynchronous (it should be set to synchronous if you want to later use synchronous replication).

Volumes that you wish to be replicate should be placed in a protection group that has a replication policy on the other array.

VMware configuration

Creating the site pair

To configure the SRA, we must now go to the Site Recovery Manager.

  1. Under Menu, click Site Recovery, and open the site recovery manager on one side. Both sites will appear here if the vCenters are configured to use the same PSC
    async-site-pair-1.png
  2. Follow the steps outlined in the VMware install guide to get the site pair set up.
  3. Under the site pair that the SRA is installed on, click VIEW DETAILS, then go to Configure > Array Based Replication > Array Pairs
    async-site-pair-2.png
  4. Click on + ADD to add a new array pair
  5. Choose the Pure Storage FlashArray SRA
    async-site-pair-3.png
  6. For each array manager, you will need to enter the address, username, and password for the local and peer FlashArrays (once for each direction, so on the remote array manager, the addresses will be reversed). Also give the array manager a name:
    async-site-pair-4.png
  7. After both arrays are completed, select the array pair, and click FINISH.
  8. If you have datastores that are currently replicated, go to Configure > Array Based Replication > Array Pairs, click on the array pair, and click on DISCOVER DEVICES to make sure it shows up on the list.

Site pair mappings

  1. In the Site Recovery Manager home page, on the site pair that you have configured, click on VIEW DETAILS

    async-site-pair-mapping-1.png
  2. Under Configure, configure all of the mappings as required for the protected and recovery sides depending on your configuration
    async-site-pair-mapping-2.png

NOTE: There must be mappings for all of these items in order for failover to work. For a reverse failover, make sure Reverse Mapping Exists shows “Yes” for each of these mappings.

NOTE: As storage policies aren’t required for asynchronous replication, you do not need a storage policy mapping if you do not intend on using a storage policy.

Creating the recovery plan

  1. In the same Site Pair view, click on the Protection Group tab
    async-create-recovery-plan-1.png
  2. Follow the wizard to create the protection group. When prompted for the Type, select Datastore groups (array-based replication), and select the replicated datastores you wish to protect:
    async-create-recovery-plan-2.png
  3. Create a recovery plan when prompted, and click FINISH

Executing failover operations

Now that a recovery plan is created, under the Recovery Plans tab in the Site Recovery Manager, you can now execute a Test Failover using the clipboard_e7da878b1dcf5a08d5b172d61447bf9ac.png icon, or a planned failover or a disaster recovery using the clipboard_eb12add9aca4e560b67e0860573880eae.png icon.

async-execute.png

Related Knowledge Articles