Difference between revisions of "Libvirt"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 25: Line 25:
 
:: <code>/etc/[[libvirt]]/qemu/networks</code>
 
:: <code>/etc/[[libvirt]]/qemu/networks</code>
 
* Config files:
 
* Config files:
:: <code>/etc/libvirt/virtlogd.conf</code>
+
:: <code>/etc/libvirt/[[virtlogd.conf]]</code>
 
::: Includes information about Unix Socket permissions: unix_sock_group, unix_sock_ro_perms, unix_sock_rw_perms, auth_unix_ro, auth_unix_rw
 
::: Includes information about Unix Socket permissions: unix_sock_group, unix_sock_ro_perms, unix_sock_rw_perms, auth_unix_ro, auth_unix_rw
:: <code>/etc/libvirt/[[libvirtd.conf]]</code>
+
:: <code>[[/etc/libvirt/libvirtd.conf]]</code>
  
  

Revision as of 03:09, 10 August 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 (systemctl status libvirtd)
libvirt-guests.sh
  • libvirt-daemon-system
systemctl status libvirt-guests

Config files and directories

  • Config directories:
/etc/libvirt/
/etc/libvirt/storage/ (In Ubuntu there is no default pool. Folder will be automatically created with first pool)
/etc/libvirt/qemu.conf
/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 -r -u libvirtd
systemctl status libvirtd
systemctl restart libvirtd
  • Information
libvirtd --help, the daemon will print out the paths of the Unix domain socket(s) that it listens on

Activities

Basic

Medium


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: