Finding wwns in hp-ux environments – HP StorageWorks XP10000 Disk Array User Manual
Page 137
#
4.
Verify that the listed Fibre Channel adapters are correct, and record the listed WWNs.
Finding WWNs in AIX, SGI Irix, or Sequent environments
To find WWNs in AIX, SGI Irix, or Sequent environments, use the fibre switch connected to the host. The
method for finding the WWN of the connected server on each port using the fibre switch depends on the
type of switch. For instructions on finding the WWN, see the fibre switch's documentation.
Finding WWNs in HP-UX environments
1.
Verify that the fibre adapters and Fibre Channel device drivers are installed.
2.
Log in to the HP-UX host with root access.
3.
At the command line prompt, enter:
/usr/sbin/ioscan -fnC lan
4.
A list of attached Fibre Channel devices and their device file names appears.
# /usr/sbin/ioscan -fnC lan
← Enter the ioscan command.
Class
I
H/W Path
Driver
S/W State
H/W Type
Description
========================================================================
lan
0
8/0.5
fcT1_cntl
CLAIMED
INTERFACE
HP Fibre Channel
Mass Storage Cntl
/dev/fcms0
← Device file name.
lan
4
8/4.5
fcT1_cntl
CLAIMED
INTERFACE
HP Fibre Channel
Mass Storage Cntl
/dev/fcms4
← Device file name.
lan
5
8/8.5
fcT1_cntl
CLAIMED
INTERFACE
HP Fibre Channel
Mass Storage Cntl
/dev/fcms5
← Device file name.
lan
6
8/12.5
fcT1_cntl
CLAIMED
INTERFACE
HP Fibre Channel
Mass Storage Cntl
/dev/fcms6
← Device file name.
lan
1
10/8/1/0
btlan4
CLAIMED
INTERFACE
PCI(10110009) --
Built-in #1
lan
2
10/8/2/0
btlan4
CLAIMED
INTERFACE
PCI(10110009) --
Built-in #2
lan
3
10/12/6
lan2
CLAIMED
INTERFACE
Built-in LAN
/dev/diag/lan3
/dev/ether3
/dev/lan3
# # fcmsutil /dev/fcms0
← Enter the fcmsutil command.
Local N_Port_ID is = 0x000001
N_Port Node World Wide Name = 0x10000060B0C08294
N_Port Port World Wide Name = 0x10000060B0C08294
← Record the WWN.
Topology = IN_LOOP
Speed = 1062500000 (bps)
HPA of card = 0xFFB40000
EIM of card = 0xFFFA000D
Driver state = READY
Number of EDB's in use = 0
Number of OIB's in use = 0
Number of Active Outbound Exchanges = 1
Number of Active Login Sessions = 2
#
Record the Fibre Channel device file name (for example, /dev/fcms0).
5.
Use the fcmsutil command with the Fibre Channel device name to list the WWN for that
Fibre Channel device. For example, to list the WWN for the device with the device file name
/dev/fcms0, enter:
/opt/fcms/bin/fcmsutil /dev/fcms0
HP StorageWorks LUN Configuration and Security Manager XP user guide for the
XP12000/XP10000/SVS200
137