After installation of the vRealize Log Insight Linux Agent, configure the agent on the Skyline Collector virtual appliance to collect and forward events to vRealize Log Insight in Region A.
On the Skyline Collector virtual appliance in Region A, to configure the agent with the location of the vRealize Log Insight deployment in the region, update the liagent.ini configuration file.
Procedure
- Open an SSH connection to the Skyline Collector virtual appliance using the following settings.
Setting |
Value |
Hostname |
sfo01sky01.sfo01.rainpole.local |
User name |
root |
Password |
skyline_root_password |
- Edit the liagent.ini file on Skyline Collector using a text editor such as vi.
vi /var/lib/loginsight-agent/liagent.ini
- Locate the
[server]
section, remove the comment for the following parameters and insert the following values.
[server]
; Log Insight server hostname or ip address
; If omitted the default value is LOGINSIGHT
hostname=sfo01vrli01.sfo01.rainpole.local
; Set protocol to use:
; cfapi - Log Insight REST API
; syslog - Syslog protocol
; If omitted the default value is cfapi
proto=cfapi
; Log Insight server port to connect to. If omitted the default value is:
; for syslog: 512
; for cfapi without ssl: 9000
; for cfapi with ssl: 9543
port=9000
; ssl - enable/disable SSL. Applies to cfapi protocol only.
; Possible values are yes or no. If omitted the default value is no.
ssl=no
; Time in minutes to force reconnection to the server
; If omitted the default value is 30
; reconnect=30
- Press Escape and enter :wq! to save the file.
- Restart the vRealize Log Insight agent on the virtual appliance.
/etc/init.d/liagentd restart
- Verify that the vRealize Log Insight agent is running on the virtual appliance.
/etc/init.d/liagentd status