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

Re: LAST_CHECKPOINT and save/restore/migrate compatibility (was Re: [Xen-devel] [PATCH 3 of 4] libxc: provide notification of final checkpoint to restore end)


  • To: rshriram@xxxxxxxxx
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Mon, 4 Apr 2011 10:42:31 +0100
  • Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 04 Apr 2011 02:43:18 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=OL8CTM+JwqDNaRqeaaLa38vJMe2mLs16yhWGJqQKUkif6SnBv9S4G5kEk1rSlCaeCm l4DAhilC2c1rWNN0P9bo+kO/viZ5YtBnOLJjcbwRjPFhbMWBZig4oiYf+vQgis9IAi+6 zqNnnYlDo6Bv1aWlRGaPQGvJBtquWyca+TsTs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Sat, Apr 2, 2011 at 3:03 PM, Shriram Rajagopalan <rshriram@xxxxxxxxx> wrote:
> I agree with George's suggestion on MORE_CHECKPOINTS, for backwards
> compatibility
> wrt live migration.

It turns out that there actually isn't (I don't believe) a
compatibility issue with live migration. the issue I was seeing was
due to a modification I'd made to libxc to get the XenServer / XCP
toolstack (xapi) working with Xen 4.1.  As long as you're using only
open-source tools, you should still be able to migrate 4.0->4.1 --
there will just be a short delay while the toolstack waits for more
checkpoints.

> But for HA, it doest make much sense if a user is able
> to do HA only
> one way and cannot failback. This is not a upgrade scenario. So, that would
> require some
> exception to be thrown when a version incompatibility is detected. IMO, its
> better to
> let the user handle this limitation than letting him/her do the N->N+1 HA
> and then finding out
> that they cannot failback.

Well, you can't actually do HA while one of the two hosts is being
rebooted anyway. :-)  So I think with backwards compatibility, you
could do it with 3 hosts: run on A with B as a fallback while
upgrading C, then run on A with C as a fallback while upgrading B,
then migrate to C (or just pull the plug on A and let it fall back
normally) and run on C with B as a fallback while upgrading A.
Without backwards compatibility, I think you could do it with 4 (so
you always have 2 hosts of a given version).

Or you could just run it in non-HA mode while the hosts are upgraded
serially; for XenServer / XCP, it normally wouldn't take more than 20
minutes to do both, after which point you could turn on HA again.

 -George

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


 


Rackspace

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