—————————————–
**[1] Install Xen Hypervisor and Tools **
—————————————–
[root@localhost tj]# yum install xen
…
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
xen x86_64 4.1.1-1.fc15 updates-testing 1.0 M
Installing for dependencies:
PyXML x86_64 0.8.4-26.fc15 fedora 857 k
bridge-utils x86_64 1.2-10.fc15 fedora 28 k
qemu-img x86_64 2:0.14.0-7.fc15 fedora 190 k
xen-hypervisor x86_64 4.1.1-1.fc15 updates-testing 3.7 M
xen-libs x86_64 4.1.1-1.fc15 updates-testing 309 k
xen-licenses x86_64 4.1.1-1.fc15 updates-testing 64 k
xen-runtime x86_64 4.1.1-1.fc15 updates-testing 4.8 M
Transaction Summary
================================================================================
Install 8 Package(s)
Total download size: 11 M
Installed size: 30 M
Is this ok [y/N]:
—————————————–
**[2]Install Xen Dom0-capable linux kernel**
—————————————–
Linux 3 fully supports Xen Virtualisation but it is not available for Fedora 15, so I use linux 3 which built for Fedora 16 (download from http://koji.fedoraproject.org/).
Note that since I mixed with Fedora 16 packages, this will make my current Fedora 15 unstable
[root@localhost xen-kernel]# yum install kernel-3.0-0.rc5.git0.1.fc16.x86_64.rpm mdadm-3.2.2-1.fc16.x86_64.rpm
———————————————————————————-
**[3 ]Use grubby to create a grub.conf entry in a manner such as the following:
———————————————————————————-
[root@localhost xen-kernel]# KERNEL_VERSION=3.0-0.rc5.git0.1.fc16.x86_64
[root@localhost xen-kernel]# ROOT_UUID=`blkid /dev/sda1 -s UUID | awk -F = ‘{ print $2 }’ | tr -d ‘”‘`
//NOTE THAT –args=”…” argument below should be similar to your current fedora installation grub.conf entry
[root@localhost xen-kernel]# grubby \
–add-multiboot=/boot/xen.gz \
–add-kernel=/boot/vmlinuz-${KERNEL_VERSION} \
–args=”ro root=/dev/mapper/VolGroup-LogVolRoot rd_LVM_LV=VolGroup/LogVolRoot rd_LUKS_UUID=luks-f22f5b85-ac46-4b3b-944b-42d4733c3771 rd_LVM_LV=VolGroup/LogVolSwap rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us” \
–initrd=/boot/initramfs-${KERNEL_VERSION}.img \
–title=”Fedora (${KERNEL_VERSION})”
————————————————————–
**[4]Reboot and select your Xen kernel in the GRUB boot menu
————————————————————–
————————————————————————————————————
**[5]Install Virtual Machine Manager (virt-manager) for adminisrating virtual machines for Xen, KVM and QEmu
————————————————————————————————————
[root@localhost ~]# yum install virt-manager libvirt virt-viewer
…
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libvirt x86_64 0.8.8-4.fc15 fedora 1.0 M
virt-manager noarch 0.8.7-4.fc15 fedora 907 k
virt-viewer x86_64 0.3.1-1.fc15 fedora 78 k
Installing for dependencies:
augeas-libs x86_64 0.8.1-2.fc15 fedora 302 k
ebtables x86_64 2.0.9-6.fc15 fedora 95 k
glusterfs x86_64 3.1.2-4.fc15 fedora 1.3 M
glusterfs-fuse x86_64 3.1.2-4.fc15 fedora 54 k
gtk-vnc-python x86_64 0.4.3-1.fc15 fedora 20 k
libgssglue x86_64 0.1-10.fc15 fedora 23 k
libnfsidmap x86_64 0.24-5.fc15 fedora 32 k
libtirpc x86_64 0.2.2-1.fc15 updates-testing 78 k
libvirt-client x86_64 0.8.8-4.fc15 fedora 2.4 M
libvirt-python x86_64 0.8.8-4.fc15 fedora 191 k
lzop x86_64 1.03-3.fc15 fedora 50 k
netcf-libs x86_64 0.1.7-2.fc15 fedora 46 k
nfs-utils x86_64 1:1.2.3-11.fc15 updates 302 k
numactl x86_64 2.0.7-1.fc15 updates-testing 54 k
python-virtinst noarch 0.500.6-2.fc15 fedora 438 k
rpcbind x86_64 0.2.0-10.fc15 fedora 48 k
spice-gtk x86_64 0.5-6.fc15 fedora 35 k
spice-gtk-python x86_64 0.5-6.fc15 fedora 13 k
yajl x86_64 1.0.11-1.fc15 fedora 27 k
Transaction Summary
================================================================================
Install 22 Package(s)
Total download size: 7.5 M
Installed size: 30 M
Is this ok [y/N]:
REFERENCES:
+ http://fedoraproject.org/wiki/Features/XenPvopsDom0
+ http://wiki.xen.org/xenwiki/Fedora13Xen4Tutorial
+ http://wiki.xensource.com/xenwiki/XenParavirtOps
+ http://blogs.oracle.com/wim/entry/linux_mainline_contains_all_the