DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

How to find HBA cards/ports and WWN Number details in HP-UX (vPar)

November 5, 2017 DbAppWeb Admin

If an HP-UX server or system is connected to one or more SAN switches through Fibre Channel (FC) HBA cards then it is very important for the storage team they assign the storage to the correct server via WWN numbers of FC HBA cards.

nPar: nPar is a hard partition/physical partition of a single computer into multiple partitions, each having separate hardware components.

vPar: vPar is a virtual partition/separation of either a single computer or an nPar into multiple virtual partitions using vPar software.

Here I will show you the method to find out the WWN details of a vPar machine.

Find Fibre HBA WWN Details in HP-UX vPar

Find HBA Cards

First, log in to nPar machine and run the below command to see the details of all HBA cards

# vparstatus -v |grep hba
        hba:avio_stor:0,2,0x50014C2000000010,0x50014C2800000010:npiv:/dev/fcd4
        hba:avio_stor:0,4,0x50014C2000000011,0x50014C2800000011:npiv:/dev/fcd5

OR

Run the below command to see the HBA cards

# ioscan -fnkC fc
Class     I  H/W Path       Driver S/W State   H/W Type     Description
======================================================================
fc        0  0/0/0/3/0/0/2  fcoc   CLAIMED     INTERFACE    HP N/A 10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc0
fc        1  0/0/0/3/0/0/3  fcoc   CLAIMED     INTERFACE    HP N/A 10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc1
fc        2  0/0/0/4/0/0/2  fcoc   CLAIMED     INTERFACE    HP N/A 10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc2
fc        3  0/0/0/4/0/0/3  fcoc   CLAIMED     INTERFACE    HP N/A 10Gb PCIe 2-port Embedded FCoE Adapter
                           /dev/fcoc3
fc        4  0/0/0/5/0/0/0  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 1)
                           /dev/fcd4
fc        5  0/0/0/5/0/0/1  fcd    CLAIMED     INTERFACE    HP 451871-B21 8Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 2)
                           /dev/fcd5

Find WWN Details

Now run the below command to see the WWN details corresponding to /dev/fcd4 and /dev/fcd5

# fcmsutil /dev/fcd4

                           Vendor ID is = 0x1077
                           Device ID is = 0x2532
            PCI Sub-system Vendor ID is = 0x103C
                   PCI Sub-system ID is = 0x3261
                               PCI Mode = PCI Express x4
                       ISP Code version = 5.6.5
                       ISP Chip version = 2
                               Topology = PTTOPT_FABRIC
                             Link Speed = 8Gb
                     Local N_Port_id is = 0x650800
                  Previous N_Port_id is = None
            N_Port Node World Wide Name = 0x5001438021de359d
            N_Port Port World Wide Name = 0x5001438021de359c
            Switch Port World Wide Name = 0x20080027f880ee6c
            Switch Node World Wide Name = 0x10000027f880ee6c
              N_Port Symbolic Port Name = PCPEPSVS_fcd4
              N_Port Symbolic Node Name = PCPEPSVS_HP-UX_B.11.31
                           Driver state = ONLINE
                       Hardware Path is = 0/0/0/5/0/0/0
                     Maximum Frame Size = 2048
         Driver-Firmware Dump Available = NO
         Driver-Firmware Dump Timestamp = N/A
                                   TYPE = PFC
                         NPIV Supported = YES
                         Driver Version = @(#) fcd B.11.31.1303 Dec 10 2012
# fcmsutil /dev/fcd5

                           Vendor ID is = 0x1077
                           Device ID is = 0x2532
            PCI Sub-system Vendor ID is = 0x103C
                   PCI Sub-system ID is = 0x3261
                               PCI Mode = PCI Express x4
                       ISP Code version = 5.6.5
                       ISP Chip version = 2
                               Topology = PTTOPT_FABRIC
                             Link Speed = 8Gb
                     Local N_Port_id is = 0xc90800
                  Previous N_Port_id is = None
            N_Port Node World Wide Name = 0x5001438021de359f
            N_Port Port World Wide Name = 0x5001438021de359e
            Switch Port World Wide Name = 0x20080027f880881f
            Switch Node World Wide Name = 0x10000027f880881f
              N_Port Symbolic Port Name = PCPEPSVS_fcd5
              N_Port Symbolic Node Name = PCPEPSVS_HP-UX_B.11.31
                           Driver state = ONLINE
                       Hardware Path is = 0/0/0/5/0/0/1
                     Maximum Frame Size = 2048
         Driver-Firmware Dump Available = NO
         Driver-Firmware Dump Timestamp = N/A
                                   TYPE = PFC
                         NPIV Supported = YES
                         Driver Version = @(#) fcd B.11.31.1303 Dec 10 2012

 

Related Posts

  • How to Find NIC (Network Interface Card) Details in HP-UX
  • How to Install a .depot Package Using swinstall on HP-UX
  • HP-UX: How to restrict NFS share access to a particular server?
  • crontab: you are not authorized to use cron. Sorry. in HP-UX
  • HP-UX: SSH taking too much time after adding the DNS Servers
  • How to add DNS servers on an HP-UX server
  • How to login to vPar console in HP-UX
  • How to extend the size of Logical Volume (LV) in HP-UX
  • How to determine file system type in HP-UX using command
  • How to check vPar machines status in HP-UX
  • How to find HBA cards/ports and WWN Number details in HP-UX (nPar)
  • How to find HBA cards/ports and WWN Number details in HP-UX (vPar)
  • HP-UX command to get Physical Memory Information
  • HP-UX command to get Processor Information
  • HP-UX command to get Hardware Serial Number
  • su: Sorry in HP-UX while switching from normal user to root user
  • SSH login taking too much time on HP-UX 11.31
  • How to Disable Root SHH Login in HP-UX?
  • hpvmstatus: HPVM currently not running.
  • How to view/print routing table in HP-UX?
  • Create a Logical Volume larger than 2TB and format it in HP-UX
  • Protect SSH Logins with SSH and MOTD Banner Messages in HP-UX
  • Remove welcome message after login in HP-UX 11.31
  • Create a Logical Volume and format it in HP-UX
  • How to rescan new LUNs added in HP-UX 11.31
  • How to reboot a HP-UX machine?
  • How to remove File System, LV and VG in HP-UX and Linux?
  • How to remove NO_HW devices from ioscan in HP-UX without a reboot?
  • Change root user password of vpar machine in HP-UX
Prev Article
Next Article
Tags:3PAR Hardware HP 3PAR HP-UX Linux Mac OS X Storage System Sys Admin System Security

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2025 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com