Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3228
port apply to this port. For details, refer to “Configuring a Log
Consolidation Standalone Server with clog_wizard” on page 192.
(Note that the ssh port chosen should be a free port on all cluster
members). Non-interactive secure shell authentication must be set up
between each member of this cluster and the log consolidator (can use
/opt/dsau/bin/csshetup tool for the configuration). For details,
refer to “ssh Port Forwarding” on page 235.
If using the TCP protocol without ssh port forwarding, replace
<%IP%> with the IP address of the log consolidation server and
<%PORT%> with TCP port chosen on the log consolidator used for log
consolidation.
Step 3. The syslog-ng startup procedure, /sbin/init.d/syslog-ng, relies on
several configuration variables. Edit /etc/rc.config.d/syslog-ng as
follows:
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, add:
CLOG_SSH=0
otherwise, if using the UDP protocol, add:
CLOG_TCP=0
If consolidating the local syslogs, add:
CLOG_SYSLOG=1
otherwise add:
CLOG_SYSLOG=0