From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.9]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n82DRDiE021250 for ; Wed, 2 Sep 2009 09:27:13 -0400 Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n82DQsYf004853 for ; Wed, 2 Sep 2009 09:26:54 -0400 Received: by ewy7 with SMTP id 7so736839ewy.7 for ; Wed, 02 Sep 2009 06:26:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1251848067.9444.8.camel@chandra-ubuntu> References: <1251848067.9444.8.camel@chandra-ubuntu> Date: Wed, 2 Sep 2009 15:26:52 +0200 Message-ID: <29ae894c0909020626g738c5530l19ac0453df868682@mail.gmail.com> Subject: Re: [linux-lvm] Does LVM have any multipath failover capabilities? From: brem belguebli Content-Type: multipart/alternative; boundary=0016e6de04c453f85a0472983848 Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: sekharan@linux.vnet.ibm.com, LVM general discussion and development --0016e6de04c453f85a0472983848 Content-Type: text/plain; charset=ISO-8859-1 Or you could simply use dm-multipath in round-robin fashion without having to manage priorities etc... This would bring you : - More performance if the device at the other side can take the load - Native failover, if on path dies you'll still have the second path active. On LVM point of view, you just have to pvcreate the mutilpath device (/dev/mapper/mpathX if friendly_user_name true or /dev/mapper/) Brem 2009/9/2, Chandra Seetharaman : > > > On Tue, 2009-09-01 at 17:27 -0600, Chris Worley wrote: > > For example, two iSCSI drives are actually the same drive provided via > > two different subnets: if one of the drives becomes unresponsive, I > > need LVM to seamlessly failover to the other one. > > > > Otherwise, what's the right way to handle this? > > Build lvm on top of a multipathed device (which comprises of the two > paths), with a priority callout that gives higher priority to one path > than the other. > > > > Thanks, > > > > Chris > > > > _______________________________________________ > > 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/ > > _______________________________________________ > 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/ > --0016e6de04c453f85a0472983848 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Or you could simply use dm-multipath in round-robin fashion without ha= ving to manage priorities etc...
=A0
This would bring you :
=A0
=A0=A0=A0=A0=A0 - More performance if the device at the other=A0side c= an take=A0the load
=A0=A0=A0=A0=A0 - Native failover, if on path dies you'll still ha= ve the second path active.
=A0
On LVM point of view, you just have to pvcreate the mutilpath device= =A0 (/dev/mapper/mpathX if friendly_user_name true or /dev/mapper/<your = disk UUID>)
=A0
Brem

=A0
2009/9/2, Chandra Seetharaman <sekharan@us.ibm.com>:

On Tue, 2009-09-01 at 17:27 = -0600, Chris Worley wrote:
> For example, two iSCSI drives are actual= ly the same drive provided via
> two different subnets: if one of the drives becomes unresponsive, I> need LVM to seamlessly failover to the other one.
>
> Oth= erwise, what's the right way to handle this?

Build lvm on top of= a multipathed device (which comprises of the two
paths), with a priority callout that gives higher priority to one path
t= han the other.
>
> Thanks,
>
> Chris
>
>= ; _______________________________________________
> linux-lvm mailing= list
> linux-lvm@redhat.com
&g= t; https://ww= w.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at = http://tldp.org/HOWTO/LVM-HOWT= O/

_______________________________________________
linux-lvm mailing li= st
linux-lvm@redhat.com
<= a href=3D"https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.re= dhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://= tldp.org/HOWTO/LVM-HOWTO/

--0016e6de04c453f85a0472983848--