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

Re: [Xen-users] xen tutorials?



On Tue, Jun 5, 2012 at 10:35 AM, Bill Beauchemin
<bill@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hello All,
> I have been working with Linux since 1999. I am now trying to use
> virtualization useing Xen. I have a project where I have a Dell 2950 server
> with two ethernet ports, and one 1TB drive.  I have 64 bit Debian Squeeze
> installed and running.  I need two instances  of vm's one being devel and
> the other is prod. each should connect through one of the eth ports. so
> devel could be eth0 and prod could be on eth1.
>
> I do have kernel vmlinuz-2.6.32-5-xen-amd64 running.

IIRC debian squeeze is not really the best platform to run xen for
beginners. If you're new to xen, I suggest the archaic-but-just-works
RHEL/Centos5.x.

Or even DON'T use xen, use whatever you're familiar with (e.g. kvm,
vmware, whatever).

And depending on what you run on it, using lxc on ubuntu precise might
actually be a better choice as it is VERY efficient, supported by the
distro, and it looks like:
- you'd be using linux guests anyway
- you'd have full control on all the guests

> I have had so many issues trying to just get one vm running. make a cfg file
> i get errors about installation files or hotplug issues.

Exactly :)

> currently my disk
> structure is
> fdisk -l
>  Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          37      297171   83  Linux
> /dev/sda2              38        6117    48837600   83  Linux
> /dev/sda3            6118        6604     3911827+  82  Linux swap / Solaris
> /dev/sda4            6605      115416   874032390    5  Extended
> /dev/sda5            6605       60098   429690523+  83  Linux
> /dev/sda6           60099       60706     4883728+  82  Linux swap / Solaris
> /dev/sda7           60707      114808   434574283+  83  Linux
> /dev/sda8          114809      115416     4883728+  82  Linux swap / Solaris
> sda1 is the boot
> sda2 is swap for the base debian install and ada3 is swap for that
> sda5 is for devel and sda6 is a swap for that
> sda7 is for prod and sda8 is swap for that
>

FWIW, you didn't have to split it with partition (which will be hard
to modify later). Using LVM would probably be a better choice.


> My main question is if nthere is a tutorial that can help me with getting
> xen installed and configured correctly, configure a guest, install a guest,
> and boot the guest using the above configuration?

As Casey mentioned, the wiki is a good place to start. IIRC there
isn't a specific tutorial for squeeze though, so if you DO get it
working, please update the documentation there :)

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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