open source virtualization

11,718 views
11,585 views

Published on

My Open Source Virtualization talk

Published in: Technology
1 Comment
12 Likes
Statistics
Notes
  • IBM Mainframes were using Virtualization well over 20 yrs ago. They had 2 types of Mainframes that used Virtualization before any other OS. They were the IBM VM(VM/370 was a reimplementation of CP/CMS, and was made available in 1972). The Second to follow was the one that companies and some Universities still use today called MVS ESA z/390 family.

    The commands to operate and manage both are also totally different. You can't use Jes2 or Jes3 commands on a VM....only on Z/series and vice versa. So in a nutshell.....Virtualization came from Mainframes. :)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
11,718
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
433
Comments
1
Likes
12
Embeds 0
No embeds

No notes for slide
  • open source virtualization

    1. 1. Open Source Virtualization An overview Kris Buytaert [email_address]
    2. 2. Kris Buytaert <ul><li>Senior Linux and Open Source Consultant @inuits.be
    3. 3. „ Infrastructure Architect“
    4. 4. Linux since 0.98
    5. 5. OpenMosix, openQRM, ...
    6. 6. Early Adopter (Xen, MySQL Cluster)
    7. 7. Automating Large Scale Deployment , High Availability
    8. 8. Surviving the 10 th floor test
    9. 9. CoAuthor of Virtualization with Xen
    10. 10. http://www.krisbuytaert.be/blog/
    11. 11. http://www.virtualization.com/ </li></ul>
    12. 12. <ul><li>Why Virtualization Matters
    13. 13. Virtualization vs Virtualization
    14. 14. Where we come from
    15. 15. Now and Xen
    16. 16. Managing Virtual Machines
    17. 17. Where are we heading ? </li></ul>Agenda
    18. 18. <ul><li>Running different operating systems together on 1 machine
    19. 19. separate an operating system from the underlying platform resources </li></ul>What is Virtualization ?
    20. 20. <ul><li>Consolidation
    21. 21. Saving Idle Cycles
    22. 22. Security
    23. 23. Separating Development/Staging/Production platforms
    24. 24. Hardware Independence
    25. 25. A Greener Environment
    26. 26. Having a budget that needs to be emptied.
    27. 27. All the cool kids are doing it </li></ul>Why Virtualization Matters
    28. 28. <ul><li>High Availability </li><ul><li>Live Migration is not a HA solution ! </li></ul><li>Vendor Lock In
    29. 29. Heavy IO </li><ul><li>Don't virtualize your Databases
    30. 30. Don't virtualize your heavy loaded mailservers </li></ul><li>Hardware Dependencies </li><ul><li>Live Migration ? </li></ul></ul>Why Virtualization is Dangerous
    31. 31. <ul><li>Single OS image: Ensim, Vserver, Solaris Zones, openVZ </li><ul><li>Group user processes into resource containers
    32. 32. Hard to get strong isolation
    33. 33. Typically used for Hosting/Virtual Hosting/ISP
    34. 34. Run a lot of almost identical Virtual Machines
    35. 35. 1 single kernel </li></ul></ul>Chroot’s on steroids Virtualization vs Virtualization
    36. 36. <ul><li>Full virtualization: VMware, VirtualPC, Qemu, VirtualBox </li><ul><li>Run multiple unmodified guest OSes
    37. 37. Hard to efficiently virtualize x86
    38. 38. No Access to the hardware
    39. 39. No Realtime guarantees
    40. 40. Problematic for certain privileged instructions </li></ul></ul>Virtualization vs Virtualization
    41. 41. <ul><li>Para-virtualization: UML, Xen, </li><ul><li>Run multiple guest OSes ported to special arch
    42. 42. Arch Xen/x86 is very close to normal x86
    43. 43. Some Access to underlying hardware
    44. 44. Better Performance
    45. 45. Needs modification to the OS </li></ul></ul>Virtualization vs Virtualization
    46. 46. Hardware Supported Virtualization <ul><ul><li>Xen
    47. 47. KVM
    48. 48. Others adopted slowly </li></ul></ul><ul><li>No more changes to the software ,
    49. 49. Hardware solves the problem </li></ul>Virtualization vs Virtualization
    50. 50. <ul><li>IBM Mainfraimes
    51. 51. First Virtualization Aquisition Ever ? </li></ul>Looking back at a decade of Virtualization
    52. 52. <ul><li>IBM Mainframes
    53. 53. First Virtualization Aquisition Ever ? </li><ul><li>1994 Kevin Lawton starts Bochs development </li><ul><li>Full x86 emulator </li></ul><li>1999 Work on Plex86 starts (aka FreeMWare) </li><ul><li>Lightweight Linux Virtualization </li></ul><li>1999 Mandrake Software buys Bochs </li></ul></ul>Looking back at a decade of Virtualization
    54. 54. For those unfamiliar with my background, I authored a full x86 PC emulation project in the 1990's, called bochs. It was used in one form or another, by a number of virtualization players, including an R&D project at Stanford which became Vmware. Kevin Lawton on his blog march 2009 Looking back at a decade of Virtualization
    55. 55. <ul><li>DOSEmu
    56. 56. Win4Lin
    57. 57. Wine </li></ul>Oldskool Emulation
    58. 58. <ul><li>VNC
    59. 59. FreeNX </li><ul><li>NoMachines, lightweigth, proxies </li></ul><li>This is Decades old :X11 !!!
    60. 60. VmWare View: Open Source Client </li></ul>Is this Virtualization ?
    61. 61. UML vs UMLinux <ul><li>Jeff Dike : User Mode Linux </li><ul><li>Run Linux on Linux </li><ul><li>As a “process” </li></ul></ul><li>UMLinux </li><ul><li>Run Linux on Linux :)
    62. 62. Mainly to run test scenarios
    63. 63. Rebranded later to Faumachine </li></ul></ul>The land of Confusion:
    64. 64. LVS vs Linux Vserver <ul><li>Linux Virtual Server </li><ul><li>Act as 1 virtual server
    65. 65. Pass TCP/IP Connections to others </li></ul><li>Linux Vserver </li><ul><li>Kernel Isolation
    66. 66. Chroot on steroids </li></ul></ul>More Land of Confusion
    67. 67. <ul><li>Chroots on Steroids </li><ul><li>Based on BSD Jails </li></ul><li>Look really really similar
    68. 68. According to the developers no shared codebase </li></ul>OpenVZ , LinuxVServer
    69. 69. <ul><li>OpenVZ =~ opensource Virtuozzo </li><ul><li>Swsoft 1997
    70. 70. Virtuozzo 2001
    71. 71. 2003 Swsoft buys Plesk
    72. 72. SWSoft buys Parallels but “forgets” to tell
    73. 73. Eventually rebrands to Parallels late 2007
    74. 74. Kernel Inclusion ? </li></ul></ul>OpenVZ , Virtuozzo
    75. 75. CoLinux <ul><li>Running Linux on Windows </li></ul>Looking back at a decade of Virtualization
    76. 76. <ul><li>Paul “Rusty” Russell
    77. 77. Lhype
    78. 78. WonkyVisor
    79. 79. RustyVisor
    80. 80. Lhype </li><ul><li>Linux on Linux, but fast, no vt req , same kernel </li></ul></ul>Lguest,Lhype, RustyVisor
    81. 81. Qemu <ul><li>Fabrice Bellard.
    82. 82. Not just x86 </li><ul><ul><li>qemu-arm qemu-mips qemu-i386 qemu-ppc qemu-sparc qemu-m68k </li></ul></ul><li>“ Slow” </li><ul><li>Patch , first non free, later free </li></ul><li>Components Used in A LOT of projects ! </li></ul>Do I really need VMWare ?
    83. 83. <ul><li>Innotek (Stuttgart)
    84. 84. Open Source
    85. 85. VMWare alternative
    86. 86. Great Desktop Support
    87. 87. Bought by Sun (just before Fosdem 2008)
    88. 88. Now part of the xVM suite </li></ul>Virtualbox
    89. 89. Let‘s talk about Xen <ul><li>Pioneered ParaVirtualisation
    90. 90. Pioneered VT support
    91. 91. Went Mainstream real fast !
    92. 92. Stable and performant platform
    93. 93. Scriptable
    94. 94. Targeted at Server Platforms </li></ul><ul><li>98% CPU Speed
    95. 95. Open Source
    96. 96. Known Developers </li></ul>
    97. 97. Event Channel Virtual MMU Virtual CPU Control IF Hardware (SMP, MMU, physical memory, Ethernet, SCSI/IDE) Native Device Driver GuestOS (XenLinux) Device Manager & Control s/w Native Device Driver GuestOS (XenLinux) Unmodified User Software Front-End Device Drivers GuestOS (XenLinux) Unmodified User Software Front-End Device Drivers Unmodified GuestOS (WinXP)) Unmodified User Software Safe HW IF Xen Virtual Machine Monitor Back-End Back-End VT-x AGP ACPI PCI SMP
    98. 98. <ul><li>Major Distro's </li><ul><li>RedHat
    99. 99. Suse </li></ul><li>Who was first ?
    100. 100. Fighting over “stability”
    101. 101. Hardware Vendors </li><ul><li>IBM, Intel, .... </li></ul></ul>Xen adoption
    102. 102. <ul><li>Amazon EC2
    103. 103. Oracle VM </li><ul><li>Own Code ?
    104. 104. Hosting next Xen summit </li></ul><li>Sun xVM </li><ul><li>Part of the suite </li></ul><li>Virtual Iron </li></ul>Xen adoption cont.d
    105. 105. <ul><li>Kernel Based Virtual Machine
    106. 106. VT Required
    107. 107. “just a module”
    108. 108. /usr/local/kvm/bin/qemu-*
    109. 109. Came out of nowhere
    110. 110. +/- 6 weeks before kernel inclusion
    111. 111. Since 2.6.20
    112. 112. Lean and Mean
    113. 113. Desktop Oriented </li></ul>KVM
    114. 114. <ul><li>Main Funding of KVM development </li></ul><ul><li>A Remote Virtual Desktop Solution
    115. 115. Proprietary Own protocol
    116. 116. Commercial Solid ICE </li></ul><ul><li>Now @ RedHat </li></ul>Qumranet & KVM
    117. 117. <ul><li>Enomaly
    118. 118. Libvirt
    119. 119. Ovirt
    120. 120. OpenQRM </li></ul>Managing Your Virtualization Platform
    121. 121. <ul><li>Enomaly
    122. 122. OpenNebula
    123. 123. OpenQRM
    124. 124. Nimbus
    125. 125. SnowFlock
    126. 126. Eucalyptus </li></ul>Building your own cloud
    127. 127. What is openQRM ? <ul><li>open-source project at sourceforge.net (GPL)
    128. 128. data-center management platform </li></ul><ul><li>Not just your virtual platforms
    129. 129. provides generic virtualization layer </li></ul><ul><li>Deploy on demand
    130. 130. Support for physical , Xen, VMWare, Vserver, KVM
    131. 131. OpenQRM 4 is a full rewrite </li></ul>
    132. 132. OpenQRM : build your Virtual data-center <ul><li>logical layer for servers/services called virtual environments (VE)
    133. 133. virtual environments consist of : </li><ul><ul><li>a boot-image (e.g. a linux kernel)
    134. 134. a root-file system (local, NFS, ISCSI)
    135. 135. provisioning meta-data </li></ul></ul><li>deployed according provisioning meta-data on idle resources </li></ul>
    136. 136. <ul><li>Choice is personal </li><ul><li>Xen for Servers
    137. 137. VirtualBox for Desktops </li><ul><li>Keeping an eye on KVM </li></ul><li>LinuxVServer for chroot on steriods </li></ul></ul>Which Virtual Platform to choose
    138. 138. <ul><li>Xen @ Citrix </li><ul><li>Oracle to hosted Xen Summit </li></ul><li>VMWare going real open ?
    139. 139. KVM @ RedHat
    140. 140. OpenVZ in the Kernel ?
    141. 141. Xen in the Kernel ?
    142. 142. Oracle buying Virtual Iron ? </li></ul>The Future
    143. 143. ` Kris Buytaert < [email_address] > Further Reading http://www.krisbuytaert.be/blog/ http://www.inuits.be/ http://www.virtualization.com/ http://www.oreillygmt.com/ ? !

    ×