Chinaunix首页 | 论坛 | 博客
  • 博客访问: 265687
  • 博文数量: 107
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 74
  • 用 户 组: 普通用户
  • 注册时间: 2016-11-18 09:57
文章分类

全部博文(107)

文章存档

2023年(2)

2021年(1)

2017年(1)

2015年(4)

2014年(9)

2013年(4)

2012年(14)

2011年(49)

2010年(23)

分类: 系统运维

2012-05-05 23:17:26

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
阅读(2548) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~