Personal tools
You are here: Home Linux Xen Fedora 16 Xen dom0 installation

Fedora 16 Xen dom0 installation

Notes regarding installed a single standalone Xen dom0 server with LVM based storage

 

Install packages

Add the following packages to the minimal installation

Package Description
xen
qemu
libvirt-client
python-virtinst
Virtualisation support
mdadm
smartmontools
parted
Disk management
edac-utils
lm_sensors
edac
mcelog
irqbalance
Machine management
ntp
Time
powertop
iotop
pciutils
usbutils
lsscsi
mtr
bind-utils
man-db
wget
subversion
less
screen
postfix
logwatch
mlocate
yum-utils
 
smolt
abrt
abrt-addon-ccpp
abrt-addon-kernel-oops
abrt-addon-python
Reporting
   
systemctl enable smartd.service
systemctl enable ntpd.service
chkconfig postfix on 
chkconfig network on 
chkconfig netfs off
chkconfig edac on 
chkconfig mcelog on

Swap from using sendmail to using postfix. Postfix was installed above.

# yum erase sendmail

Links

Appendices

/etc/xen/scripts/xen-network-common.sh

Add the lines in bold to disable all IPv6 addresses on the VIF interfaces

# configure interfaces which act as pure bridge ports:
_setup_bridge_port() {
    local dev="$1"
    local virtual="$2"

    # take interface down ...
    ip link set ${dev} down

    if [ $virtual -ne 0 ] ; then
        # Initialise a dummy MAC address. We choose the numerically
        # largest non-broadcast address to prevent the address getting
        # stolen by an Ethernet bridge for STP purposes.
        # (FE:FF:FF:FF:FF:FF)
        ip link set ${dev} address fe:ff:ff:ff:ff:ff || true
    fi

    # ... and configure it
    SYSCTLDEVICE=${dev/.//}
    logger Setting up bridge port for device  ${dev}, aka $SYSCTLDEVICE
    /sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_ra=0 >/dev/null 2>&1
    /sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.autoconf=0 >/dev/null 2>&1
    /sbin/sysctl -e -w net.ipv6.conf.$DEVICE.disable_ipv6=1
    ip addr flush ${dev}
}

Document Actions