Distributed Systems Administration Utilities User's Guide

1. If syslog messages were being forwarded to the log consolidator, edit
/etc/rc.config.d/syslogd and change SYSLOGD_OPTS to remove the -N switch. For
example,
SYSLOGD_OPTS=-D
2. Edit the systems /etc/syslog.conf file to remove the following lines:
mail.debug @fully qualified hostname
*.info;mail.none @fully qualified hostname
where fully qualified hostname is the fully qualified hostname of this system.
NOTE: A <tab> precedes each @ sign.
3. Stop and restart syslogd with the following commands:
#/sbin/init.d/syslogd stop
#/sbin/init.d/syslogd start
4. Stop syslog-ng with the following command:
# /sbin/init.d/syslog-ng stop
This stops the syslog-ng daemon and also ssh port forwarding if configured.
5. Edit the /etc/rc.config.d/syslog-ng file and change the CLOG_CONFIGURED line to
the following:
CLOG_CONFIGURED=0
Remove all other CLOG lines except for the following:
CLOG_LAYOUTS_DIR=/var/opt/dsau/layouts
CLOG_ADDITIONAL_LOG_DIRS[0]=/var/adm/syslog
6. If ssh port forwarding had been configured, remove the following line from /etc/
services:
clog_ssh port/tcp # Consolidated logging with ssh port forwarding
3.4.4 Disabling a Serviceguard Cluster Log Forwarding Client
Perform the following steps to disable log forwarding. Complete these steps on each cluster
member:
1. If syslog messages were being forwarded to the log consolidator, edit /etc/rc.config.d/
syslogd and change SYSLOGD_OPTS to remove the -N switch. For example,
SYSLOGD_OPTS=-D.
2. Edit the system’s /etc/syslog.conf file to remove the following lines:
mail.debug @fully qualified hostname
*.info;mail.none @fully qualified hostname
where fully qualified hostname is the fully qualified hostname of this system.
NOTE: A <tab> precedes each @ sign.
3. Stop and restart syslogd with the following commands:
# /sbin/init.d/syslogd stop
# /sbin/init.d/syslogd start
4. Stop syslog-ng:
# /sbin/init.d/syslog-ng stop
This stops the syslog-ng daemon, stops ssh port forwarding if configured, and stops
package log forwarding if configured.)
3.4 Disabling Log Consolidation 77