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] Advice for a newbie

To: Simon Capstick <simon@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Advice for a newbie
From: Simon Capstick <simon@xxxxxxxxxxxxxxxx>
Date: Tue, 11 Sep 2007 12:11:54 +0100
Cc: GNUbie <gnubie@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Sep 2007 04:03:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46E676C2.5090602@xxxxxxxxxxxxxxxx>
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: <85cb97c10709110217l19daab04g2bfc85c7dfd6e6cf@xxxxxxxxxxxxxx> <46E676C2.5090602@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: IceDove 1.5.0.12 (X11/20070730)
Simon Capstick wrote:
GNUbie wrote:
Hello all,

I'm about to separate the existing two (2) Apache 2.x virtual hosts into its own virtual OS so that for each virtual hosts with a different domain should have its own private place. And I came across this Xen and VServer which I believe a good solution for my needs. I am currently running Debian GNU/Linux Etch AMD64 on my Dell PowerEdge 1950.

I already installed the following packages on my Debian GNU/Linux Etch AMD64 system:


[...]

Please advice.

Thank you in advance.

GNUbie


You'll need to modify your template domU's /etc/fstab (see how to write a Xen config first), and since you're using Debian you'll also have to fill-in /etc/network/interfaces and /etc/hostname.

Then you'll need to create a Xen configuration file (e.g. /etc/xen/my-template-domU) for your template domU.

Once that's done you should be able to boot into it and watch the progress of the domU's console, then be able to login...

# xm create -c my-template-domU

After that you can create copies of your Logical Volumes, alter their contents slightly (network config etc), create new Xen config files for them, and start them as new DomUs.

There are now various tools to help you (e.g. Debian's xen-tools package), so check them out first.

Read the Xen docs and Wiki and check out the man page for xm for more info.

Simon


.. Oh and don't forget to unmount your DomU filesystems in Dom0 before you try running a DomU, although you should get a warning about this.

Simon



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

<Prev in Thread] Current Thread [Next in Thread>