Operating System - Linux
1753959 Members
7217 Online
108811 Solutions
New Discussion юеВ

Re: Installing multipath for RHEL 5

 
SOLVED
Go to solution
WilliamSmith11
Super Advisor

Installing multipath for RHEL 5

Hi may please some body tell me the procedures to install the multipath software for RHEL 5.

I read the instruction from HP but
some body that was installing this software , had to edit the ./INSTALL script because the default script was made for a different kernel according to him.

So he look for the kernel version and edit the ./INSTALL script and run with out error the installation, but this man does not want tell me witch line was edited.

Some body has get practical experience installing this multipath and the driver for qlogic?

The machines are Blades 460.

Thank you

W.S
rperez
6 REPLIES 6
Jimmy Vance
HPE Pro
J Peak
Frequent Advisor

Re: Installing multipath for RHEL 5

This is link to the install instructions for Redhat multipathd. We recently installed without having to edit any INSTALL scripts. We only had to modify /etc/multipath.conf to set our preferences for LUNS and behavior.

http://www.redhat.com/docs/manuals/csgfs/browse/rh-cs-en/ap-rhcs-dm-multipath-usagetxt.html
WilliamSmith11
Super Advisor

Re: Installing multipath for RHEL 5

Now I am trying on a new machine rx6600 with red hat linux 5.4 , the kernel is
2.6.18-128.2.1.el5

The fiber channel that I am using are two
HP FC2142SR or A8002A , I think that are emulex fiber channels adapter.

I also follow this link
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=12169&prodSeriesId=3559651&swItem=co-71367-1&prodNameId=3559652&swEnvOID=4005&swLang=13&taskId=135&mode=4&idx=0

The problem now is that I see two disk presented from a direct attach of an EVA4400.

I only have presented one vdisk of 22GB

Disk /dev/sda: 23.6 GB, 23622320128 bytes
64 heads, 32 sectors/track, 22528 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 23.6 GB, 23622320128 bytes
64 heads, 32 sectors/track, 22528 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Disk /dev/sdb doesn't contain a valid partition table

Some help are welcome.


rperez
Khairy
Esteemed Contributor
Solution

Re: Installing multipath for RHEL 5

hi will,

make sure modprobe.conf contain the following:



modify your blacklist in /etc/multipath.conf
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z]"
devnode "^cciss!c[0-9]d[0-9]*"
}

above will blacklist other all device except sdxx.


You have configure /etc/multipath.conf correctly but please put } at the end of device defination.

device {
fdf
fdsf
fdf
} <-----

when complete modifying, rescan mpath device
# multipath -ll
# multipath -v3

Post output above and let us know the outcome.

Rgds
Khairy
Esteemed Contributor

Re: Installing multipath for RHEL 5

sorry, i clicked submit button too fast. ;(

as i posted in earlier post, make sure /etc/modprobe.conf contain the following

options scsi_mod max_scsi_luns=255

Rgds
Alzhy
Honored Contributor

Re: Installing multipath for RHEL 5

Early RHEL 5.4 Adopter - eh Mate?

yes the INSTALL script in the HP Mutlipath Kit only senses RHEL up to 5.3. You have to edit the INSTALL script as follows:

Add line 41:

40 @rhel53arr=("RHEL5", "release 5", "5.3", "RHEL5U3");
41 @rhel53arr=("RHEL5", "release 5", "5.4", "RHEL5U3");

And your INSTALL script should now install "cleanly"

The INSTALL really simply copies the custom multipath.conf file so your system is ready for all HP StorageWorks Array family.
Hakuna Matata.