How To Implement KVM
How To Implement KVM
implement
KVM
Toshaan
Bharvani -
VanTosh
bvba
How to implement KVM
Theory Tutorial
Introduction
KVM Toshaan Bharvani - VanTosh bvba
Tutorial
<[email protected]>
KVM Tools
Building
VM’s
Conclusion
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
Conclusion
Has been involved with CentOS
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory 1 Theory
Introduction Introduction
KVM
KVM
Tutorial
KVM Tools
Building
VM’s 2 Tutorial
Conclusion
KVM Tools
The End
Building VM’s
3 Conclusion
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
1
Tutorial
KVM Tools
Building Theory
VM’s
Conclusion
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
Full virtualization (IBM’s CP/CMS, VirtualPC, VirtualBox,
KVM Qemu)
Tutorial
Hardware-assisted virtualization (VMware, Xen, KVM)
KVM Tools
Building Partial virtualization
VM’s
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
Tutorial
Consolidation of machines
KVM Tools
Separating Production / Staging / Development platforms
Building
VM’s
Prevent Hardware Lock-in
Conclusion
Greener IT (saving idle cycles)
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
The system essentially stays the same.
Tutorial
KVM Tools Security remains an important factor (yes you need to
Building
VM’s
secure a VM)
Conclusion Backups are still required
The End Networking moves closes
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM Full virtualization for Linux
Tutorial Loadable kernel module (kvm.ko, kvm-intel.ko or
KVM Tools
Building
kvm-amd.ko)
VM’s
Can run multiple virtual machines, unmodified Linux or
Conclusion
Windows images.
The End
Virtual machine has private virtualized hardware
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
Tutorial
KVM Tools
Building
VM’s
Conclusion
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
2
Tutorial
KVM Tools
Building Tutorial
VM’s
Conclusion
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
Tutorial
KVM Tools
Building
VM’s
Conclusion
The End
Toshaan virt-install
Bharvani -
VanTosh –hvm
bvba
–accelerate
Theory –name=LOADWinXPPro
Introduction
–ram=2048
KVM
Tutorial
–vcpus=2
KVM Tools –check-cpu
Building
VM’s
–arch=x866 4
Conclusion
–os-type=windows
The End –os-variant=winxp
–sound
–cdrom=/drives/mrepodrive/images/oemmswinxpprosp3.iso
–file=/drives/virtualdrive/mswinxppro.qcow2
–file-size=36
–vnc
–sdl
–keymap=be1-latin
How to implement KVM Toshaan Bharvani - VanTosh bvba 13 / 18
How to
implement Controlling the VM
KVM
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM virsh start <domain>
Tutorial virsh destroy <domain>
KVM Tools
Building virsh create </etc/libvirt/qemu/domainname.xml>
VM’s
Conclusion
virsh list
The End virsh net-start
virsh net-list
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
Tutorial
KVM Tools
Building Microsoft Windows
VM’s
Conclusion
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
3
Tutorial
KVM Tools
Building Conclusion
VM’s
Conclusion
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
Tutorial
Easy to setup
KVM Tools Remain focussed
Building
VM’s Every VM should be treated as another OS
Conclusion
Use more resources you never could
The End
Toshaan
Bharvani -
VanTosh
bvba
Theory
Introduction
KVM
Conclusion
The End
http://www.vantosh.com/publications