- 论坛徽章:
- 0
|
关于veritas编写的agent的注意事项,欢迎大家讨论。
麻烦大家帮我看看,我配置了跟honglh一样的application service group:\r\n\r\ngroup MySG (\r\nSystemList = { sysa = 0, sysb = 1 }\r\nAutoStartList = { sysa, sysb }\r\n)\r\nApplication mytest (\r\nStartProgram = \"/usr/bin/mpstat 10 &\"\r\nStopProgram = \"/usr/bin/pkill mpstat\"\r\nMonitorProcesses = {\"mpstat 10\" }\r\n) \r\n\r\n测试时报错:\r\n\r\nbash-2.03# hagrp -autoenable MySG -sys sysa\r\nbash-2.03# hagrp -enableresources MySG\r\nbash-2.03# hares -online mytest -sys sysa\r\nVCS:10283:Resource has not been probed on system sysa\r\nbash-2.03# \r\n\r\n查log文档,发现以下的错误信信息:\r\n\r\nbash-2.03# tail /var/VRTSvcs/log/Application_A.log \r\nTAG_B 2003/05/02 09:08:57 VCS:148669:Application:mytest:monitor:Error while getting information about user:/usr/bin/mpstat 10 & (No such file or directory).\r\n\r\n但我用指令的方式是没有问题的:\r\n\r\nbash-2.03# /usr/bin/mpstat 10 &\r\n[1] 22739\r\nbash-2.03# CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl\r\n 0 49 0 230 221 210 650 19 89 25 29 1112 1 3 55 42\r\n 2 48 0 254 359 252 652 29 89 31 26 1263 1 2 63 34\r\n\r\n\r\n请问哪位有什么建议吗? 我用的是VCS 3.5 Demo 版,OS 是Solaris 8, 安装VCS的时候没有任何问题. \r\n\r\n  |
|