Hello,

I'm trying to use xCAT to monitor LSF status on the nodes using xcatmon. i 
followed the instruction in the monitoring document, however, i don't get 
any indication to the apps status and monitoring, although the defauls 
sshd and xend monitoring works as expected.   I tried both the port method 
and the dcmd method, neither worked. 
on the other hand, nodestat -m works as expected. 

[root@lsfsr ~]# tabdump monsetting
#name,key,value,comments,disable
"xcatmon","apps","lsf,lsf1",,
"xcatmon","lsf1","dcmd=/root/lsfcheck",,
"xcatmon","lsf","port=6878,group=blades",,
"xcatmon","ping-interval","1",,

[root@lsfsr ~]# tabdump nodelist
#node,groups,status,statustime,appstatus,appstatustime,primarysn,hidden,comments,disable
"lsfcl1","all,blades","ping","02-21-2012 
20:08:02",",xend=down,sshd=up","02-21-2012 23:07:03",,,,
"lsfcl2","all,blades","ping","02-21-2012 
20:08:02",",xend=down,sshd=up","02-21-2012 23:07:03",,,,
"lsfcl3","all,blades","ping","02-21-2012 
20:08:02",",xend=down,sshd=up","02-21-2012 23:07:03",,,,
"amm","mm",,,,,,,,

[root@lsfsr ~]# monls
xcatmon         monitored       node-status-monitored

[root@lsfsr ~]# crontab -l
*/1 * * * * XCATROOT=/opt/xcat 
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/opt/xcat/bin:/opt/xcat/sbin XCATCFG='' 
/opt/xcat/bin/nodestat all -m -u -q

[root@lsfsr ~]# nodestat blades -m
lsfcl1: sshd,lsf1=down
lsfcl2: lsf,sshd,lsf1=up
lsfcl3: lsf,sshd,lsf1=up

/root/lsfcheck is a script the returns 'up' or 'down', depends on the lsf 
service status. 
 
1. What am i missing? why the nodelist table is not updated?
2. Performance wise - what will be better - to parse the nodestat command 
and run a script or using the xcat notification infrastructure? 

thx in advance! 

Regards,

Gilad Berman
HPC Architect
IBM System & Technology Group. Israel

E-mail: [email protected]
Tel:    972-3-9188262
Mobile: 972-52-2554262

The information contained in this email is being provided by IBM as a 
matter of courtesy and provided "AS-IS" without any direct and implied 
warranty; IBM assumes no liability. It is your responsibility to ensure 
that any resulting customer proposal has been correctly designed to meet 
your clients' requirements and to have an active review process which 
ensures an appropriate level of solution assurance is performed for all 
proposals. IBM does not take responsibility for the solution or solution 
assurance.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to