[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: mark.williamson@xxxxxxxxxxxx
  • From: Jacob Gorm Hansen <jacobg@xxxxxxx>
  • Date: Tue, 15 Nov 2005 16:48:49 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, sowmya dayanand <sowmyad@xxxxxxxxx>, Deepak Manohar <mjdeepak@xxxxxxxxx>
  • Delivery-date: Tue, 15 Nov 2005 15:48:56 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X09ygSKMaxocbg0WqTrhC3YJMBDZ9k5O4/ZZUMgxNZ+bxV1DClGJVC7ZVnYxuRI4htsC4ge5UizhpZev/l8woPJ5ck5QL5AOizwk4PgxceoLlJwgmI+4S6mC1VkmaMKVBxWvaSddT7Q/HTn7bXQeD47mV6BUJhnGuKqj75wLoaU=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 15 Nov 2005 15:35:37 +0000, M.A. Williamson <maw48@xxxxxxxxx> wrote:

> We really need some sort of daemon / hotplug script in the guest to react
> to this sort of thing.

Only problem is if the hotplug script or daemon resides on an NFS-root
then. In any case calling on domU userspace to do this will be
error-prone and slow :-(
I think the best thing would be a domU kernel module or similar that
can obtain the new IP address from xenstore and do the ifconfig inside
the domU kernel.
Alternatively the guest could always have the same IP (say 10.0.0.1)
and then in- and outgoing packets could be rewritten to the real IP on
the fly, either by the domU or by some iptables magic in dom0.

Jacob

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.