Are you adding the launch commands to hobbitlaunch.cfg (and not
clientlaunch.cfg)? On the server, the commands should go in
hobbitlaunch.cfg, and use the client config files for the ENV entry.<br>
<br>
Thanks,<br>
Larry Barber<br><br><div><span class="gmail_quote">On 1/24/06, <b class="gmail_sendername">McGraw, Robert P.</b> <<a href="mailto:rmcgraw@purdue.edu">rmcgraw@purdue.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Richard<br><br>I thought I saw the problem but I guess not.<br><br>I
have put the changes in the client directory of the server and
restarted the server. It does not see to pick up what is in the client
directory. If I run runclient.sh on the client then it works but I have
read that it is not necessary to run runclient.sh on the server.<br><br>What needs to be done on the server to get bb-pridiag to work on the server?<br><br>Thanks<br><br>Robert<br><br><br><br><br><br>_____________________________________________________________________
<br>Robert P. McGraw, Jr.<br>Manager,
Computer
System                
EMAIL: <a href="mailto:rmcgraw@purdue.edu">rmcgraw@purdue.edu</a><br>Purdue
University                        
ROOM: MATH-807<br>Department of
Mathematics                PHONE:
(765) 494-6055<br>150 N. University
Street                  
FAX: (419) 821-0540<br>West Lafayette, IN 47907-2067<br><br><br>> -----Original Message-----<br>> From: Deal, Richard [mailto:<a href="mailto:rdeal@tigr.ORG">rdeal@tigr.ORG</a>]<br>> Sent: Tuesday, January 24, 2006 10:36 AM
<br>> To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>> Subject: RE: [hobbit] bb-prtdiag and temperature.sh question.<br>><br>> Yes the modification goes in the clientlaunch.cfg and no change is needed
<br>> on the server side.  I have these added to my clientlaunch.cfg for most<br>> sun machines:<br>><br>> [meta]<br>>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>>         CMD $HOBBITCLIENTHOME/ext/meta
<br>>         LOGFILE $HOBBITCLIENTHOME/logs/meta.log<br>>         INTERVAL 5m<br>><br>> [ntp]<br>>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>>         CMD $HOBBITCLIENTHOME/ext/bb-ntp.sh
<br>>         LOGFILE $HOBBITCLIENTHOME/logs/bb-ntp.log<br>>         INTERVAL 5m<br>><br>> [ntpstat]<br>>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>>         CMD $HOBBITCLIENTHOME/ext/ntpstat.sh
<br>>         LOGFILE $HOBBITCLIENTHOME/logs/ntpstat.log<br>>         INTERVAL 5m<br>><br>> [prtdiag]<br>>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>>         CMD $HOBBITCLIENTHOME/ext/bb-
prtdiag.sh<br>>         LOGFILE $HOBBITCLIENTHOME/logs/bb-prtdiag.log<br>>         INTERVAL 5m<br>><br>> [cpu2]<br>>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>>         CMD $HOBBITCLIENTHOME/ext/bb-
cpu2.sh<br>>         LOGFILE $HOBBITCLIENTHOME/logs/bb-cpu2.log<br>>         INTERVAL 5m<br>><br>> [msgs]<br>>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>>         CMD $HOBBITCLIENTHOME/ext/bb-
msgs.sh<br>>         LOGFILE $HOBBITCLIENTHOME/logs/bb-msgs.log<br>>         INTERVAL 5m<br>><br>> [sge]<br>>         DISABLED<br>>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>>         CMD $HOBBITCLIENTHOME/ext/sge.sh
<br>>         LOGFILE $HOBBITCLIENTHOME/logs/sge.log<br>>         INTERVAL 5m<br>><br>> [vx]<br>>         DISABLED<br>>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>>         CMD $HOBBITCLIENTHOME/ext/bb-
vxcheck.sh<br>>         LOGFILE $HOBBITCLIENTHOME/logs/bb-vxcheck.log<br>>         INTERVAL 5m<br>><br>> SGE and VX check are enabled on the few hosts were it is needed.<br>> Richard<br>><br>> > -----Original Message-----
<br>> > From: McGraw, Robert P. [mailto:<a href="mailto:rmcgraw@purdue.edu">rmcgraw@purdue.edu</a>]<br>> > Sent: Tuesday, January 24, 2006 10:30 AM<br>> > To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk
</a><br>> > Subject: [hobbit] bb-prtdiag and temperature.sh question.<br>> ><br>> > Richard,<br>> ><br>> > Thanks for your reply.<br>> ><br>> > When I think I understand how hobbit works, I seem to get confused
<br>> again.<br>> ><br>> > I see the modifications you suggest in hobbitclient.cfg and bb-prtdiag.<br>> No<br>> > problem in making these.<br>> ><br>> > I am confused where to set it to execute.
<br>> ><br>> > Let me see if I got how hobbit works on the client.<br>> ><br>> > 1) Hobbitlaunch reads the clientlaunch.cfg file.<br>> ><br>> > 2) Clientlaunch.cfg file reads hobbitclient.cfg
 file and executes<br>> > hobbitclient.sh<br>> ><br>> > 3) hobbitclient.sh calls hobbitclient-sunos.sh (in my case) which<br>> executes<br>> > the programs in hobbitclient-sunos.sh and writes the output to 
msg.txt.<br>> ><br>> > 4 hobbitclient.sh sends msg.txt to the $BBDISP.<br>> ><br>> > Now I want to execute the bb-prtdiag and bb-prtdiag seems to send the<br>> data<br>> > to $BBDISP inside the script.
<br>> ><br>> > Do I put the execution of $BBDISP in clientlaunch.cfg?<br>> ><br>> > What do I need to do on the server side for this to show up in the<br>> hobbit<br>> > html?<br>> >
<br>> > Thanks<br>> ><br>> > Robert<br>> ><br>> ><br>> > ________________________________________<br>> > From: Deal, Richard [mailto:<a href="mailto:rdeal@tigr.ORG">rdeal@tigr.ORG
</a>]<br>> > Sent: Tuesday, January 24, 2006 8:48 AM<br>> > To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>> > Subject: RE: [hobbit] Repeat entries in bb-hosts<br>> ><br>> > I didn't have to modify bb-prtdiag at all to get it running under the
<br>> > hobbit<br>> > client.<br>> > You will have to modify the etc/hobbitclient.cfg file to represent your<br>> > environment and the bb-prtdiag modifications should also be added.<br>> > I have these lines added to 
hobbitclient.cfg:<br>> > (might be some line modification by email but you get the idea)<br>> > #<br>> > #from prtdiag script<br>> > #<br>> > UNAME="/sbin/uname"<br>> > #PLATFORM_SPEC=`${UNAME} -i`
<br>> > #PRTDIAG_COMMAND="/usr/platform/${PLATFORM_SPEC}/sbin/prtdiag"<br>> > PRTDIAG_OPT="-v"<br>> > ZONENAME=/usr/bin/zonename<br>> > #Systems that don't support temperature checks
<br>> > EXCLUDE_SYSTEMS="Ultra-1 Ultra-2 Ultra-5_10 Ultra-30 Ultra-60 Ultra-80<br>> > UltraAX-i<br>> > 2 UltraSPARC-IIi-cEngine Sun-Fire Netra-T4 UltraAX-e2<br>> > Ultra-Enterprise-10000"
<br>> > PRTDIAG_IGNORE_ERRORS="No failures|Most recent AC Power Failure|Minimum<br>> > Availabl<br>> > e|CS Fail|No Hardware failures|^===|currently no Boards|Fault     Fan"<br>> > PRTDIAG_IGNORE_FAULTS="No Recent System Faults found|No System Faults
<br>> > found|Faul<br>> > t Value|Fault LED|NO_FAULT|Power  Fault|Status<br>> > Fault|Fault<br>> > off"<br>> > LOM_COMMAND="/usr/sbin/lom"<br>> > LOM_OPT="-pfvt"
<br>> ><br>> > Woops there is one slight modification to the bb-prtdiag script.  Since<br>> > hobbitclient.cfg does not allow for execution, just variable setting, I<br>> > had<br>> > to uncomment these two lines in bb-prtdiag:
<br>> > PLATFORM_SPEC=`$UNAME -i`<br>> > PRTDIAG_COMMAND="/usr/platform/$PLATFORM_SPEC/sbin/prtdiag"<br>> ><br>> ><br>> ><br>> > ________________________________________<br>> > From: McGraw, Robert P. [mailto:
<a href="mailto:rmcgraw@purdue.edu">rmcgraw@purdue.edu</a>]<br>> > Sent: Tuesday, January 24, 2006 8:34 AM<br>> > To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>> > Subject: RE: [hobbit] Repeat entries in bb-hosts
<br>> ><br>> ><br>> ><br>> > Has anyone rewritten the solaris temperature.sh and bb-prtdiag for<br>> hobbit?<br>> > I<br>> > would like to get these going on and just did not want to redo work that
<br>> > has<br>> > already been done.<br>> ><br>> > Thanks<br>> ><br>> > Robert<br>> ><br>> ><br>> ><br>> ><br>> > _____________________________________________________________________
<br>> > Robert P. McGraw, Jr.<br>>
> Manager, Computer
System                                        
EMAIL:<br>> > <a href="mailto:rmcgraw@purdue.edu">rmcgraw@purdue.edu</a><br>> > Purdue University<br>> > ROOM: MATH-807<br>>
> Department of
Mathematics                                        PHONE:<br>> > (765) 494-6055<br>> > 150 N. University Street<br>> > FAX: (419) 821-0540<br>> > West Lafayette, IN 47907-2067<br>><br>> To unsubscribe from the hobbit list, send an e-mail to
<br>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>><br><br><br></blockquote></div><br>