Tips and Tricks for Using Xen under Ubuntu or Debian
Submitted by specialj on Sat, 2008-05-31 03:19.
I’ve been reading through the launchpad bugs for Xen and thought that I could use them to illustrate some tips and tricks for using Xen in Ubuntu or Debian. I ran into some problems with Xen today on a system after having been upgraded from Ubuntu 7.10 to Ubuntu 8.04 and from Xen 3.1 to Xen 3.2. This should help as a checklist when diagnosing various Xen problems.
Tips
- Always turn off tx-checksumming in each DomU
- Always set a static mac address for each DomU
- Never use Network Manager on a Dom0 (or probably a DomU)
- Make sure to install package python-xml on the Dom0
- Make sure to run the latest kernels in each Ubuntu 8.04 DomU for networking to work
- Be very careful when removing xen-utils-3.1 following an upgrade to xen-utils-3.2
- Use “tap:aio” instead of “file” to access a file backed DomU.
- Take steps to ensure a functional console
- There are several ways to do this.
- bug 205450, bug 144631, bug 139046
- Make sure to remove
/etc/rcS.d/S08hwclockfirst.shand/etc/rcS.d/S11hwclock.shunless using a separate wall clock and especially on i386 architectures- you can run:
update-rc.d hwclock remove; update-rc.d hwclockfirst remove - bug 163605, bug 144631
- you can run:
- Make sure you know the locations of pygrub, hvmloader, and qemu-dm
- See below for locations for Ubuntu 7.10 and 8.04
- bug 132256, bug 132135
- On the i386 architecture make sure to install libc6-xen on every Dom0 and DomU
- Make sure to do a full test of memory with memtest (which should be a given for any computer)
Files
- pygrub:
/usr/bin/pygrub - hvmloader
- gutsy:
/usr/lib/xen-ioemu-3.1/boot/hvmloader - hardy:
/usr/lib/xen/boot/hvmloader
- gutsy:
- qemu-dm
- gutsy:
/usr/lib/xen-ioemu-3.1/bin/qemu-dm - hardy:
/usr/lib/xen/bin/qemu-dm
- gutsy:
Trackback URL for this post:
http://hightechsorcery.com/trackback/136




Recent comments
1 day 10 min ago
10 weeks 1 day ago
10 weeks 6 days ago
16 weeks 1 day ago
16 weeks 1 day ago
16 weeks 1 day ago
16 weeks 6 days ago
16 weeks 6 days ago
17 weeks 5 days ago
17 weeks 5 days ago