HP-UX HB v13.00 Ch-15 - Serviceguard
HP-UX Handbook – Rev 13.00 Page 57 (of 108)
Chapter 15 Serviceguard
October 29, 2013
Debug logging of cmclconfd on HPUX (up to SG A.11.17)
The '-T' option described above can also be used to instrument the cmclconfd. This daemon is
used to gather and send configuration data from the local and the remote nodes and is therefore
started with many Serviceguard commands. To enable cmclconfd debug logging the following
has to be done.
Modify the following lines in the file /etc/inetd.conf file
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd -p
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd -c
to
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd -p -T 5
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd -c -T 5
and run # inetd -c
The logs will go into syslog.log by default.
Starting with SG A.11.13 there is also an "-L" option that allows to redirect the cmclconfd
logging to a different file than syslog.log. To enable debug logging with log level 5 and to
redirect the logging to /tmp/cmclconfd.log, the above lines need to be modified to
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd -p -T 5 -L
/tmp/cmclconfd_udp.log
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd -c -T 5 -L
/tmp/cmclconfd_tcp.log
Make this change on any node where debug logging is needed.
To disable the logging of the cmclconfd, undo the changes in /etc/inetd.conf and run 'inetd
-c' again.
Flight Recorder
Serviceguard A.11.15 introduced a new feature called the Flight Recorder, which continuously
maintains a detailed log of the most recent Serviceguard activities and stores that data in an
accessible file if a failure occurs. Please refer to the Flight Recorder manual at
http://haweb.ind.hp.com/Support/misc/FlightRec_v5.pdf (HP internal) for details.
But here are the important steps to obtain the logs:
Obtaining Flight Recorder Logs manually (SG A.11.15 and later on
HPUX)
Flight recorder files are saved to /var/adm/cmcluster/frdump.cmcld.x, where x is
incremented from 0 to 9. The flight recorder will re-use (overwrite) frdump.cmcld.0 when it