Finding a wwn on aix, irix, or sequent, Finding wwn for hp-ux – HP XP P9500 Storage User Manual

Page 161

Advertising
background image

The following is an example of finding a WWN on Oracle Solaris.

# dmesg |grep Fibre <- Enter the dmesg command.
:
fcaw1: JNI Fibre Channel Adapter model FCW
fcaw1: Fibre Channel WWN: 200000e0694011a4 <- Record the WWN.
fcaw2: JNI Fibre Channel Adapter model FCW
fcaw2: Fibre Channel WWN: 200000e06940121e <- Record the WWN.
#

Finding a WWN on AIX, IRIX, or Sequent

To find the WWN in an IBM AIX, SGI Irix, or Sequent environment, use the fabric switch that is
connected to the host. The method of finding the WWN of the connected server on each port using
the fabric switch depends on the type of switch. For instructions on finding the WWN, see the
manual of the corresponding switch.

Finding WWN for HP-UX

To find the WWN in an HP-UX environment:

1.

Verify that the Fibre Channel adapters and the Fibre Channel device drivers are installed.

2.

Log in to the HP-UX host with root access.

3.

At the command line prompt, type:

/usr/sbin/ioscan -fnC lan

This will list the attached Fibre Channel devices and their device file names. Record the Fibre
Channel device file name (for example, /dev/fcms0).

NOTE:

When the A5158 Fibre Channel adapter is used, at the command line prompt, enter

/usr/sbin/ioscan -fnC fc

for the device name.

4.

Use the fcmsutil command along 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, type:

/opt/fcms/bin/fcmsutil /dev/fcms0

Record the Fibre Channel device file name (for example, /dev/td0).

NOTE:

When using the A5158 Fibre Channel adapter, list the WWN for the device with

the device file name as follows:

/opt/fcms/bin/fcmsutil <device file name>

5.

Record the WWN and repeat the above steps for each Fibre Channel device that you want
to use.

# /usr/sbin/ioscan -fnC lan <- 1
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 <-2
lan 4 8/4.5 fcT1_cntl CLAIMED INTERFACE HP
Fibre Channel Mass Storage Cntl
/dev/fcms4 <-2
lan 5 8/8.5 fcT1_cntl CLAIMED INTERFACE HP
Fibre Channel Mass Storage Cntl
/dev/fcms5 <-2
lan 6 8/12.5 fcT1_cntl CLAIMED INTERFACE HP

Configuring hosts

161

Advertising