Tips and tricks: Registering Xen guests with RHN
by The editorial team
Question: How do I register my Red Hat Enterprise Linux Xen Guest system with the Red Hat Network?
Answer:
Important: For Red Hat Enterprise Linux 4 fully-virtualized guests install the latest version of up2date.
This procedure will work for both fully-virtualized and para-virtualized guests.
- The host system (dom0) must be registered with Red Hat Network. Follow standard procedures to register this system with Red Hat Network (RHN).
- Under the System Properties page, subscribe the base system to the appropriate Virtualization Channel. Virtualization allows for up to 4 Xen guest registrations, while Virtualization Platform allows for an unlimited number of Xen guest registrations.
- Make sure that the virtualization add on entitlement is checked “Add-On Entitlements: Virtualization *(0 open entitlements)*”. This is available via rhn.redhat.com –> Systems (Top Red Bar) –> Click on the host
system –> Click Edit These Properties –> Check the add on entitlements
box (Virtualization) –> Click update properties. If you have Advanced
Platform entitlement you can check the “Virtualization Platform” box
instead to be able to register an unlimited number of guests for this host. - Make sure that rhn-virtualization-common and rhn-virtualization-host are installed on the host system. If they are not installed, run:
yum install rhn-virtualization-common rhn-virtualization-host
- Install the Xen guest.
- Make sure that the Xen guest is running. Please note that xenguest is the name of the Xen guest.
xm create xenguest
- From the command line on the host system, run:
rhn_check
- From the command line on the host system, run:
rhn-profile-sync
- From the Xen guest, run:
rhn_register
Now the Xen guest will show up as a registered, virtualized system.







September 12th, 2008 at 11:45 am
Thanks. This is an issue that has been in the back of my mind for months now.
Paul