[Linux-ha-dev] live migration of virtual Xen domains

Joris Dobbelsteen Joris at familiedobbelsteen.nl
Fri Nov 2 12:49:31 MDT 2007


>-----Original Message-----
>From: linux-ha-dev-bounces at lists.linux-ha.org 
>[mailto:linux-ha-dev-bounces at lists.linux-ha.org] On Behalf Of 
>Sebastian Reitenbach
>Sent: vrijdag 2 november 2007 18:10
>To: linux-ha-dev at lists.linux-ha.org
>Subject: [Linux-ha-dev] live migration of virtual Xen domains
>
>Hi,
>
>I changed Xen_Start/Xen_Stop functions in the Xen OCF resource 
>script. The Xen_start now makes a xm mem-set to already 
>running machines, to shrink the memory of these to make sure 
>the new domain will be able to start. 
>In Xen_stop I did sth. similar. xm mem-set is called, after 
>the domain is stpped, to raise the memory for the remaining 
>virtual domains.
>So far, after some tests, this works well.
>
>Now the hard part is live migration. On live migration, the 
>virtual node is not stopped when transferred between two 
>nodes. This work well as long as on the destination host is 
>enough free memory available. Is there a possibility on the 
>source host to figure out how many memory is available on the 
>destination host? Or any other idea?

There is the XenAPI (or alike) that allows local and remote management.
I didn't use it (only just got it running a bit), but it seems to be
what you need.

<http://wiki.xensource.com/xenwiki/XenApi>

However, the API is not stable, according to the website.

- Joris



More information about the Linux-HA-Dev mailing list