Before you can activate sending log data from the Site Recovery Manager and vSphere Replication appliances to VMware Aria Operations for Logs, download and upgrade the VMware Aria Operations for Logs agent for Linux on the Site Recovery Manager and vSphere Replication appliances in each VMware Cloud Foundation instance.

Procedure

  1. Activate SSH access on the Site Recovery Manager appliance for the protected VMware Cloud Foundation instance.

    1. Log in to the Site Recovery Manager appliance configuration interface at https://<srm_fqdn>:5480 as admin.
    2. In the left navigation pane, click Access and, in the SSH panel, click Enable.

  2. Download the VMware Aria Operations for Logs agent on the Site Recovery Manager appliance for the protected VMware Cloud Foundation instance.

    1. Log in to the Site Recovery Manager appliance at <srm_fqdn>:22 by using a SecureShell (SSH) client as sshuser.
    2. Switch to the root user by running the command.

      su
    3. Download and upgrade the VMware Aria Operations for Logs Agent .rpm file.

      curl -k -o /tmp/liagent.rpm https://<aria_operations_logs_fqdn>/api/v1/agent/packages/types/rpm; rpm -Uvh /tmp/liagent.rpm
  3. Configure the VMware Aria Operations for Logs agent on the Site Recovery Manager appliance for the protected VMware Cloud Foundation instance.

    1. Configure the VMware Aria Operations for Logs agent to start automatically.

      systemctl enable liagentd
    2. Edit the liagent.ini file by using a text editor such as vi.

      vi /var/lib/loginsight-agent/liagent.ini
    3. In the [server] section, modify the following parameters, and save the file.

      [server] 
      hostname=<aria_operations_logs_fqdn>
      proto=cfapi
      port=9000
      ssl=no
    4. Restart the VMware Aria Operations for Logs agent.

      systemctl restart liagentd
    5. Verify the status of the VMware Aria Operations for Logs agent.

      systemctl status liagentd
  4. Deactivate SSH access on the Site Recovery Manager appliance for the protected VMware Cloud Foundation instance.

    1. Log in to the Site Recovery Manager appliance configuration interface at https://<srm_fqdn>:5480 as admin.
    2. In the left navigation pane, click Access and, in the SSH panel, click Disable.

  5. Repeat steps 1 to 4 for the Site Recovery Manager appliance for the recovery VMware Cloud Foundation instance.

  6. Activate SSH access on the vSphere Replication appliance for the protected VMware Cloud Foundation instance.

    1. Log in to the vSphere Replication appliance configuration interface at https://<vrms_fqdn>:5480 as admin.
    2. In the left navigation pane, click Access and, in the SSH panel, click Enable.

  7. Download the VMware Aria Operations for Logs agent on the vSphere Replication appliance for the protected VMware Cloud Foundation instance.

    1. Log in to the vSphere Replication appliance at <vrms_fqdn>:22 by using a SecureShell (SSH) client as admin.
    2. Switch to the root user by running the command.

      su
    3. Download and upgrade the VMware Aria Operations for Logs agent .rpm file.

      curl -k -o /tmp/liagent.rpm https://<aria_operations_logs_fqdn>/api/v1/agent/packages/types/rpm; rpm -Uvh /tmp/liagent.rpm
  8. Configure the VMware Aria Operations for Logs agent on the vSphere Replication appliance for the protected VMware Cloud Foundation instance.

    1. Configure the VMware Aria Operations for Logs agent to start automatically.

      sudo systemctl enable liagentd
    2. Edit the liagent.ini file by using a text editor such as vi.

      vi /var/lib/loginsight-agent/liagent.ini
    3. In the [server] section, modify the following parameters, and save the file.

      [server] 
      hostname=<aria_operations_logs_fqdn>
      proto=cfapi
      port=9000
      ssl=no
    4. Restart the VMware Aria Operations for Logs agent.

      systemctl restart liagentd
    5. Verify the status of the VMware Aria Operations for Logs agent.

      systemctl status liagentd
  9. Deactivate SSH access on the vSphere Replication appliance for the protected VMware Cloud Foundation instance.

    1. Log in to the vSphere Replication appliance configuration interface at https://<vrms_fqdn>:5480 as admin.
    2. In the left navigation pane, click Access and, in the SSH panel, click Disable.

  10. Repeat steps 6 to 9 for the vSphere Replication appliance for the recovery VMware Cloud Foundation instance.