You can install or update the VMware Aria Operations for Logs 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 VMware Aria Operations for Logs Agent Installation on Linux.
  • Log in as root or use sudo to run console commands.
  • The VMware Aria Operations for Logs Linux agent needs access to syslog and networking services to function. Install and run the VMware Aria Operations for Logs Linux agent on runlevels 3 and 5. If you want the VMware Aria Operations for Logs Linux agent to work under other runlevels, configure the system appropriately.

Procedure

  1. You can install or upgrade an agent from the console.
    • To install the VMware Aria Operations for Logs Linux agent with default configuration settings, open a console and run the following command.
       rpm -i VMware-Log-Insight-Agent-<version-and-build-number>.rpm	  
    • To upgrade the agent without changing current configuration settings, open a console and run the following command.
       rpm -Uhv VMware-Log-Insight-Agent-<version-and-build-number>.rpm
  2. (Optional) You can override the default configuration values for installation or the current configuration values during an update. You do this by specifying options as part of the install or upgrade command.
    sudo <OPTION=value> rpm -i <version-and-build-number>.rpm
  3. (Optional) Verify the installed version by running the following command.
    rpm -qa | grep Log-Insight-Agent 

Example: Linux Agent Install and Update Examples

  • The following command installs the VMware Aria Operations for Logs agent for a Linux RPM distribution. It installs the agent on a separate server, assigns a non-default port number, and creates a VMware Aria Operations for Logs 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