Aleksandar Ivanisevic ha scritto:
Hi,
after i've read this post
http://article.gmane.org/gmane.comp.emulators.xen.user/33157/match=re+xen+dr...
I've given up on xen and drbd disks for now, and am using phy:, but you'll have to give it drbd device not the volume
disk = [ "phy:/dev/drbd14,xvda,w" ]
Unfortunately, that means that you'll have to handle setting drbd devices primary/secondary yourself. I've written a wrapper script around drbdadm+xm and it has been working more or less ok.
That also means no live migration since drbd device needs to change state sometime mid-migration, but save/move/restore has been working ok for me with really minimal downtimes.
There is also a primary/primary setup with newer drbd but it was awfully unstable when i was testing it a few moths ago, most of the time it was crashing and taking down the complete cluster with it.
regards,
Hi Aleksandar,
I was just starting doing some test following this article:
http://fghaas.wordpress.com/2007/09/03/drbd-806-brings-full-live-migration-f...
So if you say that doesn't work I'll give up on this and I'll go directly to Openvz (actually proxmox)
Thanks
Lorenzo