Install Virtualization for Block Device
QEMU KVM can interact with Ceph Block Devices via librbd
, which is animportant feature for using Ceph with cloud platforms. Once you install QEMU,see QEMU and Block Devices for usage.
QEMU packages are incorporated into Ubuntu 12.04 Precise Pangolin and laterversions. To install QEMU, execute the following:
RPM Packages
- Update your repositories.
- sudo yum update
- Install QEMU for Ceph.
- sudo yum install qemu-guest-agent qemu-guest-agent-win32
To build QEMU from source, use the following procedure:
Install libvirt
To use libvirt
with Ceph, you must have a running Ceph Storage Cluster, andyou must have installed and configured QEMU. See for usage.
Debian Packages
libvirt
packages are incorporated into Ubuntu 12.04 Precise Pangolin andlater versions of Ubuntu. To install on these distributions,execute the following:
- sudo apt-get update && sudo apt-get install libvirt-bin
libvirt
packages are incorporated into the recent CentOS/RHEL distributions.To install , execute the following:
Building libvirt
To build libvirt
from source, clone the libvirt
repository and useAutoGen to generate the build. Then, execute make
and tocomplete the installation. For example:
- git clone git://libvirt.org/libvirt.git
- cd libvirt
- ./autogen.sh
- sudo make install
See for details.