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

Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3222
Step 5. Validate that log forwarding is working properly. If consolidating the
cluster’s local syslogs, use logger
<test message>
and make sure this
message is in the consolidated syslog.log. If you are not consolidating
local logs, use the logger command from a log forwarding client.
Note that logger messages are first sent to the local syslogd, which
forwards them to syslog-ng. By default, syslogd suppresses duplicate
messages. If you issue multiple logger test messages, make sure each is
unique. The logger message should appear in the consolidated
syslog.log located in the directory specified in the
/etc/syslog-ng.conf.server file. For the examples above, that
directory would be /clog/syslog/syslog.log.
If consolidating package logs for this cluster, any package actions that
generate package log information, such as a package failover, should
cause a consolidated package log to appear in /clog/packages.
Using VxVM
Instead of LVM
The default clog package script template assumes that you are using
LVM based storage. To use VxVM storage instead, you must edit the
clog package script under /etc/cmcluster/clog/clog. Comment out
the LVM Volume Group line “VG[0]=“xxx””, uncomment the line
VXVM_DG[0]=”, and enter the VxVM Disk Group.
Manually Configuring Log Forwarding Clients
In configuring a log forwarding client, you can configure it as a
standalone system or as a Serviceguard cluster. For each case, you set up
both syslogd and syslog-ng.
Manually
Configuring a
Standalone Log
Forwarding Client
Step 1. Start by configuring the standard syslogd to co-exist with a syslog-ng
forwarder.
a. By default, syslogd listens for incoming log messages on UDP port
514. If you want to forward this systems syslogs, syslog-ng must
listen on UDP port 514. Edit /etc/rc.config.d/syslogd and
change SYSLOGD_OPTS to add the -N switch which prevents syslogd
from listening on port 514. For example:
SYSLOGD_OPTS=“-D -N”