3.The
a.Change the CLOG_CONFIGURED line to:
CLOG_CONFIGURED=1
b.Add the following lines:
CLOG_CONSOLIDATOR=0
CLOG_CONS_IP=IP address of the log consolidator
c.If using the TCP protocol add the following lines:
CLOG_TCP=1
CLOG_TCP_PORT=log consolidation server tcp port
If using ssh port forwarding add:
CLOG_SSH=1
CLOG_SSH_PORT=ssh port chosen otherwise , use:
CLOG_SSH=0
otherwise, if using the UDP protocol, use:
CLOG_TCP=0
If consolidating the local syslogs, use:
CLOG_SYSLOG=1 otherwise, use:
CLOG_SYSLOG=0
4.When using TCP with ssh port forwarding, record the ssh port number you chose above in the /etc/services file. For example, add the line:
clog_ssh 1776/tcp | # Consolidated logging with ssh port forwarding |
Add this line to the /etc/services file of this system.
5.Test the configuration by performing the following steps:
a.
b.Start
c.If consolidating the local syslogs, use “logger
3.3.2.3.2 Manually Configuring a Serviceguard Cluster as a Log Forwarding Client
Configuring a Serviceguard cluster as a log forwarding client is similar to configuring a single system. All cluster members must be up and accessible before proceeding. You will first configure syslogd, then
Create the configuration files described below on every cluster member. The simplest approach is to completely configure one member and then copy each configuration file
68 Consolidated Logging