Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Virtualization > Issue <<  2 of 87 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 10806
Last update: 12-04-07
Issue:
How do I set up Xen on Red Hat Enterprise Linux 5?
Resolution:

If Virtualization was not selected during the installation of Red Hat Enterprise Linux 5, the Xen packages will need to be installed manually. The simplest way of accomplishing this is by having the machine registered to the Red Hat Network. First confirm that the server has a virtualization entitlement and is subscribed to the virtualization channel in RHN. Then install the required packages:

# yum install kernel-xen virt-manager xen

Make sure that kernel-xen is the default kernel to boot within the GRUB configuration file, /boot/grub/grub.conf. The default line indicates which kernel will be booted by default. This value is an integer corresponding to one of the title entries in the list of boot options, with the first boot entry being 0.

The Xen daemon service should also be set to start automatically upon boot - otherwise it will need to be manually started before any management or use of virtual machines. To enable xend to automatically start at runlevels 3 and 5:
# chkconfig xend on

Now reboot the machine and it should boot into the Xen kernel. To confirm this, check the name of the currently running kernel. The Xen management interface, xm, should also indicate that Domain-0 (the Xen host) is running:

# uname -r
# xm list

The operating system is now ready to create and host guest virtual machines. For a graphical interface with step-by-step instructions on creating guests, launch virt-manager:

# virt-manager

More information can be found in the Red Hat Enterprise Linux Virtualization Guide, available at http://www.redhat.com/docs/manuals/enterprise/


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Virtualization > Issue <<   2  of  87  >>