WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Live migrate using DRBD

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?

On Fri, Jun 04, 2010 at 05:04:08PM +0100, Mark Adams wrote:
> Edit:
> 
> In terms of using this replacement *script*....
> 
> On Fri, Jun 04, 2010 at 05:01:01PM +0100, Mark Adams wrote:
> > Robert is right, if I drop the swap disk out of the config the live
> > migration works correctly (only 1 disk).
> > 
> > In terms of using this replacement disk, has anyone done this on Debian
> > lenny? I can't seem to locate pygrub.
> > 
> > Just incase... Has anyone else got PVM's using DRBD with more than 1
> > disk live migrating on Debian Lenny?
> > 
> > 
> > On Fri, Jun 04, 2010 at 03:00:39PM +0100, Robert Dunkley wrote:
> > > You could try the alternative DRBD transfer scripts here:
> > > http://www.antibozo.net/xen/qemu-dm.drbd
> > > 
> > > I had a similar issues and they fixed it. They work for HVM too. PVM
> > > have issues when more than one hard disk is specified in the config
> > > file.
> > > 
> > > Rob
> > > 
> > > -----Original Message-----
> > > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mark Adams
> > > Sent: 04 June 2010 14:49
> > > To: Miles Fidelman
> > > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > > Subject: Re: [Xen-users] Live migrate using DRBD
> > > 
> > > It's worth noting that if I do a normal migrate it works correctly.
> > > 
> > > On Fri, Jun 04, 2010 at 02:42:55PM +0100, Mark Adams wrote:
> > > > Does anyone have any ideas about this or suggestions to test? 
> > > > 
> > > > Best Regards,
> > > > Mark
> > > > 
> > > > On Thu, Jun 03, 2010 at 02:50:34PM +0100, Mark Adams wrote:
> > > > > Yea I've got that as follows;
> > > > > 
> > > > >   net {
> > > > >   allow-two-primaries;
> > > > >   after-sb-0pri discard-zero-changes;
> > > > >   after-sb-1pri discard-secondary;
> > > > >   }
> > > > > 
> > > > > It all migrates correctly, it just won't destroy the original host
> > > > > correctly!
> > > > > 
> > > > > On Thu, Jun 03, 2010 at 08:58:55AM -0400, Miles Fidelman wrote:
> > > > > > Mark Adams wrote:
> > > > > >> However if I live migrate the domain, it successfully transfers
> > > the
> > > > > >> domain across and is running on the other node, but will stay in
> > > the
> > > > > >> suspended "migrating-domain" on the first node. The log seems to
> > > be
> > > > > >> paused at the following:
> > > > > >>
> > > > > >>    
> > > > > > have you enabled "allow-two-primaries" in your DRBD config file?
> > > > > >
> > > > > > see:
> > > > > > http://www.drbd.org/users-guide-emb/ch-xen.html
> > > > > >
> > > > > > -- 
> > > > > > In theory, there is no difference between theory and practice.
> > > > > > In<fnord>  practice, there is.   .... Yogi Berra
> > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Xen-users mailing list
> > > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > > http://lists.xensource.com/xen-users
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > Xen-users mailing list
> > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > http://lists.xensource.com/xen-users
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > http://lists.xensource.com/xen-users
> > > 
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > > 
> > > The SAQ Group
> > > 
> > > Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ
> > > SAQ is the trading name of SEMTEC Limited. Registered in England & Wales
> > > Company Number: 06481952
> > > 
> > > http://www.saqnet.co.uk AS29219
> > > 
> > > SAQ Group Delivers high quality, honestly priced communication and I.T. 
> > > services to UK Business.
> > > 
> > > Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit 
> > > : Backups : Managed Networks : Remote Support.
> > > 
> > > ISPA Member
> > > 
> > > 
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > 
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Mark Adams
Technical Manager
mark@xxxxxxxxxxxxxxxxxx
.
Campbell-Lange Workshop
www.campbell-lange.net
0207 6311 555
3 Tottenham Street London W1T 2AF
Registered in England No. 04551928

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