How to set up NetApp SRA with VMware SRM?
search cancel

How to set up NetApp SRA with VMware SRM?

book

Article ID: 415886

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

This article provides detailed instructions for configuring NetApp Storage Replication Adapter (SRA) with VMware Site Recovery Manager (SRM).

Environment

  • Site Recovery Manager 8.x
  • Site Recovery Manager 9.x
  • VMware Live Site Recovery 9.x

Resolution

After you have deployed ONTAP Tools, follow these steps to set up SRA with SRM:

  1. Add vCenter Server instances to ONTAP tools
    • Open a web browser and go to the URL: https://<ONTAPtoolsIP>:8443/virtualization/ui/
    • Log in with the ONTAP tools for VMware vSphere administrator credentials you provided during deployment.
    • Select vCenters > Add to onboard the vCenter Server instances.
    • Provide your vCenter IP address or hostname, username, password, and port details.
    • In advanced options, fetch the vCenter Server certificate automatically (authorize it) or upload it manually.

  2. Register the VASA Provider with a vCenter Server instance using ONTAP tools
    • Log in to the vSphere client.
    • Select Shortcuts NetApp ONTAP tools under the plug-ins section.
    • Select Settings VASA Provider settings. The ONTAP tools displays the VASA Provider registration status as not registered.
    • Select the Register button to register the VASA Provider.
    • Enter a name and credentials for the VASA Provider. The username can only contain letters, numbers, and underscores. Set the password length between 8 and 256 characters.
    • Select Register.
    • After a successful registration and page refresh, ONTAP tools display the registered VASA Provider's status, name, and version.

  3. Verify that the onboarded VASA Provider is listed under VASA Provider from the vCenter client:
    • Go to the vCenter Server instance.
    • Log in with the administrator credentials.
    • Select Storage Providers > Configure. Verify that the onboarded VASA Provider is listed correctly.

  4. Configure SRA on the VMware Live Site Recovery appliance.
    • Download the .tar.gz file from the NetApp Support Site.
    • Enable SRA services in ONTAP tools Manager. For more information, refer the Enable services section.
    • Add vCenter Servers to the ONTATP tools for VMware vSphere appliance. For more information, refer the Add vCenter Servers section.
    • Add storage backends to ONTAP tools for VMware vSphere. For more information, refer the Add storage backends section.
    • On the VMware Live Site Recovery appliance screen, select Storage Replication Adapter > New Adapter.
    • Upload the .tar.gz file to VMware Live Site Recovery.
    • Log in to the VMware Live Site Recovery appliance using an administrator account through an SSH client such as PuTTY.
    • Switch to the root user using the command: su root
    • Run the command cd /var/log/vmware/srm to go to the log directory.
    • At the log location, enter the command to get the Docker ID used by SRA: docker ps -l
    • To log in to the container ID, enter the command: docker exec -it -u srm <container id> sh
    • Configure VMware Live Site Recovery with ONTAP tools for VMware vSphere IP address and password using the command: 
      perl command.pl -I --otv-ip <OTV_IP>:8443 --otv-username <Application username> --otv-password <Application password> --vcenter-guid <VCENTER_GUID>
      • Provide the password in single quotes so the Perl script treats special characters as part of the password, not as delimiters.
      • You can set the application (VASA Provider/SRA) username and password in ONTAP tools Manager when enabling these services for the first time. Use these credentials to register SRA with VMware Live Site Recovery.
      • To locate the vCenter GUID, go to the vCenter Server page in ONTAP tools Manager after adding your vCenter instance. Refer to Add vCenter Servers section.
    • Rescan the adapters to confirm that the updated details appear on the VMware Live Site Recovery Storage Replication Adapters page.

Additional Information

Add vCenter Server instances to ONTAP tools

Register the VASA Provider with a vCenter Server instance using ONTAP tools

Configure SRA on the VMware Live Site Recovery appliance