Editing Libvirt
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | libvirt<ref>https://libvirt.org/</ref> is a virtualization API with supports for [[KVM]], [[QEMU]], Xen, Virtuozzo, VMWare ESX, LXC, BHyve and more | |
+ | |||
+ | |||
Line 5: | 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>dpkg -s</code> This is a transitional package. You can safely remove it) | * <code>[[libvirt-bin]]</code> (<code>dpkg -s</code> This is a transitional package. You can safely remove it) | ||
− | |||
− | |||
* <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> | + | ::<code>libvirtd</code>: <code>/etc/libvirt/[[virtlogd.conf]]</code> |
::<code>virt-sanlock-cleanup</code> | ::<code>virt-sanlock-cleanup</code> | ||
::<code>virtlockd</code> | ::<code>virtlockd</code> | ||
::<code>[[virtlogd]]</code> (<code>[[systemctl status libvirtd]]</code>) | ::<code>[[virtlogd]]</code> (<code>[[systemctl status libvirtd]]</code>) | ||
− | + | * <code>libvirt-daemon-system</code> | |
− | * <code> | ||
− | |||
== Config files and directories == | == Config files and directories == | ||
* Config directories: | * Config directories: | ||
:: <code>/etc/[[libvirt]]/</code> | :: <code>/etc/[[libvirt]]/</code> | ||
− | :: <code>/etc/ | + | :: <code>/etc/libvirt/storage/</code> |
− | + | :: <code>/etc/[[libvirt]]/qemu/XML_FILES_FROM_SERVERS.XML</code> | |
− | :: <code>/etc/[[libvirt]]/ | ||
:: <code>/etc/[[libvirt]]/qemu/networks</code> | :: <code>/etc/[[libvirt]]/qemu/networks</code> | ||
* Config files: | * Config files: | ||
− | :: <code>/etc/libvirt/ | + | :: <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> | + | :: <code>/etc/libvirt/libvirtd.conf</code> |
* Images directory: <code>/var/lib/libvirt/images</code> (See: <code>[[virsh pool-define-as]]</code>) | * Images directory: <code>/var/lib/libvirt/images</code> (See: <code>[[virsh pool-define-as]]</code>) | ||
− | * | + | * Logs: |
− | :<code> | + | :<code>/var/log/libvirt/[[qemu]]</code> |
− | :<code>[[journalctl | + | :<code>[[journalctl -u libvirtd]]</code> |
:<code>[[systemctl status libvirtd]]</code> | :<code>[[systemctl status libvirtd]]</code> | ||
:<code>[[systemctl restart libvirtd]]</code> | :<code>[[systemctl restart libvirtd]]</code> | ||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
Line 56: | Line 50: | ||
* [[Review libvirt error messages in journald]] | * [[Review libvirt error messages in journald]] | ||
* Understand different CPU model an topologies: https://libvirt.org/formatdomain.html#elementsCPU | * Understand different CPU model an topologies: https://libvirt.org/formatdomain.html#elementsCPU | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* [[MacVTap]] | * [[MacVTap]] | ||
− | |||
− | |||
− | |||
* {{virsh}} | * {{virsh}} | ||
* {{QEMU}} | * {{QEMU}} | ||
− | |||
* {{KVM}} | * {{KVM}} | ||
Advertising: