Difference between revisions of "Libvirt"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
At least the following packages compose libvirt in Ubuntu:
 
At least the following packages compose libvirt in Ubuntu:
 
* <code>libvirt-bin</code>
 
* <code>libvirt-bin</code>
* <code>libvirt-clients</code>: <code>[[virsh]]</code>, <code>[[virt-admin]]</code>, <code>virt-host-validate</code>, <code>[[virt-login-shell]]<code>, <code>[[virt-pki-validate]]</code>, <code>[[virt-xml-validate]]</code>
+
* <code>libvirt-clients</code>: <code>[[virsh]]</code>, <code>[[virt-admin]]</code>, <code>virt-host-validate</code>, <code>[[virt-login-shell]]</code>, <code>[[virt-pki-validate]]</code>, <code>[[virt-xml-validate]]</code>
 
* <code>libvirt-daemon</code>:  
 
* <code>libvirt-daemon</code>:  
 
::<code>libvirtd</code>:  <code>/etc/libvirt/virtlogd.conf</code>
 
::<code>libvirtd</code>:  <code>/etc/libvirt/virtlogd.conf</code>

Revision as of 14:16, 15 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:

libvirtd: /etc/libvirt/virtlogd.conf
virt-sanlock-cleanup
virtlockd
virtlogd
  • libvirt-daemon-system

Config files and directories

  • Config directories:
/etc/libvirt/
/etc/libvirt/storage/
/etc/libvirt/qemu/XML_FILES_FROM_SERVERS.XML
/etc/libvirt/qemu/networks
  • 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
/etc/libvirt/libvirtd.conf


/var/log/libvirt/qemu
journalctl -u libvirtd

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: