[DRBD-user] DRBD with KVM for live migrations

Nick Khamis symack at gmail.com
Sun Oct 30 20:32:41 CET 2011

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


Hello Bart,

Don't forget to mention that pcmk actually supports dual primary drbd
with the help
of cman. Bart, I am working on the same project, and currently working
on the cman
integration for dlm support. Would you like to coordinate efforts? I
do not know much
about KVM, but the client asked us to use that instead of XEN or VMWare.

Cheers,

Nick.

On Sun, Oct 30, 2011 at 3:10 PM, Bart Coninckx <bart.coninckx at telenet.be> wrote:
> On 10/30/11 19:35, Trey Dockendorf wrote:
>>
>> Hello, I'm looking to use DRBD for the first time with my existing KVM
>> servers to facilitate live migrations, and had a few questions.  I've
>> seen lots of documentation on using DRBD with LVM based virtual machine
>> disks, but I prefer to use qcow2 images.  Is it possible to have DRBD
>> replicate the volume all the images are stored on rather than each
>> individual VM LVM block device?  What would be used to ensure that only
>> one KVM node is accessing the disks at a time until migration is needed?
>>  If anyone has any advice or suggestions please let me know.  This is
>> my  first time using anything for file system replication.
>>
>> Also, due to limitations of my current network I will not have a private
>> or public network dedicated to the traffic of replication.  Is it
>> possible to use a cross-over cable between my two nodes to facilitate
>> the DRBD function?  Would I still be able to monitor and control DRBD
>> via the node's public port using a different server?
>>
>> Thanks
>> - Trey
>>
>>
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
>
> Hi,
>
> a cluster software like Pacemaker could serve your purpose very well. Do
> incorporate STONITH though, as you will need dual primary DRBD.
> Mind you Pacemaker is NOT easy, requires a lot of study and reading.
>
> Share image files could be done with OCFS2 for example (or any clustering
> file system). You then need to create a Pacemaker resource handling this.
> Personally I never used OCFS2, but there are lots of eaxmples around.
>
> HTH,
>
> B.
>
> _______________________________________________
> 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