OpenSourceSoftware, Ubuntu, Virtualization

Ubuntu Dapper (LTS) with Xen 3 on Dell 1855 x86_64

After setting up Xen 3 on a Dell PowerEdge 1855 with Ubuntu Dapper (LTS) x86_64, I am posting my two cents…

First you need to install Dapper on to your Dell PE 1855, which is no hassle.
Do a minimal install. (I normally don’t use Dom0 for anything else than hosting DomU’s)
Download the latest Xen 3 .tar release for x86_64 architecture and read the readme file 🙂

Then install the applications needed for Xen. Download the Xen 3.x.x x84_64 tar. Unpack and install. After installing, you need to set up grub and of course you want console redirect 😉

1. Under BIOS:
2. Under “Console Redirection”:

Console Redirection .............. DRAC/MC
Failsafe Baud Rate ............... 57600
Remote Terminal Type ............. VT100/VT220
Redirection After Boot ........... Enabled

In /etc/inittab add:

# Dell 1855 Serial Consol Redirect
T1:2345:respawn:/sbin/getty -L ttyS0 57600 vt100

Make sure you have ttyS0 in /etc/securetty

This is how I set up network and bridging.
In /etc/network/interfaces :

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.10.2
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
gateway 192.168.10.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.10.1
dns-search virtual.gamelinux.org
# vlan (500)
post-up vconfig add eth0 500
pre-down vconfig rem eth0.500


# Bridge with vlan500
auto xbrv500
iface xbrv500 inet manual
bridge_ports eth0.500
bridge_stp off
bridge_fd 0

I also installed xen-tools: Makes it easy and fast to install DomU’s. Oneliner:
xen-create-image --hostname domu1 --lvm vg --size 10G --swap 2G --dist dapper --ip 10.10.10.10 --netmask 255.255.255.192 --gateway 10.10.10.1 --memory 512Mb --force --debootstrap

Advertisements
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s