Translate this Page

 

If we using Storage Area Network (SAN) with FC,  SAN can do scanning  all connected FC in the SAN Switch. From SAN storage we can get the World Wide Name (WWN) of the HBA –each HBA has unique WWN (same as MAC Address in the PC), but if there are many servers connected the FC into the same SAN Switch, might be we can get difficulties which server has particular WWN.

In this topic I only discuss how to know the WWN of the HBA in HP-UX server.

1.  Scan I/O with class FC

levicorp:> ioscan -knfC fc
Class     I  H/W Path  Driver S/W State   H/W Type     Description
=================================================================
fc        0  0/2/1/0   td   CLAIMED     INTERFACE    HP Tachyon XL2 Fibre Channel Mass Storage Adapter
 /dev/td0
fc        1  0/3/1/0   td   CLAIMED     INTERFACE    HP Tachyon XL2 Fibre Channel Mass Storage Adapter
 /dev/td1

2. Find the WWN each HBA :

levicorp:>fcmsutil /dev/td0

 Vendor ID is = 0x00103c
 Device ID is = 0x001029
 XL2 Chip Revision No is = 2.3
 PCI Sub-system Vendor ID is = 0x00103c
 PCI Sub-system ID is = 0x00128c
 Topology = PTTOPT_FABRIC
 Link Speed = 2Gb
 Local N_Port_id is = 0x010700
 N_Port Node World Wide Name = 0x50060b000030c785
 N_Port Port World Wide Name = 0x50060b000030c784
 Driver state = ONLINE
 Hardware Path is = 0/2/1/0
 Number of Assisted IOs = 925146
 Number of Active Login Sessions = 0
 Dino Present on Card = NO
 Maximum Frame Size = 2048
 Driver Version = @(#)  libtd.a HP Fibre Channel Tachyon TL/TS/XL2 Driver B.11.11.12 (AR1204) /ux/kern/kisu/TL/src/common/wsio/td_glue.c: Oct 11 2004, 14:45:41

levicorp:>fcmsutil /dev/td1

 Vendor ID is = 0x00103c
 Device ID is = 0x001029
 XL2 Chip Revision No is = 2.3
 PCI Sub-system Vendor ID is = 0x00103c
 PCI Sub-system ID is = 0x00128c
 Topology = PTTOPT_FABRIC
 Link Speed = 2Gb
 Local N_Port_id is = 0x010700
 N_Port Node World Wide Name = 0x50060b000030c835
 N_Port Port World Wide Name = 0x50060b000030c834
 Driver state = ONLINE
 Hardware Path is = 0/3/1/0
 Number of Assisted IOs = 32177942
 Number of Active Login Sessions = 1
 Dino Present on Card = NO
 Maximum Frame Size = 2048
 Driver Version = @(#)  libtd.a HP Fibre Channel Tachyon TL/TS/XL2 Driver B.11.11.12 (AR1204) /ux/kern/kisu/TL/src/common/wsio/td_glue.c: Oct 11 2004, 14:45:41

Good Luck ;)

 Leave a Reply

(required)

(required)

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>

   
© 2012 LevICORP's webnote Suffusion theme by Sayontan Sinha