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

To: Robert Dunkley <Robert@xxxxxxxxx>
Subject: Re: [Xen-users] Live migrate using DRBD
From: Mark Adams <mark@xxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Jun 2010 17:01:01 +0100
Cc: Miles Fidelman <mfidelman@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 04 Jun 2010 09:02:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C1EAC9C5E752D24C968FF091D446D82360D418@ALTERNATEREALIT>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20100604134859.GA8018@xxxxxxxxxxxxxxxxxx> <C1EAC9C5E752D24C968FF091D446D82360D418@ALTERNATEREALIT>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
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