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

Re: [Xen-users] Advice for a newbie



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


 


Rackspace

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