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

[Xen-devel] [PATCH][RFC] xm, xend: Add new option "change_home_server" t

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH][RFC] xm, xend: Add new option "change_home_server" to xm migrate
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Wed, 14 Oct 2009 14:56:15 +0900
Delivery-date: Tue, 13 Oct 2009 22:56:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

This patch adds a new option to xm migrate command.  A concept of the 
option is inspired from XenServer/XenCenter.  The concept is 
"Change home server (affinity)."
The option name is "change_home_server."

Currently, a config.sxp file of a managed domain is not migrated 
to a destination server even if the migration of the managed domain 
succeeds.  The config.sxp file is kept in a source server.

By the patch, the config.sxp file is migrated with the managed 
domain.  The config.sxp file is unregistered from the source server, 
then the config.sxp file is registered to the destination server.

BTW, should the config.sxp file be always migrated without the 
option?  If the managed domain is migrated without the option, the 
managed domains exist on both the source server and the destination 
server.  (Of course, the managed domain on the source server is 
"halted" state, and the managed domain on the destination server is 
"running" state.)  Is it good that the managed domains with a same 
UUID exist on both servers?
(In the patch, I added the option for compatible.)

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: change_home_server.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][RFC] xm, xend: Add new option "change_home_server" to xm migrate, Masaki Kanno <=