[ofa-general] Re: Proper method for SRP failover when using two IB ports redundantly

Chris Worley worleys at gmail.com
Tue Sep 1 16:44:53 PDT 2009


Never mind, this question has already been answered by Scott Weitzenkamp:

You need to configure Device Mapper Multipath or some other
multipathing software to get HA.  What OS are you running?

Steps for RHEL are:

1) Edit /etc/multipath.conf and comment out devnode_blacklist (RHEL4)
or blacklist (RHEL5) entry.
2) Run "chkconfig multipathd on".
3) Reboot.
4) After reboot, /dev/mapper should be populated with mutipath block
device entries.
5) You can run "multipath -l" to view the multipath status.

Steps for SLES10 are similar:

1) Run "chkconfig boot.multipath on".
2) Run "chkconfig multipathd on".
3) Reboot.
4) After reboot, /dev/mapper should be populated with mutipath block
device entries.
5) You can run "multipath -l" to view the multipath status.

You use the /dev/mapper block devices, not /dev/sd* block devices.



On Tue, Sep 1, 2009 at 4:09 PM, Chris Worley<worleys at gmail.com> wrote:
> For example, with both ports active, LVM sees each drive twice:
>
> # vgscan
>  Found duplicate PV jBN52kfgOF5ypZauFtnxtgBeSegOkLAu: using /dev/sdc
> not /dev/sdb
>
> Is there a proper way to set one IB port dormant waiting for the other to fail?
>
> Thanks,
>
> Chris
>



More information about the general mailing list