[DRBD-user] MAX DRBD DEVICES

Isaac González igonzalez at es.clara.net
Wed Dec 17 13:23:04 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

In the other hand, if you setup LVM on top of DRBD you have to do some
workaround to active LV's in the backup node when heartbeat detects the
fail, you have to play with  vgchange -a n /dev/vg00  and drbdadm
secondary resource.

Greetings.

Isaac González Jiménez
Téncnico IDG

igonzalez at es.clara.net
Información General: 902 884 633
Soporte: 902 884 622
Provisión: 902 884 802
Directo: +34 934 452 692
Fax: +34 934 451 920

Claranet
Managed Services Provider
C/General Almirante, 2-28, Torres Cerdá
08014 Barcelona
www.claranet.es




Isaac González escribió:
> Hi,
>
> This is the setup that we've in mind:
>
> We've setup 2 xen servers, each domU have a LV (replicated in each
> server). Each LV will have his DRBD resource. We will use heartbeat to
> use the live xen migration.
>
>
> A bit more explained:
>
> ServerA vg00 (dev/sda4) --> lvxen0 (5GB) --> drbd0 (domU root partition)
> disk = [ 'drbd:drbd0,sda1,w', ]
>
> ServerB vg00 (dev/sda4) --> lvxen0 (5GB) --> drbd0 (domU root partition)
> disk = [ 'drbd:drbd0,sda1,w', ]
>
> Heartbeat will detect a network fail, it must kill machines in serverA
> and poweroff machines in serverB.
>
> Greetings.
>
> Matthias Böttcher escribió:
>   
>> 2008/12/17 Maciej Bogucki <macbogucki at gmail.com>:
>>   
>>     
>>> Matthias Böttcher wrote:
>>>     
>>>       
>>>> Of course. But what I have in mind is a configuration with a number of
>>>> Xen-DomU's where the DomU's can reside on any cluster node and can be
>>>> switched between the nodes independently.
>>>>       
>>>>         
>>> I have done it. Please read my last post about DRBD, LVM and iSCSI.
>>>     
>>>       
>> 2008/12/17 Maciej Bogucki <macbogucki at gmail.com>:
>>   
>>     
>>> He could also spread XEn-DomUs on more than two servers, like as I did it:
>>>
>>> Storage<---->iSCSI<---->Server_X<--->Xen-DomU_XY
>>>
>>> where:
>>> Storage - two node  cluster with Heartbeat, DRBD, LVM, and iSCSI target
>>> Server_X - farm of servers with iSCSI client
>>> XEn-DomU_XY - virtual servers on the top od physical Server_X - where Y is
>>> from 4 to 8 in my case
>>>     
>>>       
>> With this setup you need hardware of at least 4 physical machines, but
>> because of the machine (host) independent storage (iSCSI targets on
>> the redundant storage server) you are free to run and to switch the
>> Xen-DomU's on the physical Xen-Servers.
>>
>> That looks interesting. I have to make myself familiar with iSCSI. At
>> the moment we are using only local SCSI storage.
>>
>> Thanks for sharing your configuration!
>> Matthias Böttcher
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
>>   
>>     
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>   



More information about the drbd-user mailing list