Thursday, April 29, 2010

Install xen virtual server on linux platform

Before installing xen on the linux (centos or Redhat), please check the compatiblity. Then check whether the server has already installed xen. There packages should be checked. I checked using RPM.

.1 xenserver# rpm -qa |grep xen
xen-libs-3.1.0-13.el5
xen-3.1.0-13.el5
xenserver #rpm -qa |grep kernel-xen
kernel-xen-2.6.21-2950.el5
xenserver-dev #rpm –qa |fgrep virt-manager //for GUI
virt-manager-0.5.2-2.el5

Install :
1.
xenserver# yum install xen
xenserver # yum install kernel-xen
xenserver # yum install virt-manager

2. Edit default=1 in /boot/grub/grub.conf and make sure xen kernel will load.
3. Reboot system : [root@xenserver]# init 6
4. check kernel :
[root@xenserver]# uname -r
2.6.21-2950.el5xen
=====
To check if Xen is running use xm from command line:
[root@xensever]# xm list
Now you can create Xen virtual machines using Xen command lines or xen GUI (virt-manager):

[xenserver@ldev ~]# virt-manager

No comments:

Post a Comment