directory, by default. You can use a text editor, such as vi, or the more command to view the log file for historical information on your cluster.

It is always a good idea to review the syslog.log file on each of the nodes in the cluster when troubleshooting cluster problems.

This log provides information on the following:

Commands executed and their outcome.

Major cluster events which may, or may not, be errors.

Cluster status information.

NOTE: Many other products running on HP-UX in addition to Serviceguard use the syslog.log file to save messages. The HP-UX System Administrator’s Guide provides additional information on using the system log.

Sample System Log Entries

The following entries from the file /var/adm/syslog/syslog.log show a package that failed to run due to a problem in the pkg5_run script. You would look at the pkg5_run.log for details.

Dec 14 14:33:48 star04 cmcld[2048]: Starting cluster management protocols.

Dec 14 14:33:48 star04 cmcld[2048]: Attempting to form a new cluster

Dec 14 14:33:53 star04 cmcld[2048]: 3 nodes have formed a new cluster

Dec 14 14:33:53 star04 cmcld[2048]: The new active cluster membership is: star04(id=1) , star05(id=2), star06(id=3)

Dec 14 17:33:53 star04 cmlvmd[2049]: Clvmd initialized successfully.

Dec 14 14:34:44 star04 CM-CMD[2054]: cmrunpkg -v pkg5

Dec 14 14:34:44 star04 cmcld[2048]: Request from node star04 to start package pkg5 on node star04.

Dec 14 14:34:44 star04 cmcld[2048]: Executing '/etc/cmcluster/pkg5/pkg5_run start' for package pkg5.

Dec 14 14:34:45 star04 LVM[2066]: vgchange -a n /dev/vg02

Dec 14 14:34:45 star04 cmcld[2048]: Package pkg5 run script exited with

NO_RESTART.

Dec 14 14:34:45 star04 cmcld[2048]: Examine the file /etc/cmcluster/pkg5/pkg5_run.log for more details.

The following is an example of a successful package starting:

Dec 14 14:39:27 star04 CM-CMD[2096]: cmruncl

Dec 14 14:39:27 star04 cmcld[2098]: Starting cluster management protocols.

Dec 14 14:39:27 star04 cmcld[2098]: Attempting to form a new cluster

Dec 14 14:39:27 star04 cmclconfd[2097]: Command execution message

Dec 14 14:39:33 star04 cmcld[2098]: 3 nodes have formed a new cluster

Dec 14 14:39:33 star04 cmcld[2098]: The new active cluster membership is: star04(id=1), star05(id=2), star06(id=3)

Dec 14 17:39:33 star04 cmlvmd[2099]: Clvmd initialized successfully.

Dec 14 14:39:34 star04 cmcld[2098]: Executing '/etc/cmcluster/pkg4/pkg4_run start' for package pkg4.

Dec 14 14:39:34 star04 LVM[2107]: vgchange /dev/vg01

Dec 14 14:39:35 star04 CM-pkg4[2124]: cmmodnet -a -i 15.13.168.0 15.13.168.4

Dec 14 14:39:36 star04 CM-pkg4[2127]: cmrunserv Service4 /vg01/MyPing 127.0.0.1 >>/dev/null

Dec 14 14:39:36 star04 cmcld[2098]: Started package pkg4 on node star04.

Reviewing Object Manager Log Files

The Serviceguard Object Manager daemon cmomd logs messages to the file /var/opt/cmom/ cmomd.log. You can review these messages using the cmreadlog command, as follows:

cmreadlog /var/opt/cmom/cmomd.log

Messages from cmomd include information about the processes that request data from the Object Manager, including type of data, timestamp, etc.

330 Troubleshooting Your Cluster

Page 330
Image 330
HP Serviceguard manual Reviewing Object Manager Log Files, Sample System Log Entries, Cmreadlog /var/opt/cmom/cmomd.log