From: "Mark A. Williamson" Subject: Re: will this clever plan work? Date: Thu, 11 Nov 2004 16:19:24 +0000 Message-ID: <200411111619.25796.mark.williamson@cl.cam.ac.uk> References: <41938AB5.5000603@harvee.org> Reply-To: mark.williamson@cl.cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41938AB5.5000603@harvee.org> Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net Cc: "Eric S. Johansson" List-Id: xen-devel@lists.xenproject.org > I thought of two applications for Xen that could be amusing. First is > as a base for a firewall. The idea would be that in order to upgrade to > the next release of the firewall, you would create a new virtual machine > image and disable (but not necessarily expire) the previous version. It should be possible to build something like that on top of Xen. It'd be quite cute too ;-) > Ideally these would be complete system images that one could just add to > and replace as necessary. I do hope it's also possible for a linux > system to change the xen configuration so it could boot to the new > configuration. One nice way to set this up would be: * admin software in dom0 (accessed via console or dedicated NIC) * a separate domain for the firewall software, controlling the NICs directly * when you upgrade, kill the old domain and build a new one (this can be scripted and should be a very quick process with minimal downtime) > My fantasy is that I will be able to build a single disk image for all > of the basic OS and application to be shared between multiple virtual > machines. Update that single core image using Gentoo magic and be able > to have separate partitions holding my application data. Yes, you should be able to do that. If you're using VBDs (not NFS), the standard caveats for shared data apply: * domains can't write to the shared data * you can't update the shared data while the domains are running (otherwise you'll confuse them) $0.02, Mark ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click