You can install or update the vRealize Log Insight Linux agent as a root or non-root user and you can set configuration parameters during installation. After installation, you can verify the installed version.
Prerequisites
- Read about installation defaults and how to change them at Command-line Options for vRealize Log Insight Agent Installation on Linux.
- Log in as root or use sudo to run console commands.
- The vRealize Log Insight Linux agent needs access to syslog and networking services to function. Install and run the vRealize Log Insight Linux agent on runlevels 3 and 5. If you want the vRealize Log Insight Linux agent to work under other runlevels, configure the system appropriately.
Procedure
Example: Linux Agent Install and Update Examples
- The following command installs the vRealize Log Insight agent for a Linux RPM distribution. It installs the agent on a separate server, assigns a non-default port number, and creates a vRealize Log Insight agent user.
sudo SERVERHOST=myagentserver SERVERPORT=1234 LIAGENTUSER=liagent rpm -i VMware-Log-Insight-Agent-44.1234.rpm
- The following command updates the agent with the given rpm file. Current agent configuration is unchanged.
rpm -Uhv VMware-Log-Insight-Agent-44.1234.rpm