Operating System - Linux
1753318 Members
6000 Online
108792 Solutions
New Discussion юеВ

Re: Multipathing in LINUX with Emulex HBA in BL460c

 
SOLVED
Go to solution
Md. Farhan A Azam
Trusted Contributor

Multipathing in LINUX with Emulex HBA in BL460c

Hi Gurus,

I've one BL460 server with Linux 5.3 OS and Emulex LPe1105-HP 4Gb FC HBA for HP c-Class BladeSystem is installed in the server.

I've allocated 1TB space from EVA-4400 to the host. And i am able to see the allocated LUN via 4 path becaue of 2 controller and 2 SAN switch.

Now i want to configure Multipathing with Emulex card driver. So that i can see 1 LUN instead of these four. Kindly suggest where i'll get the driver for Linux 5.3 and what will be the installation and configuration process.
8 REPLIES 8
Sameer_Nirmal
Honored Contributor

Re: Multipathing in LINUX with Emulex HBA in BL460c

Md. Farhan A Azam
Trusted Contributor

Re: Multipathing in LINUX with Emulex HBA in BL460c

Hi Sammer,

Thanks for your response,

But i can see in relaese note that this driver is not supported with RHEL 5.3.

I am trying to find the driver, any help on this will be appreciated.


thnx...farhan
Nick W
Frequent Advisor

Re: Multipathing in LINUX with Emulex HBA in BL460c

I think that you may need to use the In-box drivers (supplied by RedHat) and switch over to using the RedHat OS-level multipathing capability (I think this is 'device mapper')
Sorry, I can't provide any specific links, but it should get you started...

Regards,
Nick
Tim Nelson
Honored Contributor

Re: Multipathing in LINUX with Emulex HBA in BL460c


Typically you only need to modify the /etc/multipath.conf file, comment out the devnode "*" in the blacklist section.

You can also add nice/alias names to the multipaths section.

run multipath -ll

You now access all devices using either /dev/mapper/nice-name or /dev/dm-#

The multipath.conf has a number of examples as does the man page.
Md. Farhan A Azam
Trusted Contributor

Re: Multipathing in LINUX with Emulex HBA in BL460c

Hi Tim,

i've installed HP DeviceMapper.

[root@ms1 doc]# multipath -ll
mpath0 (3600508b4000a5d6200007000001b0000) dm-0 HP,HSV300
[size=1.0T][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 0:0:0:1 sda 8:0 [active][ready]
\_ 1:0:1:1 sdd 8:48 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 0:0:1:1 sdb 8:16 [active][ready]
\_ 1:0:0:1 sdc 8:32 [active][ready]
[root@ms1 doc]#
Disk /dev/sda: 1099.5 GB, 1099511627776 bytes
255 heads, 63 sectors/track, 133674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 133674 1073736373+ 5 Extended

Disk /dev/sdb: 1099.5 GB, 1099511627776 bytes
255 heads, 63 sectors/track, 133674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 133674 1073736373+ 5 Extended

Disk /dev/sdc: 1099.5 GB, 1099511627776 bytes
255 heads, 63 sectors/track, 133674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 133674 1073736373+ 5 Extended

Disk /dev/sdd: 1099.5 GB, 1099511627776 bytes
255 heads, 63 sectors/track, 133674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 1 133674 1073736373+ 5 Extended

Disk /dev/dm-0: 1099.5 GB, 1099511627776 bytes
255 heads, 63 sectors/track, 133674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/dm-0p1 1 133674 1073736373+ 5 Extended
[root@ms1 doc]#


I can see /dev/dm-0p1 but why other paths are still visible.
dirk dierickx
Honored Contributor

Re: Multipathing in LINUX with Emulex HBA in BL460c

you can blacklist the paths you do not want to see in the device mapper multipath config file.
Tim Nelson
Honored Contributor
Solution

Re: Multipathing in LINUX with Emulex HBA in BL460c

You will always see the others.

If you mulitpath to control the ios down multiple paths then use the /dev/dm-# device names to access the device(s)..

/dev/sda, /dev/sdb, /dev/sdc and /dev/sdc are all the same device down four different paths, fdisk just is not smart enough to know about it, but then again why should it.


If you filter out /dev/sda,b,c,d as previously mentioned using the blacklist option then multipath will not work as these are the exact devices that you wish to multipath.


To multipath or not to multipath. Which do you wish to do?



Md. Farhan A Azam
Trusted Contributor

Re: Multipathing in LINUX with Emulex HBA in BL460c

Tahnks to all of you....