[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drbd-user
Subject:    Re: [DRBD-user] DRBD with KVM for live migrations
From:       Iustin Pop <iustin () google ! com>
Date:       2011-10-31 9:33:12
Message-ID: 20111031093312.GC10967 () google ! com
[Download RAW message or body]

On Sun, Oct 30, 2011 at 01:35:53PM -0500, 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.

If you can accept using LVM (and not qcow), then Ganeti
(code.google.com/p/ganeti) does the following:

- run in single-master mode except during migration (it changes protocol
  from single to dual and back automatically)
- manage drbd and kvm for you

Hope this helps.

regards,
iustin
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic