Tech Alliant - Your technology ally

  • blogs
  • events
  • forums
  • training
  • contact us
Home › Blogs › John Hoffler's blog

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Navigation

  • Popular content

Search

Who's online

There are currently 0 users and 1 guest online.

Last viewed

  • A quick look at Liferay Portal Server 24 sec ago
  • Production and non-production in the Virtualization Age 46 sec ago
  • Old School Virtualization 1 min ago
more

Tag John Hoffler's blog

Feed Icon
Google
Delicious
Yahoo!
NetworkedBlogs
Furl
Simplify

Who's new

  • Marlon R. Rigaud
  • autocarrera
  • GeorgeSzynal
  • daemnant
  • lannsaby

Setting up a Xen Server

John Hoffler's picture

John Hoffler — Sat, 10/02/2010 - 8:36pm

New Laptop

I got a new laptop a few weeks ago. This machine, an HP Pavilion dv8 is radical! Intel i7 quad-core processor with multi-threading shows up as an eight-way box in System Monitor. With Blue Ray DVD, 8 GB of memory and 18.4" screen it still came in under $1400 on eBay. I decided to go with Ubuntu this time instead of OpenSUSE. Ubuntu 10.4 (lucid) is working quite well for me. Everything except the fingerprint reader is working. I even got the TV card (which actually came from my previous HP laptop) working, though only for digital TV broadcasts.

Anyway, my wife got my old laptop (an HP Pavilion with 2GHz Core 2 Duo), freeing up her machine to be the new server in the house. Normally, I do a re-install whenever I upgrade my server, but this time I decided to create virtual servers so the next upgrade won't require a re-install. My wife's old box has an Intel e2200 that doesn't support VTx, so Xen's paravirtualization seemed likely to offer better performance than KVM would.

Installing Xen

My first install attempt was to set up Xen on Ubuntu Server edition. That didn't go very smoothly so I started over with Fedora 13, based on what looked easiest on the Xensource page. The Fedora13Xen4 Tutorial link provides a step by step procedure for installing Xen 4.0.1 on Fedora. The only problem I found was that the tutorial indicated I could install binary dom0 kernel if I didn't want to compile my own kernel using the Tutorial instructions. None of the pre-compiled kernels worked for me, so I went back to compiling the kernel using the instructions in the tutorial.

Getting Xen Bridging Working

The tutorial includes instructions for installing several common Linux distributions. I decided to try the Ubuntu install, but couldn't get a DHCP address. I configured the domU (guest) for bridged networking, but it wasn't getting an address from my existing DHCP server.  If I manually set an address the guest still couldn't get to the outside world. I updated the domU configuration to specify virbr0 as the bridge, but that still didn't work. However, dom0 logs at least showed some DHCPDISCOVER and DHCPOFFER messages:

Sep 30 07:32:34 soprano dnsmasq-dhcp[1362]: DHCPDISCOVER(virbr0) 00:16:36:64:3d:20
Sep 30 07:32:34 soprano dnsmasq-dhcp[1362]: DHCPOFFER(virbr0) 192.168.122.210 00:16:36:64:3d:20
Sep 30 07:32:51 soprano dnsmasq-dhcp[1362]: DHCPDISCOVER(virbr0) 00:16:36:64:3d:20
Sep 30 07:32:51 soprano dnsmasq-dhcp[1362]: DHCPOFFER(virbr0) 192.168.122.210 00:16:36:64:3d:20
Sep 30 07:33:07 soprano dnsmasq-dhcp[1362]: DHCPDISCOVER(virbr0) 00:16:36:64:3d:20
Sep 30 07:33:07 soprano dnsmasq-dhcp[1362]: DHCPOFFER(virbr0) 192.168.122.210 00:16:36:64:3d:20

Little did I know I just needed to specify xenbr0 as the bridge. Now the networking seems to be working fine.

  • Xen
  • John Hoffler's blog
  • Add new comment
  • Share/Save

Subscribe for email notifications

Want to be informed when someone posts to your favorite forum or replies to an interesting blog article? Create a Tech Alliant account and you can get email notifications based on authors, individual posts, even topic keywords.

Today's top pages

  • The Hot IT Skills of 2011 (13)
  • Have you checked your electric bill? (3)
  • #NotIntendedToBeAFactualStatement and Why so Many Projects Fail (3)
more

Recent blog posts

  • Embracing Diversity in the Information Age
  • #NotIntendedToBeAFactualStatement and Why so Many Projects Fail
  • The Hot IT Skills of 2011
  • Setting up a Xen Server
  • A quick look at Liferay Portal Server
  • Have you checked your electric bill?
  • Old School Virtualization
  • OK, You're finally an Architect........Now what?
  • Hammers and Screws - Know when you shouldn't use a technology
  • Virtualization: The Importance of a Story to Tell
more

Monthly archive

  • November 2009 (7)
  • December 2009 (8)
  • January 2010 (1)
  • March 2010 (1)
  • May 2010 (1)
  • June 2010 (1)
  • October 2010 (1)
  • January 2011 (2)
  • April 2011 (1)
  • February 2012 (1)

Recent comments

  • Liferay 6.x jQuery update
    1 year 15 weeks ago
  • Good stuff!!
    1 year 16 weeks ago
  • No story, no plot, no characters
    1 year 31 weeks ago
  • "It's the way we have always done it...."
    2 years 1 week ago
  • Yes, let's partner up
    2 years 21 weeks ago
  • Link Network Instruments Virtualization Study
    2 years 22 weeks ago
  • what a great opportunity!
    2 years 22 weeks ago
  • I don't even remember when I first heard it!
    2 years 22 weeks ago
  • Preconceived notions...
    2 years 22 weeks ago
  • "when you're holding a
    2 years 22 weeks ago

All Comments, © and ™ belong to their respective owners/posters
Other content © Copyright 2012 Tech Alliant Corporation, All Rights Reserved

  • blogs
  • events
  • forums
  • training
  • contact us