linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] RE: using lvm mirroring in clusters
       [not found] <20090406225259.B168561905E@hormel.redhat.com>
@ 2009-04-07 13:22 ` AZZOPARDI Konrad
  2009-04-22  6:36   ` Marian Csontos
  0 siblings, 1 reply; 2+ messages in thread
From: AZZOPARDI Konrad @ 2009-04-07 13:22 UTC (permalink / raw)
  To: linux-lvm

 Hi list,

I am quite new to RedHAt clustering and I am experimenting with RedHat 5.3. I read that LVM mirrors are now supported in cluster mode. At our work place we have two datacentres and each DC has an HDS SAN. The idea is that I put two cluster nodes in each DC and each node will be presented with two multipathed block devices say /dev/dm-5 and /dev/dm-6. How can I create 2 mirrored LVs out of a volume group {comprising the two devices} and assuring that the mirrors are spread between the two devices {to give me the assurance that if one DC is down, data is available in the other device}

Thanks
konrad

--------------------------------------------------------------------

Les informations contenues dans ce message et/ou ses annexes sont 
reservees a l'attention et a l'utilisation de leur destinataire et peuvent etre 
confidentielles. Si vous n'etes pas destinataire de ce message, vous etes 
informes que vous l'avez recu par erreur et que toute utilisation en est 
interdite. Dans ce cas, vous etes pries de le detruire et d'en informer la 
Banque Europeenne d'Investissement.

The information in this message and/or attachments is intended solely for 
the attention and use of the named addressee and may be confidential. If 
you are not the intended recipient, you are hereby notified that you have 
received this transmittal in error and that any use of it is prohibited. In 
such a case please delete this message and kindly notify the European 
Investment Bank accordingly.
--------------------------------------------------------------------
 

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

* Re: [linux-lvm] RE: using lvm mirroring in clusters
  2009-04-07 13:22 ` [linux-lvm] RE: using lvm mirroring in clusters AZZOPARDI Konrad
@ 2009-04-22  6:36   ` Marian Csontos
  0 siblings, 0 replies; 2+ messages in thread
From: Marian Csontos @ 2009-04-22  6:36 UTC (permalink / raw)
  To: LVM general discussion and development

AZZOPARDI Konrad wrote:
>  Hi list,
>
> I am quite new to RedHAt clustering and I am experimenting with RedHat 5.3. I read that LVM mirrors are now supported in cluster mode. At our work place we have two datacentres and each DC has an HDS SAN. The idea is that I put two cluster nodes in each DC and each node will be presented with two multipathed block devices say /dev/dm-5 and /dev/dm-6. How can I create 2 mirrored LVs out of a volume group {comprising the two devices} and assuring that the mirrors are spread between the two devices {to give me the assurance that if one DC is down, data is available in the other device}
>
> Thanks
> konrad
>
> --------------------------------------------------------------------
>
> Les informations contenues dans ce message et/ou ses annexes sont 
> reservees a l'attention et a l'utilisation de leur destinataire et peuvent etre 
> confidentielles. Si vous n'etes pas destinataire de ce message, vous etes 
> informes que vous l'avez recu par erreur et que toute utilisation en est 
> interdite. Dans ce cas, vous etes pries de le detruire et d'en informer la 
> Banque Europeenne d'Investissement.
>
> The information in this message and/or attachments is intended solely for 
> the attention and use of the named addressee and may be confidential. If 
> you are not the intended recipient, you are hereby notified that you have 
> received this transmittal in error and that any use of it is prohibited. In 
> such a case please delete this message and kindly notify the European 
> Investment Bank accordingly.
> --------------------------------------------------------------------
>  
>
>
> _______________________________________________
> 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/
>   
Hi Konrad,
it is as simple as:
# lvcreate -L $SIZE -m1 -n $LV $VG $PV1 $PV2 ...

The "$PV1 $PV2" part does the trick.

See man lvcreate and search the web for details.

-- Marian

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

end of thread, other threads:[~2009-04-22  6:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090406225259.B168561905E@hormel.redhat.com>
2009-04-07 13:22 ` [linux-lvm] RE: using lvm mirroring in clusters AZZOPARDI Konrad
2009-04-22  6:36   ` Marian Csontos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).