<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.34">
<TITLE>RE: [hobbit] HP PA-RISC Hardware monitoring ?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>If you elect to use ioscan for checking for claimed hardware (using the -f option), then recommend you put in a chunk of timeout logic and send an appropriate error message if a timeout condition occurs. The HPUX ioscan command is not terribly robust (as we discovered after implementing a BB module using it).</FONT></P>

<P><FONT SIZE=2>The ioscan command can hang for the sort of adverse hardware conditions you are trying to check for. </FONT>
</P>

<P><FONT SIZE=2>This is commonly known as a "feature". - to be spoken aloud as either Eric Idle or John Cleese.</FONT>
</P>

<P><FONT SIZE=2>To T. Yang: I never bothered putting together a tarball for www.deadcat.net; lack of energy to write up a usage document. It supports table and group files for defining classes of hardware components to be checked for (number of HBAs, tape drives, etc). If you want a tarball to play with or use as a starting point for development, let me know. The module does not have a timeout control - knocking down a hung ioscan is problematic. Will not post tarball here as Mr. Storner would probably hunt me down and toss a holy hand grenade and/or taunt me mercilessly. (What can I say, it's a Monty Python kind of day).</FONT></P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: T.J. Yang [<A HREF="mailto:tj_yang@hotmail.com">mailto:tj_yang@hotmail.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: Friday, September 14, 2007 9:04 AM</FONT>
<BR><FONT SIZE=2>To: hobbit@hswn.dk</FONT>
<BR><FONT SIZE=2>Subject: RE: [hobbit] HP PA-RISC Hardware monitoring ?</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi, Thomas</FONT>
</P>

<P><FONT SIZE=2>But ioscan is jus a scan of existing hardwares, it doesn't tell if each component</FONT>
<BR><FONT SIZE=2>is ok or not. following is an example of a C3600.</FONT>
</P>

<P><FONT SIZE=2>root@8519> uname -a</FONT>
<BR><FONT SIZE=2>HP-UX ilad8519 B.11.11 U 9000/785 2013140223 unlimited-user license</FONT>
<BR><FONT SIZE=2>root@8519> model</FONT>
<BR><FONT SIZE=2>9000/785/C3600</FONT>
<BR><FONT SIZE=2>root@8519> ioscan -k</FONT>
<BR><FONT SIZE=2>H/W Path       Class                     Description</FONT>
<BR><FONT SIZE=2>====================================================</FONT>
<BR><FONT SIZE=2>               bc</FONT>
<BR><FONT SIZE=2>10             ioa                       System Bus Adapter (582)</FONT>
<BR><FONT SIZE=2>10/0               ba                    Local PCI Bus Adapter (782)</FONT>
<BR><FONT SIZE=2>10/0/12/0                lan             HP PCI 10/100Base-TX Core</FONT>
<BR><FONT SIZE=2>10/0/13/0                audio           Built-in Audio</FONT>
<BR><FONT SIZE=2>10/0/14/0                ext_bus         IDE Primary Channel</FONT>
<BR><FONT SIZE=2>10/0/14/0.0                 target</FONT>
<BR><FONT SIZE=2>10/0/14/0.0.0                  disk      TEAC    CD-532E-B</FONT>
<BR><FONT SIZE=2>10/0/14/0.7                 target</FONT>
<BR><FONT SIZE=2>10/0/14/0.7.0                  ctl       Initiator</FONT>
<BR><FONT SIZE=2>10/0/14/1                ba              PCI Core I/O Adapter</FONT>
<BR><FONT SIZE=2>10/0/14/1/1                 tty          Built-in RS-232C</FONT>
<BR><FONT SIZE=2>10/0/14/1/2                 tty          Built-in RS-232C</FONT>
<BR><FONT SIZE=2>10/0/14/1/3                 ext_bus      Built-in Parallel Interface</FONT>
<BR><FONT SIZE=2>10/0/14/1/4                 siopc        Built-in Floppy Drive</FONT>
<BR><FONT SIZE=2>10/0/14/1/4.1                  floppy    HP_PC_FDC_FLOPPY</FONT>
<BR><FONT SIZE=2>10/0/14/2                usb             Built-in USB Interface</FONT>
<BR><FONT SIZE=2>10/0/14/2.1                 usbhub       USB Root Hub</FONT>
<BR><FONT SIZE=2>10/0/15/0                ext_bus         SCSI C896 Ultra Narrow Single-Ended</FONT>
<BR><FONT SIZE=2>10/0/15/0.7                 target</FONT>
<BR><FONT SIZE=2>10/0/15/0.7.0                  ctl       Initiator</FONT>
<BR><FONT SIZE=2>10/0/15/1                ext_bus         SCSI C896 Ultra2 Wide LVD</FONT>
<BR><FONT SIZE=2>10/0/15/1.5                 target</FONT>
<BR><FONT SIZE=2>10/0/15/1.5.0                  disk      QUANTUM ATLAS10K-9LVD</FONT>
<BR><FONT SIZE=2>10/0/15/1.6                 target</FONT>
<BR><FONT SIZE=2>10/0/15/1.6.0                  disk      QUANTUM ATLAS10K-9LVD</FONT>
<BR><FONT SIZE=2>10/0/15/1.7                 target</FONT>
<BR><FONT SIZE=2>10/0/15/1.7.0                  ctl       Initiator</FONT>
<BR><FONT SIZE=2>10/1               ba                    Local PCI Bus Adapter (782)</FONT>
<BR><FONT SIZE=2>10/1/4/0                 lan             PCI Ethernet (11484320)</FONT>
<BR><FONT SIZE=2>10/4               ba                    Local PCI Bus Adapter (782)</FONT>
<BR><FONT SIZE=2>10/6               ba                    Local PCI Bus Adapter (782)</FONT>
<BR><FONT SIZE=2>10/6/2/0                 graphics        PCI Display (103c108b)</FONT>
<BR><FONT SIZE=2>32             processor                 Processor</FONT>
<BR><FONT SIZE=2>49             memory                    Memory</FONT>
<BR><FONT SIZE=2>root@8519></FONT>
</P>

<P><FONT SIZE=2>T.J. Yang</FONT>
</P>

<P><FONT SIZE=2>> Date: Fri, 14 Sep 2007 10:26:49 +0200</FONT>
<BR><FONT SIZE=2>> From: thomas.seglard@mxp4.com</FONT>
<BR><FONT SIZE=2>> To: hobbit@hswn.dk</FONT>
<BR><FONT SIZE=2>> Subject: Re: [hobbit] HP PA-RISC Hardware monitoring ?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Hi !</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> the magical command on HP-UX (PA-RISC) is 'ioscan' on HP-UX (IA64) it's</FONT>
<BR><FONT SIZE=2>> 'machinfo'. For example, if you want information on processors or fc</FONT>
<BR><FONT SIZE=2>> hba, you could make :</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> # ioscan -fknC processor | grep -i processor</FONT>
<BR><FONT SIZE=2>> # ioscan -fknC fc | grep -i fc</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> or simply :</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> # ioscan -fknC</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> to see all possibilities. Hobbit runs just fine on this kind of</FONT>
<BR><FONT SIZE=2>> hardware, I've tested it for months on HP-UX 10.20, 11.00, 11i. You just</FONT>
<BR><FONT SIZE=2>> need 'gcc' and GNU 'make' to build clients and that's all.</FONT>
<BR><FONT SIZE=2>> Sincerly,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> ThomaS</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> T.J. Yang a écrit :</FONT>
<BR><FONT SIZE=2>>> Anyone know is there a module (bb or hb) to monitor HP hardware ?</FONT>
<BR><FONT SIZE=2>>> May be better question is what is the similar command for ipmitool or prtdiage in HP-UX ?</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> T.J. Yang</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> _________________________________________________________________</FONT>
<BR><FONT SIZE=2>>> Capture your memories in an online journal!</FONT>
<BR><FONT SIZE=2>>> <A HREF="http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us" TARGET="_blank">http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us</A></FONT>
<BR><FONT SIZE=2>>> To unsubscribe from the hobbit list, send an e-mail to</FONT>
<BR><FONT SIZE=2>>> hobbit-unsubscribe@hswn.dk</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> To unsubscribe from the hobbit list, send an e-mail to</FONT>
<BR><FONT SIZE=2>> hobbit-unsubscribe@hswn.dk</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
</P>

<P><FONT SIZE=2>_________________________________________________________________</FONT>
<BR><FONT SIZE=2>Kick back and relax with hot games and cool activities at the Messenger Café.</FONT>
<BR><FONT SIZE=2><A HREF="http://www.cafemessenger.com?ocid=TXT_TAGLM_SeptWLtagline" TARGET="_blank">http://www.cafemessenger.com?ocid=TXT_TAGLM_SeptWLtagline</A></FONT>
<BR><FONT SIZE=2>To unsubscribe from the hobbit list, send an e-mail to</FONT>
<BR><FONT SIZE=2>hobbit-unsubscribe@hswn.dk</FONT>
</P>

</BODY>
</HTML>