To prepare for sending log data from the Workspace ONE Access appliance to vRealize Log Insight, install and configure the vRealize Log Insight agent on the Workspace ONE Access appliance.
UI Procedure
Download the vRealize Log Insight agent.
- Log in to the standalone Workspace ONE Access appliance at <standalone_workspace_one_access_fqdn>:22 by using a SecureShell (SSH) client as sshuser.
Switch to the root user.
su
Download and install the vRealize Log Insight agent .rpm file.
curl -k -o /tmp/liagent.rpm https://<vrealize_log_insight_fqdn>/api/v1/agent/packages/types/rpm; rpm -Uvh /tmp/liagent.rpm
Configure the vRealize Log Insight agent.
Configure the vRealize Log Insight agent to start automatically.
systemctl enable liagentd
Edit the vRealize Log Insight agent configuration file by using a text editor.
vi /var/lib/loginsight-agent/liagent.ini
In the [server] section, modify the following parameters and save the file.
[server] hostname=<vrealize_log_insight_fqdn> proto=cfapi port=9000 ssl=no
Restart the vRealize Log Insight agent.
systemctl restart liagentd
Verify the status of the vRealize Log Insight agent.
systemctl status liagentd
PowerShell Procedure
Start Windows 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 = "administrator@vsphere.local" $sddcManagerPass = "VMw@re1!" $wsaVmName = "sfo-wsa01" $wsaRootPassword = "VMw@re1!"
Perform the configuration by running the command in the PowerShell console.
Install-vRLIPhotonAgent -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -vmName $wsaVmName -vmRootPass $wsaRootPassword