$ /usr/sbin/lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x001635700001 0 UP lan0 snap0 1 ETHER Yes 119
0/3/1/0/6/0 0x001635300002 1 UP lan1 snap1 2 ETHER Yes 119
0/4/1/0/6/0 0x001635300003 2 UP lan2 snap2 3 ETHER Yes 119
$ /usr/sbin/ioscan -fnk
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
root 0 root CLAIMED BUS_NEXUS
ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adapter (880)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
usb 0 0/0/1/0 hcd CLAIMED INTERFACE NEC USB Interface
usbhub 0 0/0/1/0.1 hub CLAIMED DEVICE USB Root Hub
usb 1 0/0/1/1 hcd CLAIMED INTERFACE NEC USB Interface
usbhub 1 0/0/1/1.1 hub CLAIMED DEVICE USB Root Hub
/dev/hub
usb 2 0/0/1/2 ehci CLAIMED INTERFACE NEC USB Interface
sideba 0 0/0/2/0 side_ba CLAIMED INTERFACE CMD IDE controller
ext_bus 0 0/0/2/0.0 side CLAIMED INTERFACE IDE Primary Channel
target 0 0/0/2/0.0.0 tgt CLAIMED DEVICE
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
target 1 0/0/2/0.0.7 tgt CLAIMED DEVICE
ctl 0 0/0/2/0.0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
ext_bus 1 0/0/2/0.1 side CLAIMED INTERFACE IDE Secondary Channel
target 2 0/0/2/0.1.7 tgt CLAIMED DEVICE
ctl 1 0/0/2/0.1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ext_bus 2 0/1/1/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD
target 3 0/1/1/0.0 tgt CLAIMED DEVICE
disk 2 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
target 4 0/1/1/0.1 tgt CLAIMED DEVICE
disk 1 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
target 5 0/1/1/0.7 tgt CLAIMED DEVICE
ctl 2 0/1/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c2t7d0
ext_bus 3 0/1/1/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD
target 6 0/1/1/1.7 tgt CLAIMED DEVICE
ctl 3 0/1/1/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c3t7d0
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 3 0/3 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 4 0/3/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
fc 0 0/3/1/0/4/0 fcd CLAIMED INTERFACE HP 2Gb PCI/PCI-X Fibre Channel FC/GigE Dual Port Combo Adapter
/dev/fcd0
fcp 0 0/3/1/0/4/0.8 fcd_fcp CLAIMED INTERFACE FCP Protocol Adapter
ext_bus 7 0/3/1/0/4/0.8.0.2.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
target 7 0/3/1/0/4/0.8.0.2.0.0 tgt CLAIMED DEVICE
disk 89 0/3/1/0/4/0.8.0.2.0.0.0 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0
disk 8 0/3/1/0/4/0.8.0.2.0.0.1 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c7t0d1 /dev/rdsk/c7t0d1
disk 23 0/3/1/0/4/0.8.0.2.0.0.2 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c7t0d2 /dev/rdsk/c7t0d2
disk 24 0/3/1/0/4/0.8.0.2.0.0.3 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c7t0d3 /dev/rdsk/c7t0d3
ext_bus 4 0/3/1/0/4/0.8.0.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface
target 8 0/3/1/0/4/0.8.0.255.0.2 tgt CLAIMED DEVICE
ctl 23 0/3/1/0/4/0.8.0.255.0.2.0 sctl CLAIMED DEVICE COMPAQ MSA1000
/dev/rscsi/c4t2d0
lan 1 0/3/1/0/6/0 igelan CLAIMED INTERFACE HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
ba 5 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 6 0/4/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
fc 1 0/4/1/0/4/0 fcd CLAIMED INTERFACE HP 2Gb PCI/PCI-X Fibre Channel FC/GigE Dual Port Combo Adapter
/dev/fcd1
fcp 1 0/4/1/0/4/0.8 fcd_fcp CLAIMED INTERFACE FCP Protocol Adapter
ext_bus 6 0/4/1/0/4/0.8.0.1.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface
target 9 0/4/1/0/4/0.8.0.1.0.0 tgt CLAIMED DEVICE
disk 19 0/4/1/0/4/0.8.0.1.0.0.0 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 20 0/4/1/0/4/0.8.0.1.0.0.1 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
disk 21 0/4/1/0/4/0.8.0.1.0.0.2 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c6t0d2 /dev/rdsk/c6t0d2
disk 22 0/4/1/0/4/0.8.0.1.0.0.3 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c6t0d3 /dev/rdsk/c6t0d3
ext_bus 5 0/4/1/0/4/0.8.0.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface
target 10 0/4/1/0/4/0.8.0.255.0.1 tgt CLAIMED DEVICE
ctl 6 0/4/1/0/4/0.8.0.255.0.1.0 sctl CLAIMED DEVICE COMPAQ MSA1000
/dev/rscsi/c5t1d0
lan 2 0/4/1/0/6/0 igelan CLAIMED INTERFACE HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
ba 7 0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 8 0/7 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
tty 0 0/7/1/0 asio0 CLAIMED INTERFACE PCI SimpleComm (103c1290)
/dev/diag/mux0 /dev/mux0 /dev/tty0p0
tty 1 0/7/1/1 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/diag/mux1 /dev/mux1 /dev/tty1p0 /dev/tty1p2 /dev/tty1p4
unknown -1 0/7/2/0 UNCLAIMED UNKNOWN PCI Display (10025159)
memory 0 8 memory CLAIMED MEMORY Memory
ipmi 0 16 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
processor 0 128 processor CLAIMED PROCESSOR Processor
processor 1 129 processor CLAIMED PROCESSOR Processor
$ bdf -i
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg00/lvol3 1048576 799824 246928 76% 2888 7768 27% /
/dev/vg00/lvol1 511672 54328 406176 12% 65 50111 0% /stand
/dev/vg00/lvol8 8388608 1890448 6447536 23% 23785 203063 10% /var
/dev/vg00/lvol7 2097152 1575968 517184 75% 31502 16274 66% /usr
/dev/vg00/lvol4 1048576 768632 278256 73% 357 8731 4% /tmp
/dev/vg00/lvol6 4194304 2195952 1982784 53% 32112 62448 34% /opt
/dev/vg00/lvol5 2097152 669912 1416104 32% 1512 44600 3% /home
# cmviewcl -v
CLUSTER STATUS
my-cluster up
NODE STATUS STATE
node-01 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/1/2/0 lan0
PRIMARY up 0/3/1/0/6/0 lan1
STANDBY up 0/4/1/0/6/0 lan2
PACKAGE STATUS STATE AUTO_RUN NODE
mypkg up running enabled node-01
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service up 3 0 MYMONITOR
Subnet up 10.0.1.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled node-01 (current)
Alternate up enabled node-02
NODE STATUS STATE
node-02 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/1/2/0 lan0
PRIMARY up 0/3/1/0/6/0 lan1
STANDBY up 0/4/1/0/6/0 lan2
Thursday, October 13, 2011
Getting HP-UX system information
If you need to check information about your HP-UX server like hardware and filesystems, or even information about a high availability cluster (having root access), you can use the lanscan, ioscan, bdf and cmviewcl commands. Or if you're looking for information about memory usage you can check this post.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment