This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Live migrate using DRBD

On Sat, Jun 05, 2010 at 05:37:49AM +0700, Fajar A. Nugraha wrote:
> On Fri, Jun 4, 2010 at 11:06 PM, Mark Adams <mark@xxxxxxxxxxxxxxxxxx> wrote:
> > EDIT: I've located pygrub and will test the other scripts,
> >
> > Still just incase... Has anyone else got PVM's using DRBD with more than
> > 1 disk live migrating on Debian Lenny with the default drbd scripts?

The scripts don't work well on my setup. It won't run paravirt hosts at
all, and migrating hvm hosts doesnt work.

> It works fine on RHEL/Centos5, drbd83, Xen 3.4.
> You didn't mention how you use the disk. In my experience it's easier
> to simply use phy:/dev/drbd/by-res/ symlinks (which is available since
> drbd 8.3, I think) compared to using drbd:/ (which I never got to
> work) or phy:/dev/drbd* (which is not informative).

I'm using the drbd: resources because they have the built in scripts to
make the hosts primary/secondary etc as required with the live
migration. Does this still work when using the phy:/ or do you need to
do this yourself?

> If it still fails, you might want to try newer version of drbd and
> Xen. AFAIK Lenny's version is pretty old.
> -- 
> Fajar

Xen-users mailing list