free hit counter

Example Of Prerequisite Information For Fcp Linux On Zseries; Example Of A Script To Add More Than One Device - IBM TotalStorage DS6000 Attachment Manual

Host systems attachment guide
Hide thumbs Also See for TotalStorage DS6000:
Table of Contents

Advertisement

Adding additional permanent devices for zSeries hosts running
Linux
This topic provides instructions for adding additional permanent devices for zSeries
hosts running Linux.
You must collect the following software configuration information to prepare a Linux
system for accessing the storage unit through fibre-channel:
v Host name of the server that is hosting the Linux system
v Device address and CHPID of the FCP port that is attached to the Linux machine
v Worldwide port name (WWPN) of the FCP port on the zSeries
v Fibre-channel port on the storage unit
v WWPN of the fibre-channel port on the storage unit
You can obtain the data from the hardware management console (HMC), the IBM
TotalStorage DS Storage Manager, and the SAN switch. Figure 49 shows examples
of the prerequisite information that you must have to run FCP Linux on the zSeries.
Linux hostname linuxa
CHPID of the FCP port on the z800 15
WWPN of the FCP port on the z800 50:05:07:64:01:40:01:7d
FC port on the storage unit Enclosure 3 Slot 1
WWPN of the FC port on the storage unit 50:05:07:63:00:c8:95:89
Figure 49. Example of prerequisite information for FCP Linux on zSeries
1. Choose one of the following methods to add devices: write a script or add the
device manually.
a. To add more than one device to your SCSI configuration, write a small script
with all the parameters included. Figure 50 shows an example of such a
script. This is an optional step.
rmmod zfcp
modprobe qdio
modprobe scsi_mod
insmod zfcp map="\
0x0600 1:0x5005076300c89589 0:0x5301000000000000;\
0x0600 1:0x5005076300c89589 1:0x5302000000000000;\
0x0600 1:0x5005076300c89589 2:0x5300000000000000"
modprobe sd_mod
Figure 50. Example of a script to add more than one device
b. Alternatively, you can also add SCSI devices to an existing configuration
with the add_map command. After using this command, you must manually
make the devices known to the SCSI stack. Figure 51 on page 102 shows
an example of how to add SCSI devices through the add_map command.
Chapter 10. Attaching to an IBM S/390 or IBM eServer zSeries host
101

Advertisement

Table of Contents
loading