Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Multipath without round-robin?
@ 2004-06-10 20:33 Jedi/Sector One
  2004-06-10 21:34 ` Chris Croswhite
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jedi/Sector One @ 2004-06-10 20:33 UTC (permalink / raw)
  To: linux-lvm

  Hello.
  
  I'm trying to get multipath working with LVM2 (2.6.7-rc2-udm2 kernel) with
an LSI storage array.

  The array has two FC controllers, HBAs are two identical Qlogic 2340.
  
  On the array, "preferred" controllers are assigned to each LUN.
  
  Unfortunately, it looks like dm-multipath always does round-robin load
balancing.

  The result is that the array fills up the (SANtricity) error log with
messages like "LUN was accessed through the wrong controller".

  Is there any way to keep failover abilities without load balancing?
  
  Best regards,
  
       -Frank.
       

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] Multipath without round-robin?
  2004-06-10 20:33 [linux-lvm] Multipath without round-robin? Jedi/Sector One
@ 2004-06-10 21:34 ` Chris Croswhite
  2004-06-10 22:06 ` Austin Gonyou
  2004-06-11 20:06 ` Mike Christie
  2 siblings, 0 replies; 8+ messages in thread
From: Chris Croswhite @ 2004-06-10 21:34 UTC (permalink / raw)
  To: LVM general discussion and development

Decided mdadm would not do the job for you?

mdadm --create -f -lmp -n2 -x1 /dev/md0 /dev/<channela> /dev/<channelb>

This works in fail over mode by explicitly telling md to treat one as a
spare.


On Thu, 2004-06-10 at 13:33, Jedi/Sector One wrote:
>   Hello.
>   
>   I'm trying to get multipath working with LVM2 (2.6.7-rc2-udm2 kernel) with
> an LSI storage array.
> 
>   The array has two FC controllers, HBAs are two identical Qlogic 2340.
>   
>   On the array, "preferred" controllers are assigned to each LUN.
>   
>   Unfortunately, it looks like dm-multipath always does round-robin load
> balancing.
> 
>   The result is that the array fills up the (SANtricity) error log with
> messages like "LUN was accessed through the wrong controller".
> 
>   Is there any way to keep failover abilities without load balancing?
>   
>   Best regards,
>   
>        -Frank.
>        
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] Multipath without round-robin?
  2004-06-10 20:33 [linux-lvm] Multipath without round-robin? Jedi/Sector One
  2004-06-10 21:34 ` Chris Croswhite
@ 2004-06-10 22:06 ` Austin Gonyou
  2004-06-10 22:10   ` Austin Gonyou
  2004-06-10 22:32   ` Jedi/Sector One
  2004-06-11 20:06 ` Mike Christie
  2 siblings, 2 replies; 8+ messages in thread
From: Austin Gonyou @ 2004-06-10 22:06 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

You could just use the qlogic hba driver failover.

ql2xfailover=1 in your rmodules.conf

Jedi/Sector One wrote:

>   Hello.
>  
>   I'm trying to get multipath working with LVM2 (2.6.7-rc2-udm2 
> kernel) with
> an LSI storage array.
>
>   The array has two FC controllers, HBAs are two identical Qlogic 2340.
>  
>   On the array, "preferred" controllers are assigned to each LUN.
>  
>   Unfortunately, it looks like dm-multipath always does round-robin load
> balancing.
>
>   The result is that the array fills up the (SANtricity) error log with
> messages like "LUN was accessed through the wrong controller".
>
>   Is there any way to keep failover abilities without load balancing?
>  
>   Best regards,
>  
>        -Frank.
>       
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>


[-- Attachment #2: Type: text/html, Size: 2505 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] Multipath without round-robin?
  2004-06-10 22:06 ` Austin Gonyou
@ 2004-06-10 22:10   ` Austin Gonyou
  2004-06-10 22:32   ` Jedi/Sector One
  1 sibling, 0 replies; 8+ messages in thread
From: Austin Gonyou @ 2004-06-10 22:10 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

Austin Gonyou wrote:

> You could just use the qlogic hba driver failover.
>
> ql2xfailover=1 in your rmodules.conf


One caveat, if you're not running with write cache mirroring on you your 
volumes, then no matter md or qla failover, you may get data corruption. 
Some apps don't run well with it on because of the performance hit.

> Jedi/Sector One wrote:
>
>>   Hello.
>>  
>>   I'm trying to get multipath working with LVM2 (2.6.7-rc2-udm2 
>> kernel) with
>> an LSI storage array.
>>
>>   The array has two FC controllers, HBAs are two identical Qlogic 2340.
>>  
>>   On the array, "preferred" controllers are assigned to each LUN.
>>  
>>   Unfortunately, it looks like dm-multipath always does round-robin load
>> balancing.
>>
>>   The result is that the array fills up the (SANtricity) error log with
>> messages like "LUN was accessed through the wrong controller".
>>
>>   Is there any way to keep failover abilities without load balancing?
>>  
>>   Best regards,
>>  
>>        -Frank.
>>       
>>


[-- Attachment #2: Type: text/html, Size: 2438 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] Multipath without round-robin?
  2004-06-10 22:06 ` Austin Gonyou
  2004-06-10 22:10   ` Austin Gonyou
@ 2004-06-10 22:32   ` Jedi/Sector One
  1 sibling, 0 replies; 8+ messages in thread
From: Jedi/Sector One @ 2004-06-10 22:32 UTC (permalink / raw)
  To: LVM general discussion and development

On Thu, Jun 10, 2004 at 05:06:16PM -0500, Austin Gonyou wrote:
> You could just use the qlogic hba driver failover.
> ql2xfailover=1 in your rmodules.conf

  With a 2.6 kernel (ql2xxx drivers 8.00)?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] Multipath without round-robin?
  2004-06-10 20:33 [linux-lvm] Multipath without round-robin? Jedi/Sector One
  2004-06-10 21:34 ` Chris Croswhite
  2004-06-10 22:06 ` Austin Gonyou
@ 2004-06-11 20:06 ` Mike Christie
  2004-06-11 21:02   ` Chris Croswhite
  2 siblings, 1 reply; 8+ messages in thread
From: Mike Christie @ 2004-06-11 20:06 UTC (permalink / raw)
  To: LVM general discussion and development

Jedi/Sector One wrote:
>   Hello.
>   
>   I'm trying to get multipath working with LVM2 (2.6.7-rc2-udm2 kernel) with
> an LSI storage array.
> 
>   The array has two FC controllers, HBAs are two identical Qlogic 2340.
>   
>   On the array, "preferred" controllers are assigned to each LUN.
>   
>   Unfortunately, it looks like dm-multipath always does round-robin load
> balancing.

path0 in group0, path1 in group1 etc. When path0 fails you use path1. 
Are you using multipath-tools or settiing up the table by hand. For 
mp-tools there is a failover setting. You still cannot so explciit 
failover but that is in the works.

>   The result is that the array fills up the (SANtricity) error log with
> messages like "LUN was accessed through the wrong controller".
> 
>   Is there any way to keep failover abilities without load balancing?
>   
>   Best regards,
>   
>        -Frank.
>        

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] Multipath without round-robin?
  2004-06-11 20:06 ` Mike Christie
@ 2004-06-11 21:02   ` Chris Croswhite
  2004-06-11 21:34     ` Mike Christie
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Croswhite @ 2004-06-11 21:02 UTC (permalink / raw)
  To: LVM general discussion and development


> path0 in group0, path1 in group1 etc. When path0 fails you use path1. 
> Are you using multipath-tools or settiing up the table by hand. For 
> mp-tools there is a failover setting. You still cannot so explciit 
> failover but that is in the works.

mp-tools?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] Multipath without round-robin?
  2004-06-11 21:02   ` Chris Croswhite
@ 2004-06-11 21:34     ` Mike Christie
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Christie @ 2004-06-11 21:34 UTC (permalink / raw)
  To: csc, LVM general discussion and development

Chris Croswhite wrote:

>>path0 in group0, path1 in group1 etc. When path0 fails you use path1. 
>>Are you using multipath-tools or settiing up the table by hand. For 
>>mp-tools there is a failover setting. You still cannot so explciit 
>>failover but that is in the works.
> 
> 
> mp-tools?
>

Sorry I got lazy. I wrote multipath-tools once above then just made up 
my own abbreviation. Now I have written a lot more than had I just 
written it out :) You can get the tools here btw 
http://christophe.varoqui.free.fr/

> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-11 21:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 20:33 [linux-lvm] Multipath without round-robin? Jedi/Sector One
2004-06-10 21:34 ` Chris Croswhite
2004-06-10 22:06 ` Austin Gonyou
2004-06-10 22:10   ` Austin Gonyou
2004-06-10 22:32   ` Jedi/Sector One
2004-06-11 20:06 ` Mike Christie
2004-06-11 21:02   ` Chris Croswhite
2004-06-11 21:34     ` Mike Christie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox