X
  • KVM
    July 6, 2017

Enabling KVM on ODA

Tammy Bednar
Senior Director of Product Management

Article Table of Contents

The following rpms are included with Oracle Database Appliance release 12.1.2.11 to enable the KVM hypervisor.

  • kvm -  The kvm package contains the KVM kernel module providing the KVM hypervisor
  • python-virtinst - Provides the virt-install command for creating virtual machines.
  • libvirt - libvirt is an API library for interacting with hypervisors. libvirt uses the xm virtualization framework and the virsh command line tool to manage and control virtual machines.
  • libvirt-python - The libvirt-python package contains a module that permits applications written in the Python programming language to use the interface supplied by the libvirt API.
  • virt-manager* - virt-manager, also known as Virtual Machine Manager, provides a graphical tool for administering virtual machines. It uses libvirt library as the management API. Note: virt-manager RPM was not included in the 12.1.2.11 release.  Please download from YUM library.
  • qemu-kvm - Userspace component of KVM
  • qemu-img - QEMU command line tool for manipulating disk images

To begin using KVM on ODA, you must start the libvirtd deamon.  Logged in as root, type the following command:

service libvirtd start

To verify if libvirtd is running, execute the following command:

service libvirtd status
libvirtd (pid  12401) is running...

Download virt-manager 

In the 12.1.2.11, the virt-manager was not included.  But you can download it.

1. Setup Oracle public yum repository

# cd /etc/yum.repos.d
# wget http://yum.oracle.com/public-yum-ol6.repo

2. Install 'virt-manager'

# yum install virt-manager
Note: some other RPMs will be installed as part of 'virt-manager' dependency

 

If the KVM RPMs are not applied in the Patch?

If the patch did not apply the KVM RPMs, then you can apply them manually.

#cd /opt/oracle/oak/pkgrepos/os/12.1.2.11.0/osrpms
#rpm -ivh libvirt-0.10.2-60.0.1.el6.x86_64.rpm libvirt-python-0.10.2-60.0.1.el6.x86_64.rpm libvirt-client-0.10.2-60.0.1.el6.x86_64.rpm perl-Sys-Virt-0.10.2-6.el6.x86_64.rpm qemu-img-0.12.1.2-2.491.el6.x86_64.rpm python-virtinst-0.600.0-29.0.2.el6.noarch.rpm qemu-kvm-0.12.1.2-2.491.el6.x86_64.rpm oracle-ofed-release-1.0.0-15.el6.x86_64.rpm

 

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.