Locating the WWPN for a Linux host

Complete this task to locate the worldwide port name (WWPN) for an Intel™ server running either the Red Hat or SUSE version of the Linux operating system with a QLogic adapter.

  1. To locate the WWPN without restarting the host system:
    1. You can find the WWPN in your /proc/scsi/qlaadapter_type/n directory, where adapter_type is the host adapter type and n is the host adapter number for your card. Your host adapter type can be either qlaxxxx for QLogic adapters or lpfc for Emulex adapters.
  2. To locate the WWPN with restarting the host system
    1. Restart the server.
    2. Press Alt+Q to get the FAST!Util menu.
      Note: If you have more than one fibre-channel adapter installed, all the fibre-channel adapters display. Scroll down to the adapter you want. Press Enter.
    3. From the FAST!Util menu, scroll down and select Select Host Adapter.
    4. Scroll up and highlight Configuration Settings. Press Enter.
    5. From the Configuration Settings menu, click Host Adapter Settings.
    6. Write down the 16-digit alphanumeric string that is displayed on your screen.

When you configure storage on the storage unit for fibre-channel attachment, you must specify the worldwide name (WWN) of the fibre-channel adapter in the IBM® System Storage™ DS Storage Manager.

On Linux systems, the required WWN displays in the /var/log/messages system log file when you load the driver. This location, however, depends on the system configuration. You can perform this task automatically during startup, or you can manually perform the task to load the module using the insmod or modprobe command.

Figure 1 shows an example of what is displayed when you type more /var/log/messages.

Figure 1. Example of what is displayed in the /var/log/messages file
# more /var/log/messages
...
Nov 2 08:55:05 skywalker kernel: (scsi): Found a QLA2200 @ bus 1, device 0x1,
irq 20, iobase 0x2300
Nov 2 08:55:10 skywalker kernel: scsi(3): Configure NVRAM parameters...
Nov 2 08:55:10 skywalker kernel: scsi(3): Verifying loaded RISC code...
Nov 2 08:55:10 skywalker kernel: scsi(3): Verifying chip...
Nov 2 08:55:10 skywalker kernel: scsi(3): Waiting for LIP to complete...
Nov 2 08:55:10 skywalker kernel: scsi(3): LOOP UP detected
Nov 2 08:55:10 skywalker kernel: scsi3: Topology - (F_Port), Host Loop address 0xffff
Nov 2 08:55:10 skywalker kernel: scsi(3): Waiting for LIP to complete...
Nov 2 08:55:10 skywalker kernel: scsi3: Topology - (F_Port), Host Loop address 0xffff
Nov 2 08:55:10 skywalker kernel: scsi-qla1-adapter-node=200000e08b02e534;
Nov 2 08:55:10 skywalker kernel: scsi-qla1-adapter-port=210000e08b02e534;
Nov 2 08:55:10 skywalker kernel: scsi-qla1-target-0=5005076300c08b1f;
...
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.