Skip to main content
ONTAP tools for VMware vSphere 10

Configure SRA on the VMware Live Site Recovery appliance

Contributors netapp-jani

After deploying the VMware Live Site Recovery appliance, configure the Storage Replication Adapter (SRA) to enable disaster recovery management.

Configuring SRA on the VMware Live Site Recovery appliance saves the ONTAP tools for VMware vSphere credentials within the appliance, enabling communication between VMware Live Site Recovery and SRA.

Before you begin
  • 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.

Steps
  1. On the VMware Live Site Recovery appliance screen, select Storage Replication Adapter > New Adapter.

  2. Upload the .tar.gz file to VMware Live Site Recovery.

  3. Log in to the VMware Live Site Recovery appliance using an administrator account through an SSH client such as PuTTY.

  4. Switch to the root user using the command: su root

  5. Run the command cd /var/log/vmware/srm to navigate to the log directory.

  6. At the log location, enter the command to get the docker ID used by SRA: docker ps -l

  7. To log in to the container ID, enter the command: docker exec -it -u srm <container id> sh

  8. 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.

  9. Rescan the adapters to confirm that the updated details appear on the VMware Live Site Recovery Storage Replication Adapters page.

Results

A confirmation message appears indicating that the storage credentials have been saved. SRA can now communicate with the SRA server using the specified IP address, port, and credentials.