Difference between revisions of "Libvirt"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
* <code>libvirt-bin</code>
 
* <code>libvirt-bin</code>
 
* <code>libvirt-clients</code>: <code>[[virsh]]</code>, [[virt-admin]] virt-host-validate virt-login-shell virt-pki-validate virt-xml-validate
 
* <code>libvirt-clients</code>: <code>[[virsh]]</code>, [[virt-admin]] virt-host-validate virt-login-shell virt-pki-validate virt-xml-validate
* <code>libvirt-daemonn</code>:  
+
* <code>libvirt-daemon</code>:  
 
::libvirtd:  <code>/etc/libvirt/virtlogd.conf</code>
 
::libvirtd:  <code>/etc/libvirt/virtlogd.conf</code>
 
::virt-sanlock-cleanup
 
::virt-sanlock-cleanup

Revision as of 07:00, 6 January 2020

libvirt[1] is a virtualization API with supports for KVM, QEMU, Xen, Virtuozzo, VMWare ESX, LXC, BHyve and more



Ubuntu packages

At least the following packages compose libvirt in Ubuntu:

  • libvirt-bin
  • libvirt-clients: virsh, virt-admin virt-host-validate virt-login-shell virt-pki-validate virt-xml-validate
  • libvirt-daemon:
libvirtd: /etc/libvirt/virtlogd.conf
virt-sanlock-cleanup
virtlockd
virtlogd

Config files and directories

  • Config directories:
/etc/libvirt/
/etc/libvirt/qemu
  • Config files:
/etc/libvirt/virtlogd.conf
Includes information about Unix Socket permissions: unix_sock_group, unix_sock_ro_perms, unix_sock_rw_perms, auth_unix_ro, auth_unix_rw
/var/log/libvirt/qemu
journalctl -u libvirtd

Journalctl errors

libvirtd[14189]: 2019-11-21 15:08:13.035+0000: 14192: error : qemuDomainBlockCommit:17568 : invalid argument: top '/path/to/file/VM_NAME.qcow2' in chain for 'hda' has no backing file

Activities

Basic

Medium

  • Restart libvirtd daemon: systemctl restart libvirtd


Advanced:

See also

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source: https://en.wikiversity.org/wiki/KVM/libvirt

Advertising: