Why do administrators need VM tools?
To manage many hypervisors with varying interfaces efficiently.
What does libvirt provide?
A consistent management interface for hypervisors.
What is virsh?
A command-line tool that uses libvirt’s API.
What is virt-manager?
A graphical interface that uses libvirt for VM management.
What is libvirt?
An open-source library, daemon, and API for hypervisor management.
Name hypervisors supported by libvirt.
KVM/QEMU, Xen, LXC, OpenVZ, VirtualBox, VMware ESXi.
What tasks does libvirt handle?
Starting/stopping guests, snapshotting, migrating, resource tracking.
How does libvirt operate?
Through API requests processed by the libvirtd daemon.
Example of defining a directory-based storage pool with virsh?
Commands: pool-define-as, pool-build, pool-start, pool-autostart.
What is virsh used for?
Command-line interface to interact with libvirt; script-friendly.
Do virsh subcommands map to libvirt API functions?
Yes.
Example virsh commands?
virsh help, list –all, shutdown demo-vm, start demo-vm, reboot demo-vm, save demo-vm /tmp/demo.state, create /tmp/demo.xml.
Is virsh compatible with multiple hypervisors?
Yes, like KVM and Xen.
What is virt-manager?
A desktop graphical interface for libvirt.
What does virt-manager simplify?
VM management with point-and-click options.
Does virt-manager mirror virsh functionality?
Yes, using the same backend.
Example virt-manager usage?
Create new VM, choose ISO, assign resources; generates XML and uses virsh define/start.
What does the performance tab in virt-manager show?
Live statistics (CPU, disk, network) from libvirt.
Who is virt-manager ideal for?
Administrators preferring GUI-based management.