3par san client setup

9:51 PM

1. Deploy Linux RHES 4 32bit
2. Fully up2date the host, including the kernel and check packages
a. up2date -u
b. up2date -f kernel-smp kernel-smp-devel
c. ensure the following packages are installed:
1. sysfsutils
2. sysfsutils-devel
3. udev
4. device-mapper
5. device-mapper-multipath
d. If the package isnt there, run "up2date <package name>"
REBOOT (if you haven't loaded with the new kernel)
3. Install qlogic drivers
a. copy util01:/usr/local/store/Qlogic/qlafc-linux-8.00.03-6-install.tgz to host
b. on host cd /usr/local/src
c. run "tar -xvf qlafc-linux-8.00.03-6-install.tgz"
d. cd qlafc-linux-8.00.03-6-install
e. run ./qlinstall -dp
f. things should look like this - make sure both cards are online:
OPS:rootatiadjaquidb01p qlafc-linux-8.00.03-6-install# ./qlinstall -dp
QLogic HBA Linux Driver Installation
Version: 1.00.00b2pre10
Kernel version: 2.6.9-34.0.2.ELsmp
Distribution: Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
Found QLogic Fibre Channel Adapter in the system
1: QLA2312
Installation will begin for following driver(s)
1: qla2xxx version: v8.00.03
Preparing...
qla2xxx
QLA2XXX – Building the qla2xxx driver...
\
QLA2XXX – Installing the qla2xxx modules to
/lib/modules/2.6.9-34.0.2.ELsmp/kernel/drivers/scsi/qla2xxx/...
Setting up QLogic HBA SNIA API library...
Unloading any loaded drivers
Unloaded module qla2300
Saved copy of /etc/modprobe.conf as
/usr/src/qlogic/v8.00.03-4/backup/modprobe.conf-2.6.9-34.0.2.ELsmp-071706-205444.bak
Saved copy of /boot/initrd-2.6.9-34.0.2.ELsmp.img as
/usr/src/qlogic/v8.00.03-4/backup/initrd-2.6.9-34.0.2.ELsmp.img-071706-205444.bak
QLA2XXX – Rebuilding ramdisk image...
Ramdisk created.
Going to load QLogic FC HBA driver....
Loading module qla2xxx_conf version: v8.00.03....
Loaded module qla2xxx_conf
Loading module qla2xxx version: v8.00.03....
Loaded module qla2xxx
Loading module qla2300 version: v8.00.03....
Loaded module qla2300
Installing scli....
Preparing...
scli
Installation completed successfully.
Target Information on all HBAs:
==============================

HBA Port 0 - QLA2312 Port Name: 50-05-08-B2-00-B9-3E-A2 Port ID: 67-0A-13

Path : 0
Target : 0
Device ID : 0x81
Port ID : 65-07-EF
Product Vendor : 3PARdata
Product ID : VV
Product Revision : 0000
Node Name : 2F-F7-00-02-AC-00-03-23
Port Name : 27-52-00-02-AC-00-03-23
Product Type : Disk
Number of LUN(s) : 1
Status : Online

Path : 0
Target : 1
Device ID : 0x82
Port ID : 65-09-EF
Product Vendor : 3PARdata
Product ID : VV
Product Revision : 0000
Node Name : 2F-F7-00-02-AC-00-03-23
Port Name : 26-51-00-02-AC-00-03-23
Product Type : Disk
Number of LUN(s) : 1
Status : Online


HBA Port 1 - QLA2312 Port Name: 50-05-08-B2-00-B9-3E-A3 Port ID: 68-0A-13

Path : 0
Target : 0
Device ID : 0x81
Port ID : 66-09-EF
Product Vendor : 3PARdata
Product ID : VV
Product Revision : 0000
Node Name : 2F-F7-00-02-AC-00-03-23
Port Name : 27-51-00-02-AC-00-03-23
Product Type : Disk
Number of LUN(s) : 1
Status : Online

Path : 0
Target : 1
Device ID : 0x82
Port ID : 66-07-EF
Product Vendor : 3PARdata
Product ID : VV
Product Revision : 0000
Node Name : 2F-F7-00-02-AC-00-03-23
Port Name : 26-52-00-02-AC-00-03-23
Product Type : Disk
Number of LUN(s) : 1
Status : Online

INSTALLATION SUCCESSFUL!!
QLogic HBA Linux driver installation completed.
4. Edit /etc/multipath.conf
a. at the top, comment out the following:
devnode_blacklist {
devnode "*"
}
c. Change default_prio_callout to "none":
d. Uncomment out the blacklist and fix the hd line:
devnode_blacklist {
wwid 26353900f02796769
devnode "||(ram|raw|loop|fd|md|dm-|sr|scd|st)0-9*"
devnode "||hda-z(0-9*"
devnode "||cciss!c0-9d0-9*]"
}
5. edit /etc/rc.d/rc.sysinit
a: add this:
#3par mapper
if OPS: -c -dev-mapper-control; then
if OPS: -f -etc-multipath.conf -a -x -sbin-multipaht; then
modprobe dm-multipath > /dev/null 2>&1
/sbin/multipath -v 0
/sbin/multipath -l | fgrep 2ac | awk '
Unknown macro: {print "/sbin/kpartx -a /dev/mapper/" $1' |sh fifi right after the lvm2 initialization, but before the SELinux Labels 6. run "chkconfig multipathd on" 7. ls /dev/mapper a. ensure that it exists and there is a control file within 8. create the devices on the 3par and export to the new host a. add host WWNs to the 3par SAN switch zone b. define host in the 3par when it can see those WWNS c. create volume d. create vlun exported to new host 9. reboot the host 10. cat /proc/scsi/scsi to make sure the devices got attached 11. multipath a. run "multipath" b. run "multipath -l" this will show you the disks and paths}

You Might Also Like

0 comments

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results