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-devel

Re: [Xen-devel] Automatic live migration

On Sat, Jan 15, 2011 at 04:59:28PM +0530, Gautam wrote:
>    Automatic live migration means XEN should monitor the workload of the
>    machine and user will define the threshold of
>    any parameter say(CPU usage) then if workload cross the threshold  value
>    then XEN should migrate a virtual machine
>    to the other machine automatically without any user interruption.
> 
>    let me know if you need any further info.
> 

This kind of functionality does not belong to Xen *hypervisor*,
it should be done from the management toolstack.

If we're talking about traditional xen.org hypervisor then the first 
implementation 
could be a script that monitors the resource usage on all physical hosts, 
and executes live migration commands based on the resource usage to balance the 
workloads.

I'm not sure if there's something like this already available for Xen ..
Remember Xen 4.0 and older versions use the xm/xend toolstack,
and the upcoming Xen 4.1 will use the xl/libxl toolstack as the primary 
toolstack.

Both xm/xend and xl/libxl toolstack are more focused on single host management,
while the XAPI toolstack in XenServer and XCP (Xen Cloud Platform) has
multi-host pools.

Which one are you targeting? xen.org hypervisor or XAPI/XCP ?

XAPI toolstack in XenServer/XCP has the concept of "Workload Balancing" (WLB),
which is meant for exactly what you described.

Citrix XenServer includes WLB service, but XCP doesn't, afaik.

See: 
- "XenServer Workload Balancing Administration Tool": 
http://support.citrix.com/article/CTX125365
- "Configuring XenServer Workload Balancing Settings Using XE Commands": 
http://support.citrix.com/article/CTX125186

There are some thirdparty WLB services available for XCP,
see for example http://www.xencloudcontrol.com/ and 
http://www.xencloudcontrol.com/DOCS/load-balancer.txt

Are you thinking of writing your own WLB service?
Hopefully that helps.

-- Pasi


>    On Sat, Jan 15, 2011 at 4:54 PM, Pasi Kärkkäinen <[1]pasik@xxxxxx> wrote:
> 
>      On Sat, Jan 15, 2011 at 02:02:40PM +0530, Gautam wrote:
>      >    i am trying to add auto migration feature in XEN.
>      >    so is anyone has worked related to migration part.
>      >    i need help regarding files related to migration.
>      >
> 
>      Hello,
> 
>      First of all, what do you exactly mean with "automatic live migration" ?
>      -- Pasi
> 
>    --
>    Regards
>    Gautam
> 
> 
> 
> References
> 
>    Visible links
>    1. mailto:pasik@xxxxxx

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