mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Merge pull request #32273 from changchengx/doc_libvirt
doc/rbd: refine rbd/libvirt usage Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
commit
72ff60db4b
@ -19,6 +19,8 @@ of Cloud Platforms include OpenStack, CloudStack, OpenNebula, etc.
|
||||
| QEMU |
|
||||
+---------------------------------------------------+
|
||||
| librbd |
|
||||
+---------------------------------------------------+
|
||||
| librados |
|
||||
+------------------------+-+------------------------+
|
||||
| OSDs | | Monitors |
|
||||
+------------------------+ +------------------------+
|
||||
|
@ -31,6 +31,8 @@ illustrates how ``libvirt`` and QEMU use Ceph block devices via ``librbd``.
|
||||
| QEMU |
|
||||
+---------------------------------------------------+
|
||||
| librbd |
|
||||
+---------------------------------------------------+
|
||||
| librados |
|
||||
+------------------------+-+------------------------+
|
||||
| OSDs | | Monitors |
|
||||
+------------------------+ +------------------------+
|
||||
@ -107,10 +109,11 @@ To configure Ceph for use with ``libvirt``, perform the following steps:
|
||||
admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok
|
||||
|
||||
The ``client.libvirt`` section name should match the cephx user you created
|
||||
above. If SELinux or AppArmor is enabled, note that this could prevent the
|
||||
client process (qemu via libvirt) from writing the logs or admin socket to
|
||||
the destination locations (``/var/log/ceph`` or ``/var/run/ceph``).
|
||||
|
||||
above.
|
||||
If SELinux or AppArmor is enabled, note that this could prevent the client
|
||||
process (qemu via libvirt) from doing some operations, such as writing logs
|
||||
or operate the images or admin socket to the destination locations (``/var/
|
||||
log/ceph`` or ``/var/run/ceph``).
|
||||
|
||||
|
||||
Preparing the VM Manager
|
||||
|
Loading…
Reference in New Issue
Block a user