To start sending logs from the clustered Workspace ONE Access to VMware Aria Operations for Logs, install and configure the VMware Aria Operations for Logs agent on each Workspace ONE Access node.
UI Procedure
Download the VMware Aria Operations for Logs agent.
- Log in to the first node of the clustered Workspace ONE Access at <first_workspace_one_access_fqdn>:22 by using a SecureShell (SSH) client as sshuser.
Switch to the root user by running the command.
su
Download and install the .rpm file by running the command.
curl -k -o /tmp/liagent.rpm https://<aria_operations_for_logs_fqdn>/api/v1/agent/packages/types/rpm; rpm -Uvh /tmp/liagent.rpm
Configure the VMware Aria Operations for Logs agent.
Configure the VMware Aria Operations for Logs agent to start automatically by running the command.
systemctl enable liagentd
Edit the liagent.ini file by using vi.
vi /var/lib/loginsight-agent/liagent.ini
In the
[server]
section, modify the following parameters and save the file.[server] hostname=<aria_operations_for_logs_fqdn> proto=cfapi port=9000 ssl=no
Restart the VMware Aria Operations for Logs agent by running the command.
systemctl restart liagentd
Verify the running status of the VMware Aria Operations for Logs agent.
systemctl status liagentd
Repeat this procedure for the remaining nodes of the clustered Workspace ONE Access.
PowerShell Procedure
Start PowerShell.
Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "[email protected]" $sddcManagerPass = "VMw@re1!" $vmNameNode1 = "xint-wsa01a" $vmNameNode2 = "xint-wsa01b" $vmNameNode3 = "xint-wsa01c" $vmRootPass = "VMw@re1!"
Perform the configuration by running the command in the PowerShell console.
Install-vRLIPhotonAgent -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -vmName $vmNameNode1 -vmRootPass $vmRootPass Install-vRLIPhotonAgent -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -vmName $vmNameNode2 -vmRootPass $vmRootPass Install-vRLIPhotonAgent -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -vmName $vmNameNode3 -vmRootPass $vmRootPass