2008-05-21 10:25:06兔奴

install xen on RHEL 5

安裝前需先確定是否有支援Intel (vmx) or AMD (svm)

有支援vmx / svm 才可使用Fully-virtualization

確認指令 cat /proc/cpuinfo | grep flags

若有支援vmx 但無法安裝xen 表示vmx 沒有啟動 需到BIOS中enable

$ xm dmesg | grep VMX
(XEN) VMXON is done
(XEN) VMXON is done

xen 安裝完成後

進入 /boot/grub/menu.lst 將 xen 的 kernel 設為default

重新開機 進入xen

RHEL 5 在系統安裝時 找不到xen的安裝項目

我是使用yum 一次完整安裝

RHEL 5 預設只有支援4個guest os

超過4個 會出現 Error: Device 768 (vbd) could not be connected .Failed to find an unused loop device

需購買 Red Hat Enterprise Linux Advanced Platform 版 才可無限使用~

http://www.redhat.com/rhel/server/advanced/