Training material
KVM hands-on
Linux virtualization from QEMU to live migration
Two Linux hosts, one goal. You start a VM with a single QEMU command, understand disks and overlays with qemu-img and then let libvirt take over. virt-install with cloud-init, storage pools on LVM and NFS, NAT, isolated and bridged networks, notes-api with Postgres as a two-VM appliance. Snapshots and incremental backups, guest agent and virtiofs, performance with IOThreads, pinning and hugepages, remote management with Cockpit, live migration, VMs as code with OpenTofu and troubleshooting in operations. Every failure in the book really happened during testing.
- KVM
- QEMU
- libvirt
- Virtualisierung
- OpenTofu
Training plan
- Foreword
- Day 0: The Training Ground
- Day 1: QEMU by Hand
- Day 2: Understanding Disks
- Day 3: libvirt Takes Over
- Day 4: virt-install and cloud-init
- Day 5: Storage Pools and Volumes
- Day 6: Networks
- Day 7: notes-api as a VM Appliance
- Day 8: Lifecycle, Snapshots and Backups
- Day 9: Guest System Integration
- Day 10: Performance
- Day 11: Remote Control
- Day 12: Live Migration
- Day 13: VMs as Code with OpenTofu
- Day 14: Operations and Troubleshooting
- Day 15: Competition
- Appendix A: Cheat Sheet
- Appendix B: Final Exam