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 nPar machine.
Find Fibre HBA WWN Details in HP-UX nPar
Find HBA Cards
First login to nPar machine and run the below command to see the details of all 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 = 0x650700 Previous N_Port_id is = 0x650700 N_Port Node World Wide Name = 0x5001438021de4c25 N_Port Port World Wide Name = 0x5001438021de4c24 Switch Port World Wide Name = 0x20070027f880ee6c Switch Node World Wide Name = 0x10000027f880ee6c N_Port Symbolic Port Name = PCPEPSWA_fcd4 N_Port Symbolic Node Name = PCPEPSWA_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 = 0xc90700 Previous N_Port_id is = 0xc90700 N_Port Node World Wide Name = 0x5001438021de4c27 N_Port Port World Wide Name = 0x5001438021de4c26 Switch Port World Wide Name = 0x20070027f880881f Switch Node World Wide Name = 0x10000027f880881f N_Port Symbolic Port Name = PCPEPSWA_fcd5 N_Port Symbolic Node Name = PCPEPSWA_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