Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3220
Step 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
Now, you need to distribute the package files clusterwide. To do this, do
the following steps:
Step 1. Distribute the package files clusterwide. First, create the package
directory on all the other members:
# cexec mkdir /etc/cmcluster/clog
Step 2. Copy the package control script and package ASCII configuration file:
# ccp clog clog.conf /etc/cmcluster/clog/
Step 3. Update the /etc/rc.config.d/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 such as -o rw,largefiles>
CLOG_PKG_FS_TYPE=<file system type>
CLOG_PKG_IP=<IP address of the clog package>
CLOG_PKG_SUBNET=<subnet of the clog package’s 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
Step 4. .Distribute it cluster-wide:
# ccp /etc/rc.config.d/syslog-ng /etc/rc.config.d/
Testing and
Starting the clog
Package
Before starting the package, test the configuration thus far: