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

Re: [Xen-users] xen tutorials?



Hello Bill,

I don't know about an all-inclusive guide, but I recommend starting with Xen Man Pages and the Xen Wiki.  The raw text files provide plenty of configuration details, and you should be able to search for tutorials:

With regards to your objectives, networking should be handled by Dom0 via the bridge-utils package and /etc/network/interfaces configuration.  Also you may want to simplify your drive partitions since Xen virtual machines will treat the partitions as drives, which results in a new partition table and sub-partitioning each.


Here is a very basic example of the interfaces file you might want:

auto lo dev prod
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface prod inet manual
bridge_ports eth0
iface dev inet manual
bridge_ports eth1

Then you add a line like this to each virtual machine:
vif=['bridge=dev,model=e1000']

There is a lot of drive specifics you will want to read up on from the man pages, and specific configuration details for linux/unix virtual machines.

If you continue to encounter errors, share them and your Xen version.


I am working on a Debian Wheezy x64 platform with Xen 4.2 a Windows, PFSense, and Debian Wheezy HVM's, so my configuration objectives and syntax may not be exactly what you need, but if you want an example:

Best of luck, and let me know if any of that was unclear.

~Casey


On Mon, Jun 4, 2012 at 11:35 PM, 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.

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. 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

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?

--
Bill Beauchemin
B2 Bass Adventures
Newark, Ca. 94560
(510) 552-7571


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

_______________________________________________
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®.