1: Change the MC/SG log level to 5 and redirect the logs to /tmp/SG.log:
# cmsetlog 5
# cmsetlog –f /tmp/SG.log
these logs are directed to /var/adm/syslog/syslog.log by default.
2: Restore the log level to default and redirect it to syslog:
# cmsetlog –r
# cmsetlog –s
3: Without invoking cmsetlog, you may do the following:
# cmruncl –v –T 5 –F /tmp/cmruncl.out
# cmrunnode -v –T 5 –F /tmp/cmruncl.out
4: Another way to debug, change the file:
/etc/inetd.conf
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
to disable it:
change the file back:
/etc/inetd.conf
and run:
# inetd –c
this debug info goes into syslog.log and its size may increase quickly.
5: Obtaining recent Flight Recorder Logs for MCSG online:
# /usr/contrib/bin/cmfmtfr /var/adm/cmcluster/frdump.cmcld.x
6: Obtaining Flight Recorder Logs from an HPUX crash dump, using the Q4 located in /usr/contrib/Q4:
# . /usr/contrib/Q4/bin/set_env #‘Source’ the set_env script. Note the ‘.’!
#cd crashdir #e.g. /var/adm/crash/crash.0
#q4 –p
q4> include /usr/contrib/lib/Q4/cmfr.pl
q4> run DumpFRBin dumpfile
# /usr/contrib/bin/cmfmtfr dumpfile
7: Obtaining Flight Recorder Logs from a cmcld core:
# /usr/contrib/bin/cmcorefr -o dumpfile /var/adm/cmcluster/core
# /usr/contrib/bin/cmfmtfr dumpfile
阅读(2641) | 评论(0) | 转发(0) |