继《VIO学习之在所有VIO CLIENT上安装lparmon agent 》、《VIO学习之在lparmon.xml文件的自动生成》,这也是使用LPARMON过程中遇到的问题。
某日发现LPARMON看不到某个确实存在的LPAR,去HMC上用lspartiotion命令查了下,发现这个LPAR居然在HMC上也是隐身的。最后,究其原因原来是问题LPAR上的/opt没有mount起来,导致IBM.CSMAgentRM始终是inoperative。下面是从TROUBLESHOOTING过程中节选的部分命令记录。
01:43:26 root@ST-6K01:[/]#lssrc -a | grep rsct
ctrmc rsct 548888 active
IBM.ERRM rsct_rm 589858 active
IBM.AuditRM rsct_rm 598052 active
IBM.ServiceRM rsct_rm 585794 active
ctcas rsct 876592 active
IBM.CSMAgentRM rsct_rm inoperative
01:43:35 root@ST-6K01:[/]#startsrc -s IBM.CSMAgentRM
0513-059 The IBM.CSMAgentRM Subsystem has been started. Subsystem PID is 868524.
01:43:47 root@ST-6K01:[/]#lssrc -a | grep rsct
ctrmc rsct 548888 active
IBM.ERRM rsct_rm 589858 active
IBM.AuditRM rsct_rm 598052 active
IBM.ServiceRM rsct_rm 585794 active
ctcas rsct 876592 active
IBM.CSMAgentRM rsct_rm inoperative
02:07:13 root@ST-6K01:[/]#lssrc -a | grep rsct
ctrmc rsct 548888 active
IBM.ERRM rsct_rm 589858 active
IBM.AuditRM rsct_rm 598052 active
IBM.ServiceRM rsct_rm 585794 active
ctcas rsct 876592 active
IBM.CSMAgentRM rsct_rm inoperative
02:07:22 root@ST-6K01:[/]#lssrc -Ss IBM.CSMAgentRM
#subsysname:synonym:cmdargs:path:uid:auditid:standin:standout:standerr:action:multi:contact:svrkey:svrmtype:priority:signorm:sigforce:display:waittime:grpname:
IBM.CSMAgentRM:::/usr/sbin/rsct/bin/IBM.CSMAgentRMd:0:0:/dev/console:/dev/console:/var/ct/IBM.CSMAgentRM.stderr:-R:-Q:-K:0:0:20:0:0:-d:20:rsct_rm:
02:13:47 root@ST-6K01:[/]#/usr/sbin/rsct/bin/IBM.CSMAgentRMd
exec(): 0509-036 Cannot load program /usr/sbin/rsct/bin/IBM.CSMAgentRMd because of the following errors:
0509-150 Dependent module libcsm_clog.a(shr.o) could not be loaded.
0509-022 Cannot load module libcsm_clog.a(shr.o).
0509-026 System error: A file or directory in the path name does not exist.
02:15:41 root@ST-6K01:[/]#find / -name libcsm_clog.a
/usr/lib/libcsm_clog.a
02:19:09 root@ST-6K01:[/]#ls -l /usr/lib/libcsm_clog.a
lrwxrwxrwx 1 bin bin 26 Feb 25 20:01 /usr/lib/libcsm_clog.a -> /opt/csm/lib/libcsm_clog.a
02:19:25 root@ST-6K01:[/]#ls -l /opt/csm/lib/libcsm_clog.a
ls: 0653-341 The file /opt/csm/lib/libcsm_clog.a does not exist.
02:19:34 root@ST-6K01:[/]#cd /opt/csm/lib/libcsm_clog.a
ksh: /opt/csm/lib/libcsm_clog.a: not found.
02:29:23 root@ST-6K01:[/]#cd /opt
02:29:28 root@ST-6K01:[/opt]#df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 524288 304792 42% 2868 8% /
/dev/hd2 9961472 588936 95% 164162 70% /usr
/dev/hd9var 2621440 1669320 37% 2936 2% /var
/dev/hd3 2097152 1343216 36% 1119 1% /tmp
/dev/hd1 34865152 17475680 50% 49090 3% /home
/dev/db2lv2 10485760 1788120 83% 3220 2% /db2space2
/dev/calv 1572864 577080 64% 1681 3% /home/catest
/dev/cadblv 8257536 5349592 36% 2875 1% /home/cainst
/dev/dbrisk 655360 642472 2% 71 1% /home/qriskdb
/dev/cbank 458752 54128 89% 345 6% /home/cbank
/dev/dbfee 1310720 736328 44% 12 1% /home/qfeeadm/db
/dev/eacc 327680 261856 21% 291 1% /home/eacc
/dev/fslv03 262144 67736 75% 430 6% /home/riondat
/dev/runlv 6553600 2742856 59% 5501 2% /run
/dev/fslv04 20971520 9561600 55% 299 1% /home/ANTI_ML
02:29:48 root@ST-6K01:[/opt]#ls
02:30:13 root@ST-6K01:[/opt]#cd
02:30:16 root@ST-6K01:[/]#mount /opt
02:30:21 root@ST-6K01:[/]#cd /opt
02:30:25 root@ST-6K01:[/opt]#ls
IBMinvscout Tivoli csm diagnostics freeware lost+found
02:30:26 root@ST-6K01:[/opt]#lssrc -a | grep rsct
ctrmc rsct 548888 active
IBM.ERRM rsct_rm 589858 active
IBM.AuditRM rsct_rm 598052 active
IBM.ServiceRM rsct_rm 585794 active
ctcas rsct 876592 active
IBM.CSMAgentRM rsct_rm inoperative
02:30:53 root@ST-6K01:[/opt]#startsrc -s IBM.CSMAgentRM
0513-059 The IBM.CSMAgentRM Subsystem has been started. Subsystem PID is 872546.
02:31:06 root@ST-6K01:[/opt]#lssrc -a | grep rsct
ctrmc rsct 548888 active
IBM.ERRM rsct_rm 589858 active
IBM.AuditRM rsct_rm 598052 active
IBM.ServiceRM rsct_rm 585794 active
ctcas rsct 876592 active
IBM.CSMAgentRM rsct_rm 872546 active
========================================================================
任何形式的转载,请写明出处:
email: beginner@yeah.net
blog: http://blog.chinaunix.net/index.php?blogId=739 http://www.cublog.cn/u/739/
========================================================================