Example Of How To Add Scsi Devices Through The Add_Map Command; Saving The Module Parameters In The /Etc/Zfcp.conf File; Example Of Logical Volume Manager Multipathing - IBM TotalStorage DS6000 Attachment Manual

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

Advertisement

Figure 51. Example of how to add SCSI devices through the add_map command
2. To make the devices available permanently, after a reboot, you must create a
Figure 52. Saving the module parameters in the /etc/zfcp.conf file
3. Next, create a new ramdisk with the mk_initrd utility and then run the zipl utility
4. Enable multipath support, which is provided by the logical volume manager
5. These configurations will yield the SCSI device /dev/sda - /dev/sdcaccessed
Figure 53. Example of Logical Volume Manager Multipathing
102
DS6000 Host Systems Attachment Guide
linuxa:~#echo "0x0600 0x00000001:0x5005076300c89589 \
0x00000001:0x5302000000000000">/proc/scsi/zfcp/add_map
linuxa:~#echo "scsi add-single-device 0 0 1 1">/proc/scsi/scsi
new initial ramdisk (RAM that is accessed like a disk) that contains the
necessary modules and parameter information. First, save the module
parameters in the configuration file /etc/zfcp.conf, as shown in Figure 52.
linuxa:~#cat /proc/scsi/zfcp/map >/etc/zfcp.conf
linuxa:~#cat /etc/zfcp.conf
0x0600 0x00000001:0x5005076300c89589 0x00000000:0x5301000000000000
0x0600 0x00000001:0x5005076300c89589 0x00000001:0x5302000000000000
0x0600 0x00000001:0x5005076300c89589 0x00000002:0x5300000000000000
to update the initial program load record to point to the new ramdisk.
kernel for Linux z/FCP.
a. Create physical volumes with the following commands:
pvcreate /dev/sda1
pvcreate /dev/sdb1...
b. Put the physical volumes into a volume group with the following command:
vgcreate fcpvg /dev/sda1 /dev/sdb1...
c. Create as many logical volumes as you want with the following command:
lvcreate --size 16G fcpvg
d. Enable the alternate paths to the physical volumes with the pvpath
command.
pvpath --path0 --enable y /dev/sda1
pvpath --path1 --enable y /dev/sda1
If both paths have a weight of 0, they will loadbalance.
on the first path and the SCSI device /dev/sdd - /dev/sdf accessed on the
second path, as shown in Figure 53.
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;\ 0x0700 1:0x5005076300ca9589
0:0x5301000000000000;\ 0x0700 1:0x5005076300ca9589 1:0x5302000000000000;\
0x0700 1:0x5005076300ca9589 2:0x5300000000000000" modprobe sd_mod

Advertisement

Table of Contents
loading

Table of Contents