Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3212
If consolidating the local syslogs, add:
CLOG_SYSLOG=1
otherwise add:
CLOG_SYSLOG=0
For a standalone consolidator, add the following:
CLOG_SYSTEM_LOG_CONSOLIDATION_DIR=<consolidated log directory/syslog>
CLOG_SERVICEGUARD_PACKAGE_LOG_CONSOLIDATION_DIR=<consolidated log
directory/packages>
Add the following two values that are used by the System File
Viewer:
CLOG_LAYOUTS_DIR=/var/opt/dsau/layouts
CLOG_ADDITIONAL_LOG_DIRS[0]=/var/adm/syslog
Test the configuration by performing the following steps:
1. Run /opt/dsau/sbin/syslog-ng with the -s or --syntax-only
option to verify the syntax of the /etc/syslog-ng.conf file.
This should be a symbolic link to /etc/syslog-ng.conf.server
as described above.
2. Start syslog-ng using /sbin/init.d/syslog-ng start.
3. If consolidating the local syslogs, use logger
<test message>
and make sure this message is in the consolidated syslog.log.
If you are not consolidating the local logs, use the logger
command from a log forwarding client. Note that the logger
messages are first sent to the local syslog which forwards them
to syslog-ng. syslogd by default suppresses duplicate
messages. If you issue multiple logger test messages, make sure
each is unique.
Manually
Configuring a
Serviceguard
Cluster as a Log
Consolidation
Server
Configuring a Serviceguard cluster as a log consolidation server is
similar to the steps for a single system. All cluster members must be up
and accessible before proceeding.