[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: drbd non-live migration with drbd





On 01/26/2010 12:28 PM, Fajar A. Nugraha wrote:
On Tue, Jan 26, 2010 at 4:50 PM, Aleksandar Ivanisevic
<aleksandar@xxxxxxxxxxxxx>  wrote:
For PV's this is possible using drbd OCF ra drbd instead of phy in Xen
config, but has some catches related to outdating drbd.

Which catches? Where is this documented? I thought all you have to do
is use drbd block scripts and xen will take care of everything.

Have you tried this? I'm using drbd (tried 8.2 and 8.3) with Xen
3.4.1, drbd block script simply doesn't work. I finally settled with
using drbd 8.3 and phy:/dev/drbd/by-res/

it works, sort of, it is all pretty fishy

if you are using pygrub drbd resource heeds to be named the same as the device (resource drbd0 for /dev/drbd0, etc..) or you can patch blkif.py as in this bug (comment #2)

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1438

it will work as long as you put drbd resource as primary at the beginning, migration and all (so far, did only a few hops)

If you don't use pygrub and specify kernel, root, etc in the config file then the block driver brings up the resource, but it locks up after migration


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.