Nethence Documentation Lab Webmail Your IP BBDock  


Those documents are obsolete, please use the Nethence Documentation instead.

HomeUnixWindowsOracleObsoleteHardwareDIYMechanicsScriptsConfigsPrivate

Debian GNU/Linux XEN dom0
with XEN3 hypervisor
 
 
Packages' installation
Install the xen micro-kernel, tools and the dom0 linux kernel,
apt-get install \
xen-hypervisor-3.2-1-amd64 \
xen-utils-3.2-1 \
linux-image-xen-amd64 \
xen-tools
 
 
Network configuration
Clean up the config file,
cd /etc/xen/
mv xend-config.sxp xend-config.sxp.dist
sed '/^#/d; /^$/d' xend-config.sxp.dist | sed 's/dummy/bridge/' > xend-config.sxp
 
Otherwise see http://pbraun.nethence.com/doc/sysutils_xen/dom0_network.html
 
 
Tips
To avoid this error in the logs,
xen_net: Memory squeeze in netback driver.
edit xen config,
cd /etc/xen/
vi xend-config.sxp
change,
(dom0-min-mem 96)
and grub config,
vi /boot/grub/menu.lst
change,
kernel /boot/xen-3.2-1-amd64.gz dom0_mem=96M
 
 
sda vs hda
The dom0 kernel behaves differently here,
cd /etc/
cp fstab fstab.dist
vi /etc/fstab
:%s/sda/hda/g
 
 
Ready to go
Reboot,
shutdown -r now
once the host as reboote, check you're running the dom0 kernel,
uname -r
Note. for example 2.6.26-2-xen-amd64
 
 
References
http://tcweb.org/wiki/Xen_dedibox_v3
 

Last update: Jan 08, 2011