Operating System - Linux
1753660 Members
5742 Online
108798 Solutions
New Discussion юеВ

how to use KVM in RHEL 5.4

 
iinfi1
Super Advisor

how to use KVM in RHEL 5.4

hi all,
i have installed RHEL 5.4 and i can see only Xen in the virtualization packages.
i dont see KVM anywhere!!
i dont see any documentation for 5.4 either on RH website till now. just the release notes and technical notes

yum list | grep -i kvm
yields no results.
yum list | grep -i qemu
yields no results.

wat am i missing? :|
6 REPLIES 6
Ivan Krastev
Honored Contributor

Re: how to use KVM in RHEL 5.4

iinfi1
Super Advisor

Re: how to use KVM in RHEL 5.4

thanks for your reply.
the tutorial which you directed me to tells me to register with RHN and then run
yum install kvm

does that mean the kvm packages dont come along with the DVD?
i dont find KVM in the virtualization section.
Rik van Veersen
New Member

Re: how to use KVM in RHEL 5.4

same with me.

could not find kvm package, neither on 5.4 DVD nor via RHN, altough i have Virtualization as add-on Entitlement listet.
iinfi1
Super Advisor

Re: how to use KVM in RHEL 5.4

yes i dont see it anywhere ... if someone can help me here it wud be gr8 ..

meanwhile i will try to get in touch with a red hat person directly after Diwali holidays and post what he has to say ...

Re: how to use KVM in RHEL 5.4

Hi -
this worked for me:

# echo [INSTALLATION_NUMBER] > /etc/sysconfig/rhn/install-num

# rhnreg_ks --username=$RHN_USER --password=$RHN_PW ├в force

THEN:
http://rhn.redhat.com
Choose SYSTEMS

Then select system
├в Alter channel subscription├в
Add ├в RHEL Virtualization├в

# yum ├в y install kvm
# shutdown ├в r now
Matti_Kurkela
Honored Contributor

Re: how to use KVM in RHEL 5.4

If you skip the Installation Number question when installing RHEL 5.x or use an Installation Number which does not belong to a RHEL 5.x Advanced Platform, the virtualization packages are *not* installed automatically.

If you have your RHEL 5.4 media mounted in e.g. /media/cdrom, look into directory /media/cdrom/VT.

There are packages like:

kvm-83-105.el5.x86_64.rpm
kvm-qemu-img-83-105.el5.x86_64.rpm
kvm-tools-83-105.el5.x86_64.rpm

There is also a set of packages named like:

Virtualization-en-US-5.2-11.noarch.rpm
Virtualization-fr-FR-5.2-11.noarch.rpm
(+ many other languages)

I assume this is the RedHat Virtualisation Guide, i.e. the documentation you're looking for.

MK
MK