HP XP20000/XP24000 HP StorageWorks XP Disk Array Mainframe Host Attachment and - Page 52

Setting up a Linux system to use FCP protocol devices on zSeries hosts

Page 52 highlights

• FCP port on the storage unit: Enclosure 3 Slot 1 • WWPN of the FCP port on the storage unit: 50:05:07:63:00:c8:95:89 Setting up a Linux system to use FCP 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 • 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 You can obtain this information using the HMC, the IBM TotalStorage DS Storage Manager, and the SAN switch. "Setting up storage units for zSeries hosts running Linux" on page 51 shows an example 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 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. 52 Linux operations

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70

FCP port on the storage unit: Enclosure 3 Slot 1
WWPN of the FCP port on the storage unit: 50:05:07:63:00:c8:95:89
Setting up a Linux system to use FCP 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
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
You can obtain this information using the HMC, the IBM TotalStorage DS Storage Manager, and the
SAN switch.
Setting up storage units for zSeries hosts running Linux
on page 51 shows an example
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 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.
Linux operations
52