HP StorageWorks XP Disk Array Mainframe Host Attachment and Operations Guide XP24000, XP20000 (A5951 - 96151, September 2007)

Setting up a Linux system to use Fibre Channel Protocol devices on zSeries hosts
Begin by collecting the following software configuration information to prepare a Linux system to
access the storage unit through a Fibre Channel:
Host name of the server hosting the Linux system
Device address (and CHPID) of the FCP port that is attached to the Linux machine
Worldwide port name (WWPN) of the FCP port on the zSeries
Fibre Channel port on the storage unit v WWPN of the Fibre Channel port on the storage unit
You can obtain this information using the hardware management console (HMC), the IBM TotalStorage
DS Storage Manager, and the SAN switch.
Setting up storage units for zSeries hosts running Linux” on page 64 shows examples of the prerequisite
information that you must obtain to run FCP Linux on the zSeries.
Confirm that you have installed the following modules (at a minimum) to use the FCP device with the
storage unit:
qdio: This is the same module is used for other qdio devices
scsi_mod: defines SCSI core parameters
zfcp: provides FCP support for zSeries Linux
sd_mod: SCSI disk support1
Load the modules in the order shown. Use the modprobe command to load all modules. Except for
the zfcp module, you can load all modules without parameters.
The zfcp module requires parameters to map the FCP devices on the storage unit. Each FCP requires
the following parameters:
The device number of the device that is defined in the IOCP for the FCP channel on the zSeries
The SCSI ID starting at 1
The WWPN of the storage unit Fibre Channel port
The SCSI LUN within Linux starting at 0
The FCP LUN of the target volume on the storage unit2
Use the following command string to enter the mapping parameters to the module: map="devno
SCSI_ID:WWPN SCSI_LUN:FCP_LUN" map="0x0600 1:0x5005076300c89589
0:0x5301000000000000"
Adding additional permanent devices for zSeries hosts running Linux
Collect the following software configuration information to prepare a Linux system to access the storage
unit through a Fibre Channel:
Host name of the server that is hosting the Linux system
Device address and CHPID of the FCP port that is attached to the Linux machine
Worldwide port name (WWPN) of the FCP port on the zSeries
Fibre Channel port on the storage unit v WWPN of the Fibre Channel port on the storage unit
This information can be obtained using the hardware management console (HMC), the IBM
TotalStorage DS Storage Manager, and the SAN switch.
Setting up storage units for zSeries hosts running Linux” on page 64 provides an example of the
prerequisite information that must be obtained to run FCP Linux on the zSeries.
1. Choose one of the following methods to add devices: write a script or manually add the device.
Linux Operations66