beautypg.com

2 testing and starting the clog package – HP Linux Server Management Software User Manual

Page 66

background image

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=
CLOG_PKG_LOG_VOL=
CLOG_PKG_FS=
CLOG_PKG_MNT_OPT=
CLOG_PKG_FS_TYPE=
CLOG_PKG_IP=
CLOG_PKG_SUBNET=
CLOG_SYSTEM_LOG_CONSOLIDATION_DIR=
CLOG_SERVICEGUARD_PACKAGE_LOG_CONSOLIDATION_DIR=
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