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] alternative ways to trigger a domain migration

To: mr_ala <mr_ala@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] alternative ways to trigger a domain migration
From: "Tim Wood" <twwood@xxxxxxxxx>
Date: Thu, 11 May 2006 13:03:53 -0400
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 11 May 2006 10:04:31 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=nzCph3SkLh8MI9FICfSNp6YN47xgvUVaVxQ94lcyQWczAGdArQ7SDKzKNLSWm0q8uH1lGfdiwd6DRfXkKZAo+zFK6R8jJFqbT/D6ribv2Fyur9tNnPaGC85XQYdoYvbtZB5iLzy80wp3TptmBoaQ+u+sXt88yvzx3fT0VFZoUVM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060511161855.M43752@xxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <08f801c674a8$7c9d7720$462a0dd4@sb> <F4F43416-FD6F-4434-8017-3A30519B4713@xxxxxxxxxx> <20060511161855.M43752@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On 5/11/06, mr_ala <mr_ala@xxxxxxxxxxxxx> wrote:
Hello

I wonder whether there are other ways than "xm migrate <domainname> ..." to
migrate a domain somewhere else. It would be great if the migration could be
triggered by the domain itself, not from dom0.


From what I understand, this kind of direct communication is not possible. 

On the other hand, the xen commands for doing things like migration are written in python, so if you are willing to get your hands a little dirty you can pretty easily write a server app which runs in domain0 and listens for requests to migrate from the unpriveliged domains.  The server could then run the actual migration commands through the python xen api.
 

Thanks for any hints

Ales Cervenka


_______________________________________________
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