Install the Log Insight Windows Agent by using the Windows Command Prompt and provide configuration parameters.

For MSI command-line options, see the Microsoft Developer Network (MSDN) Library Web site and search for MSI command-line options.

Verify that you have a copy of the Log Insight Windows Agent .msi file.To download the Log Insight Windows Agent .msi file, navigate to the Administration page of the Log Insight Web user interface, in the Management section click Agents, and click the Download Log Insight Windows agent link.

Verify that you have permissions to perform installations and start services on the Windows machine.

If you use the silent installation options /quiet or /qn, verify that you run the installation as an administrator. If you run silent installation as a non-administrator, the installation will not prompt for administrator privileges and will fail. Use the logging option and parameters /lxv* file_name for diagnostic purposes.

1

Log in to the Windows machine on which you want to install the Log Insight Windows Agent.

2

Open a Command Prompt window.

3

Change to the directory where you have the Log Insight Windows Agent .msi file.

4

Run the following command :

Drive:\path-to-msi_file>VMware-vCenter-Log-Insight-Agent-*.msi and replace * with your version and build number.

5

(Optional) Specify a user service account under which the Log Insight Windows Agent service will run.

Drive:\path-to-msi_file>VMware-vCenter-Log-Insight-Agent-*.msi SERVICEACCOUNT=.\user SERVICEPASSWORD=user_password

Note

The account supplied in the SERVICEACCOUNT parameter must have the Log On As a Service privilege and full write access to %ProgramData%\VMware\Log Insight Agent directory for the installer to execute correctly. If you do not specify a SERVICEACCOUNT parameter, the Log Insight Windows Agent service is installed under the LocalSystem service account.

6

(Optional) Enter the Log Insight server, port, and protocol.

Parameter

Description

SERVERHOST

The IP address or host name of the Log Insight virtual appliance.

SERVERPROTO

The protocol that the Log Insight Windows Agent uses to send events to the Log Insight server. The possible values are cfapi and syslog. VMware recommends using the default cfapi setting.

SERVERPORT

The port number depends on the value of SERVERPROTO. The default value for SERVERPORT is 9000, which corresponds to the default SERVERPROTO=cfapi. Use SERVERPORT=514 for SERVERPROTO=syslog.

The command-line parameters correspond to hostname, proto, and port in the [server] section of the liagent.ini file.

7

Press Enter.

The command installs the Log Insight Windows Agent as a Windows service. The Log Insight Windows Agent service starts automatically when you start the Windows machine.

Verify that the command-line parameters you set are applied correctly in the liagent.ini file. See Configuring Log Insight Windows Agent After Installation.