Load2010 Kvm Tutorial
Upcoming SlideShare
Loading in...5
×
 

Load2010 Kvm Tutorial

on

  • 2,302 views

 

Statistics

Views

Total Views
2,302
Views on SlideShare
2,281
Embed Views
21

Actions

Likes
0
Downloads
47
Comments
0

1 Embed 21

http://www.slideshare.net 21

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Load2010 Kvm Tutorial Load2010 Kvm Tutorial Presentation Transcript

    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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