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
-
Activate SSH access on the Site Recovery Manager appliance for the protected VMware Cloud Foundation instance.
- Log in to the Site Recovery Manager appliance configuration interface at https://<srm_fqdn>:5480 as admin.
-
In the left navigation pane, click Access and, in the SSH panel, click Enable.
-
Download the VMware Aria Operations for Logs agent on the Site Recovery Manager appliance for the protected VMware Cloud Foundation instance.
- Log in to the Site Recovery Manager appliance at <srm_fqdn>:22 by using a SecureShell (SSH) client as sshuser.
-
Switch to the root user by running the command.
su
-
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
-
Configure the VMware Aria Operations for Logs agent on the Site Recovery Manager appliance for the protected VMware Cloud Foundation instance.
-
Configure the VMware Aria Operations for Logs agent to start automatically.
systemctl enable liagentd
-
Edit the liagent.ini file by using a text editor such as vi.
vi /var/lib/loginsight-agent/liagent.ini
-
In the
[server]
section, modify the following parameters, and save the file.[server] hostname=<aria_operations_logs_fqdn> proto=cfapi port=9000 ssl=no
-
Restart the VMware Aria Operations for Logs agent.
systemctl restart liagentd
-
Verify the status of the VMware Aria Operations for Logs agent.
systemctl status liagentd
-
-
Deactivate SSH access on the Site Recovery Manager appliance for the protected VMware Cloud Foundation instance.
- Log in to the Site Recovery Manager appliance configuration interface at https://<srm_fqdn>:5480 as admin.
-
In the left navigation pane, click Access and, in the SSH panel, click Disable.
-
Repeat steps 1 to 4 for the Site Recovery Manager appliance for the recovery VMware Cloud Foundation instance.
-
Activate SSH access on the vSphere Replication appliance for the protected VMware Cloud Foundation instance.
- Log in to the vSphere Replication appliance configuration interface at https://<vrms_fqdn>:5480 as admin.
-
In the left navigation pane, click Access and, in the SSH panel, click Enable.
-
Download the VMware Aria Operations for Logs agent on the vSphere Replication appliance for the protected VMware Cloud Foundation instance.
- Log in to the vSphere Replication appliance at <vrms_fqdn>:22 by using a SecureShell (SSH) client as admin.
-
Switch to the root user by running the command.
su
-
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
-
Configure the VMware Aria Operations for Logs agent on the vSphere Replication appliance for the protected VMware Cloud Foundation instance.
-
Configure the VMware Aria Operations for Logs agent to start automatically.
sudo systemctl enable liagentd
-
Edit the liagent.ini file by using a text editor such as vi.
vi /var/lib/loginsight-agent/liagent.ini
-
In the
[server]
section, modify the following parameters, and save the file.[server] hostname=<aria_operations_logs_fqdn> proto=cfapi port=9000 ssl=no
-
Restart the VMware Aria Operations for Logs agent.
systemctl restart liagentd
-
Verify the status of the VMware Aria Operations for Logs agent.
systemctl status liagentd
-
-
Deactivate SSH access on the vSphere Replication appliance for the protected VMware Cloud Foundation instance.
- Log in to the vSphere Replication appliance configuration interface at https://<vrms_fqdn>:5480 as admin.
-
In the left navigation pane, click Access and, in the SSH panel, click Disable.
-
Repeat steps 6 to 9 for the vSphere Replication appliance for the recovery VMware Cloud Foundation instance.