Sunday, January 19, 2014

Locating the WWPN for an HP-UX host

Complete this task to locate the WWPN for a Hewlett-Packard Server host.

  1. Go to the root directory of your HP-UX host.
  2. Type ioscan -fnC fc| more for information on the fibre-channel adapters installed on the host.
    The following is example output:
    fc 0 0/2/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter /dev/td0
    fc 1 0/4/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter /dev/td1
    fc 2 0/6/2/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter /dev/td2 
  3. Look under the description for the Fibre Channel Mass Storage adapter.
    For example, look for the device path name /dev/td1.
  4. Type: fcmsutil /dev/td1 | grep world where /dev/td1 is the path.
    The following is example output:

    # fcmsutil /dev/td1 | grep World
                N_Port Node World Wide Name = 0x50060b000024b139
                N_Port Port World Wide Name = 0x50060b000024b138
    (root@hpmain)/home/root# fcmsutil /dev/td0 | grep World
                N_Port Node World Wide Name = 0x50060b000023a521
                N_Port Port World Wide Name = 0x50060b000023a520
    (root@hpmain)/home/root# fcmsutil /dev/td2 | grep World
                N_Port Node World Wide Name = 0x50060b0000253a8f
                N_Port Port World Wide Name = 0x50060b0000253a8e
    (root@hpmain)/home/root#
Example:
root@dcpib01 [/]# ioscan -fnC fc| more


Class     I  H/W Path  Driver S/W State   H/W Type     Description
================================================================
fc        0  0/2/1/0   fcd   CLAIMED     INTERFACE    HP AB378-60101      4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
                      /dev/fcd0
root@dcpib01 [/]# cmsutil /dev/fcd0 | grep World
sh: cmsutil:  not found.
root@dcpib01 [/]# fcmsutil /dev/fcd0 | grep World
            N_Port Node World Wide Name = 0x5001438007d18819
            N_Port Port World Wide Name = 0x5001438007d18818
            Switch Port World Wide Name = 0x200400051eed11c3
            Switch Node World Wide Name = 0x100000051eed11c3

No comments:

Post a Comment