How to get information about hardware in HP-UX

 

There are plenty commands like machinfo, ioscan, olrad, scsimgr in HP-UX ,

which can tell us many useful things about our server hardware configuration :

1. Information about server – model and machinfo commands:

#model

ia64 hp server rx6600

 

#machinfo

CPU info:
1 Intel(R) Itanium 2 9100 series processor (1.59 GHz, 18 MB)
532 MT/s bus, CPU version A1
2 logical processors (2 per socket)

Memory: 8161 MB (7.97 GB)

Firmware info:
Firmware revision:  04.11
FP SWA driver revision: 1.18
IPMI is supported on this system.
BMC firmware revision: 5.24

Platform info:
Model:                  “ia64 hp server rx6600″
Machine ID number:      xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Machine serial number:  SGHxxxxxxx

OS info:
Nodename:  test
Release:   HP-UX B.11.31
Version:   U (unlimited-user license)
Machine:   ia64
ID Number: xxxxxxxxxx
vmunix _release_version:
@(#) $Revision: vmunix:    B.11.31_LR FLAVOR=perf

 

 

2. Information about installed hardware – ioscan and olrad:

- disk information:

#ioscan -knfC disk

Class     I  H/W Path      Driver         S/W State   H/W Type     Description
===============================================================================
disk      7  0/0/2/1.0.16  UsbScsiAdaptor   CLAIMED     DEVICE       USB SCSI Stack Adaptor
/dev/deviceFileSystem/Usb/MassStorage/dsk/disk@hp-1008+294=A60020000001
/dev/deviceFileSystem/Usb/MassStorage/rdsk/disk@hp-1008+294=A60020000001
disk      3  0/4/1/0.0.0.0.0  sdisk            CLAIMED     DEVICE       HP      DG0146FAMWL
/dev/dsk/c2t0d0     /dev/dsk/c2t0d0s2   /dev/rdsk/c2t0d0    /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1   /dev/dsk/c2t0d0s3   /dev/rdsk/c2t0d0s1  /dev/rdsk/c2t0d0s3
disk      2  0/4/1/0.0.0.1.0  sdisk            CLAIMED     DEVICE       HP      DG0146FAMWL
/dev/dsk/c2t1d0     /dev/dsk/c2t1d0s2   /dev/rdsk/c2t1d0    /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1   /dev/dsk/c2t1d0s3   /dev/rdsk/c2t1d0s1  /dev/rdsk/c2t1d0s3

- lan cards information:

#ioscan -C lan

H/W Path     Class                   Description
================================================
0/3/1/0/6/0                  lan     HP AD193-60001 PCI/PCI-X 1000Base-T 4Gb FC/1000B-T Combo Adapter
0/4/2/0                lan           HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
0/4/2/1                lan           HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
0/6/1/0/6/0                  lan     HP AD193-60001 PCI/PCI-X 1000Base-T 4Gb FC/1000B-T Combo Adapter

- lun information:

#ioscan -m lun

Class     I  Lun H/W Path  Driver  S/W State   H/W Type     Health  Description
======================================================================
tape      1  64000/0xfa00/0×0   estape  CLAIMED     DEVICE       online  HP      C7438A
0/7/1/0.0×2.0×0
/dev/rtape/tape1_BEST    /dev/rtape/tape1_BESTb   /dev/rtape/tape1_BESTn   /dev/rtape/tape1_BESTnb
disk      4  64000/0xfa00/0×1   esdisk  CLAIMED     DEVICE       online  HP      DG0146FAMWL
0/4/1/0.0x5000c50016e1b30d.0×0
/dev/disk/disk4      /dev/disk/disk4_p2   /dev/rdisk/disk4     /dev/rdisk/disk4_p2
/dev/disk/disk4_p1   /dev/disk/disk4_p3   /dev/rdisk/disk4_p1  /dev/rdisk/disk4_p3
disk      5  64000/0xfa00/0×2   esdisk  CLAIMED     DEVICE       online  HP      DG0146FAMWL
0/4/1/0.0x5000c50016e143a5.0×0
/dev/disk/disk5      /dev/disk/disk5_p2   /dev/rdisk/disk5     /dev/rdisk/disk5_p2
/dev/disk/disk5_p1   /dev/disk/disk5_p3   /dev/rdisk/disk5_p1  /dev/rdisk/disk5_p3

- EFI boot disk path:

#ioscan -eN | grep -i efi

Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C50016E143A5, Lun0)/HD(Part1,SigD8571580-DFCF-11DE-8000-D6217B60E588)/\EFI\HPUX\HPUX.EFI
Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C50016E1B30D, Lun0)/HD(Part1,Sig7F270182-FC49-11DE-8000-D6217B60E588)/\EFI\HPUX\HPUX.EFI

- hardware health – i.e. FC cards:

ioscan -P health -C fc

Class     I  H/W Path     health
==================================
fc        0  0/3/1/0/4/0  online
fc        1  0/6/1/0/4/0  online

- full hardware listing:

#ioscan -f

 


3. Information about slot olrad – speed, occupancy, configuration:

#olrad -q

olrad

 


4. Information about lun wwid – scsimgr:


#scsimgr get_attr -a wwid -H 64000/0xfa00/0×2

SCSI ATTRIBUTES FOR LUN : 64000/0xfa00/0×2

name = wwid
current = 0x5000c50016e143a7
default =
saved =

#scsimgr get_attr -a wwid all_lun

SCSI ATTRIBUTES FOR LUN : /dev/rtape/tape1_BEST

name = wwid
current =
default =
saved =

SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk4

name = wwid
current = 0x5000c50016e1b30f
default =
saved =

SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk5

name = wwid
current = 0x5000c50016e143a7
default =
saved =

 


5. System summary information – print_manifest :

#print_manifest | more

 

Need more information? You didn’t find what you were looking for? Ask on our forum:

www.admindot.eu/forum

we will answer for sure.

One Comment

  1. Gokrish says:

    Hello,

    Can you let you please let me know the command to check the CPU speed on HP-UX PARISC Servers?

    Thanks in advance..

Leave a Reply

Your email address will not be published. Required fields are marked *

*

question razz sad evil exclaim smile redface biggrin surprised eek confused cool lol mad twisted rolleyes wink idea arrow neutral cry mrgreen

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>