Distributed Systems Administration Utilities User's Guide, Linux, March 2009

7. Find the line “FS_FSCK_OPT[0]=<%SG_PKG_FS_FSCK_OPT%> and replace the token
with any filesystem specific fsck options. The token can be deleted and this option left blank.
For example:
FS_FSCK_OPT[0]=
8. Find the line “IP[0]=<%SG_PKG_IP%>” and replace the token with the IP address of
the clog package. For example:
IP[0]= 192.119.152.3
9. Find the line SUBNET[0]=<%SG_PKG_SUBNET%> and replace the token with the subnet
for the packages IP address. Use netstat -i to help determine the subnet. For example:
SUBNET[0]= 192.119.152.0
10. Find the lines that contain the <%SG_PKG_SGCONF%> token. Replace each token with the
full path to the Serviceguard package configuration directory. The Serviceguard package
configuration directory is defined as SGCONF in the file /etc/cmcluster.conf.
You next need to distribute the package files clusterwide. To do this, perform the following steps:
1. First, create the package directory on all the other members:
# cexec mkdir $SGCONF/clog
2. Copy the package control script and package ASCII configuration file:
# ccp clog clog.conf $SGCONF/clog/
3. Update the /etc/sysconfig/syslog-ng file, by adding the following lines:
CLOG_PKG_VOL_GRP=<LVM volume group>
CLOG_PKG_LOG_VOL=<logical volume (full path)>
CLOG_PKG_FS=<filesystem mount point where the consolidated logs are stored>
CLOG_PKG_MNT_OPT=<file systems mount options >
CLOG_PKG_FS_TYPE=<file system type>
CLOG_PKG_IP=<IP address of the clog package>
CLOG_PKG_SUBNET=<subnet of the clog packages IP address>
CLOG_SYSTEM_LOG_CONSOLIDATION_DIR=<file system mount point/syslog>
CLOG_SERVICEGUARD_PACKAGE_LOG_CONSOLIDATION_DIR=<file system mount point/packages>
CLOG_PKG_RETRY_TIMES=1
CLOG_PKG_MONITOR_INTERVAL=5
4. Distribute it clusterwide:
#
# ccp /etc/sysconfig/syslog-ng /etc/sysconfig/
3.3.2.2.2 Testing and Starting the clog Package
Before starting the package, test the configuration thus far:
66 Consolidated Logging