Adding Permanent Devices For Zseries Hosts Running Linux - HP XP P9500 Operation Manual

Hp storageworks p9000 mainframe host attachment and operations guide: p9500 disk array (av400-96332, january 2011)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

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 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
WWPN of the FCP port on the zSeries
Fibre Channel port on the storage unit
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.
(page 34)
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.
To add more than one device to your SCSI configuration, write a small script that includes
all the parameters included. This is an optional step.
Alternatively, you can also add SCSI devices to an existing configuration with the add_map
command. After using this command, you must manually map the devices in the SCSI
stack.
2.
To make the devices available permanently, after a reboot, you must create a new initial
ramdisk (RAM that is accessed like a disk) that contains the necessary modules and parameter
information. First, save the module parameters (see
zfcp.conf.
Create a new ramdisk with the mk_initrd utility, then run the zipl utility to update the initial
program load record to point to the new ramdisk.
3.
Enable multipath support using the logical volume manager kernel for Linux z/FCP.
Create physical volumes using the following commands: pvcreate /dev/sda1
pvcreate /dev/sdb1...
Put the physical volumes into a volume group using the following command: vgcreate
fcpvg /dev/sda1 /dev/sdb1...
36
Linux operations
(page
35)) in the configuration file /etc/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks p9000P9500

Table of Contents