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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Cloning(making copies) of VMs

To: Deepak Manohar <mjdeepak@xxxxxxxxx>
Subject: Re: [Xen-devel] Cloning(making copies) of VMs
From: "M.A. Williamson" <maw48@xxxxxxxxx>
Date: 15 Nov 2005 15:35:37 +0000
Cc: Jacob Gorm Hansen <jacobg@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>, sowmya dayanand <sowmyad@xxxxxxxxx>
Delivery-date: 2005年11月15日 15:35:40 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdef3c240511141453i477f5cdt9e1dc2faba979655@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <83c5685b0511072225u40ba05c9t121ea92c942286a1@xxxxxxxxxxxxxx> <fdef3c240511141453i477f5cdt9e1dc2faba979655@xxxxxxxxxxxxxx>
Reply-to: mark.williamson@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
A more generic approach would probably question if one should save the
IP address and such information when saving a VM. This is because
information such as IP addresses are "perishable" ie they may not be
valid when restoring the VM.
Probably one should identify such information and selectively save
such information?? -- thinking out aloud.
Yes... But you still need the guest's help here - if its IP address changes, something needs to run ifconfig (or similar) else it'll be restored and ignored messages to its new IP address. The current IP address setting in the config file relies on being able to set the IP on the kernel command line. The command line is only read at boot time, so when we restore we don't get to change it. We really need some sort of daemon / hotplug script in the guest to react to this sort of thing.
Cheers,
Mark
DM
On 11/9/05, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> The problem is that while you are probably sucessful in telling the
> host environment (xen + linux in domain0) that your cloned VM has IP
> 10.10.10.2, the Linux inside VM2 does not know that it is supposed to
> answer the new IP rather than 10.10.10.1, and will just silently drop
> all traffic on 10.10.10.2. It would probably be quite simple (and
> useful, see the Potemkin paper for instance) to have your domain
> answer any incoming IP, or to rewrite all ingoing and outgoing packets
> with a generic address, but you will need to hack either your guest
> Linux or the networking scripts in dom0 to make that happen.
I guess it might be nice (eventually) to have a set of "Xen guest tools", including a hotplug script that gets run on restore, enabling this sort of thing to be configured. The domain would be told about the new IP using xenstore. Of course, this doesn't solve the immediate problem of making it work without hacking the code ;-)
Cheers,
Mark
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Driver Architecture Changes , Ewan Mellor
Next by Date: Re: [Xen-devel] [RFC] rename set-vcpus -> vcpu-set , Ewan Mellor
Previous by Thread: Re: [Xen-devel] Cloning(making copies) of VMs , Deepak Manohar
Next by Thread: Re: [Xen-devel] Cloning(making copies) of VMs , Jacob Gorm Hansen
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /