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

Re: [Xen-users] xen tutorials?

  • To: xen-users@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Tue, 05 Jun 2012 12:11:35 -0500
  • Delivery-date: Tue, 05 Jun 2012 17:13:15 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>


El 04/06/12 22:35, Bill Beauchemin escribió:
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.
Pretty similar to the setup I use all the time on my own. "Just works", once you get around some issues, particularly the network setup.

1. Do not dedicate physical partitions to each VMs. It's too unflexible, almost nobody uses it so (unless they really know what they are doing), you will not find much references about issues specific to that setup. The most simple way is to store VM's disks as files. A better one, but little bit more complex, to use LVM volumes. If you are already familiar with LVM you probably want to go straight for LVM.

2. Set up your network manually, not via xend's network scripts. Do not attempt to export raw ethX to your VM's. Instead, set up a ethernet bridge on each ethX you wish to use, which is a regular way. Then, in the config file of each VM, you may specify to which bridge it should be plugged.

3. Use xen-tools to perform the initial install of the VM's, it does good job taking care of lots of small details. The default config file is heavily commented.

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.
I guess it's possible to debug it as is, but, IMHO, it does not worth it. You definitely should consider to change the storage model.

This, in most points, repeats what Casey wrote, his advice about the documentation is definitely valid as well.

Alexandre Kouznetsov

Xen-users mailing list



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