How to
  implement
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba
                         How to implement KVM
The...
How to
  implement     $ whoami
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM

Tutorial...
How to
  implement     Table of contents
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory           1     The...
How to
  implement
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM
                      ...
How to
  implement     What is virtualization
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
...
How to
  implement     Types of virtualization
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction...
How to
  implement     Why use virtualization
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
...
How to
  implement     What does & doesn’t change?
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduc...
How to
  implement     What is KVM?
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM      ...
How to
  implement     How does KVM work?
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM...
How to
  implement
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM
                      ...
How to
  implement     Installation & Dependencies
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduc...
How to
  implement     How to install a VM
     KVM

   Toshaan       virt-install
  Bharvani -
   VanTosh       –hvm
    ...
How to
  implement     Controlling the VM
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM...
How to
  implement     What evil system should we build?
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 In...
How to
  implement
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM
                      ...
How to
  implement     Conclusion
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM

Tutori...
How to
  implement     The End
     KVM

   Toshaan
  Bharvani -
   VanTosh
    bvba

Theory
 Introduction
 KVM

Tutorial ...
Upcoming SlideShare
Loading in …5
×

Load2010 Kvm Tutorial

1,814 views
1,758 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,814
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
50
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Load2010 Kvm Tutorial

  1. 1. How to implement KVM Toshaan Bharvani - VanTosh bvba How to implement KVM Theory Tutorial Introduction KVM Toshaan Bharvani - VanTosh bvba Tutorial <toshaan@vantosh.com> KVM Tools Building VM’s Conclusion The End Linux Open Administration Days 10 April 2010 How to implement KVM Toshaan Bharvani - VanTosh bvba 1 / 18
  2. 2. How to implement $ whoami KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM Tutorial Toshaan Bharvani KVM Tools Building Currently working at VanTosh VM’s Conclusion Has been involved with CentOS The End How to implement KVM Toshaan Bharvani - VanTosh bvba 2 / 18
  3. 3. How to implement Table of contents KVM 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 How to implement KVM Toshaan Bharvani - VanTosh bvba 3 / 18
  4. 4. How to implement KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM 1 Tutorial KVM Tools Building Theory VM’s Conclusion The End How to implement KVM Toshaan Bharvani - VanTosh bvba 4 / 18
  5. 5. How to implement What is virtualization KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM Tutorial Running multiple (different) operating systems on 1 KVM Tools physical machine Building VM’s Separation of operating system and the underlying Conclusion hardware The End How to implement KVM Toshaan Bharvani - VanTosh bvba 5 / 18
  6. 6. How to implement Types of virtualization 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 Conclusion Paravirtualization (Xen, UML) The End Operating system-level virtualization (virtual hosting, chroot jail + resource management) Emulation How to implement KVM Toshaan Bharvani - VanTosh bvba 6 / 18
  7. 7. How to implement Why use virtualization KVM 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 How to implement KVM Toshaan Bharvani - VanTosh bvba 7 / 18
  8. 8. How to implement What does & doesn’t change? KVM 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 How to implement KVM Toshaan Bharvani - VanTosh bvba 8 / 18
  9. 9. How to implement What is KVM? KVM 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 How to implement KVM Toshaan Bharvani - VanTosh bvba 9 / 18
  10. 10. How to implement How does KVM work? KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM Tutorial KVM Tools Building VM’s Conclusion The End Figure: KVM visual representation (Pascal Gienger) How to implement KVM Toshaan Bharvani - VanTosh bvba 10 / 18
  11. 11. How to implement KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM 2 Tutorial KVM Tools Building Tutorial VM’s Conclusion The End How to implement KVM Toshaan Bharvani - VanTosh bvba 11 / 18
  12. 12. How to implement Installation & Dependencies KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM Tutorial KVM Tools Building VM’s Conclusion The End How to implement KVM Toshaan Bharvani - VanTosh bvba 12 / 18
  13. 13. How to implement How to install a VM KVM 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
  14. 14. 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 How to implement KVM Toshaan Bharvani - VanTosh bvba 14 / 18
  15. 15. How to implement What evil system should we build? KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM Tutorial KVM Tools Building Microsoft Windows VM’s Conclusion The End How to implement KVM Toshaan Bharvani - VanTosh bvba 15 / 18
  16. 16. How to implement KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM 3 Tutorial KVM Tools Building Conclusion VM’s Conclusion The End How to implement KVM Toshaan Bharvani - VanTosh bvba 16 / 18
  17. 17. How to implement Conclusion KVM 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 How to implement KVM Toshaan Bharvani - VanTosh bvba 17 / 18
  18. 18. How to implement The End KVM Toshaan Bharvani - VanTosh bvba Theory Introduction KVM Tutorial Thank You KVM Tools Building VM’s Conclusion The End Toshaan Bharvani - VanTosh bvba <toshaan@vantosh.com> http://www.vantosh.com/publications A Made with Beamer L TEX a TEXbased Presentation program How to implement KVM Toshaan Bharvani - VanTosh bvba 18 / 18

×