Successfully reported this slideshow.

Utilizing the Xen Hypervisor in business practice - Bryan Fusilier


Published on

Published in: Economy & Finance, Technology
  • Be the first to comment

Utilizing the Xen Hypervisor in business practice - Bryan Fusilier

  1. 1. <ul><ul><li>Utilizing the Xen Hypervisor in business practice </li></ul></ul>Bryan Fuselier
  2. 2. <ul><ul><li>OSS Benefits </li></ul></ul>
  3. 3. Benefits of OSS <ul><li>Shared pool of resources </li></ul><ul><li>Cost Effective </li></ul><ul><li>Modifiable </li></ul>
  4. 4. Shared Resources <ul><li>Massively expanding list of developers and contributors to draw insider knowledge of specific software </li></ul><ul><li>Large user groups to contribute experience and real-world knowledge </li></ul>
  5. 5. Cost Effective <ul><li>&quot;Free software&quot; is a matter of liberty, not price. To understand the concept, you should think of &quot;free&quot; as in &quot;free speech,&quot; not as in &quot;free beer.&quot; Free software is a matter of the users' freedom to run, copy, distribute, study, change and improve the software. More precisely, it refers to four kinds of freedom, for the users of the software: </li></ul><ul><li>The freedom to run the program, for any purpose (freedom 0). </li></ul><ul><li>The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this. </li></ul><ul><li>The freedom to redistribute copies so you can help your neighbor (freedom 2). </li></ul><ul><li>The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this. </li></ul>
  6. 6. Modifiable <ul><li>Source code is freely available to modify at will either in house or outsourced </li></ul>
  7. 7. What's a Hypervisor <ul><li>Sits between hardware and operating systems </li></ul><ul><li>Allocates Resources </li></ul><ul><li>Performs like a hardware system's BIOS </li></ul>
  8. 8. Domain Definition <ul><li>When we are talking about virtualization, a domain is one of the virtual machines that run on the system. Domain0 is the first domain started by the Xen hypervisor at boot, and will be running a Linux OS. This domain is privileged: it may access the hardware and can run the XenControlTools that manage other domains. These other domains are referred to as DomUs, the U standing for &quot;user&quot;. They are unprivileged, and could be running any operating system that has been ported to Xen. </li></ul>
  9. 9. How it Works <ul><li>Step 1) Inventory of physical resources: </li></ul>IRQ0 IRQ1 IRQ2 IRQ3
  10. 10. How it Works <ul><li>Step 2) Inventory of processors: </li></ul>CPU0 CPU1 CPU2 CPU4
  11. 11. How it Works <ul><li>Step 3) Assign processors to available resources: </li></ul>CPU0 CPU1 CPU2 CPU3 IRQ0 IRQ1 IRQ2 IRQ3
  12. 12. How it Works <ul><li>Step 4) Mask all initialization requests to processors: </li></ul>CPU0 CPU1 CPU2 CPU4 IRQ0 IRQ1 IRQ2 IRQ3
  13. 13. How it Works <ul><li>Step 5) Initialize all processors: </li></ul>CPU0 CPU1 CPU2 CPU4 IRQ0 IRQ1 IRQ2 IRQ3
  14. 14. How it Works <ul><li>Step 6) Create Dom0: </li></ul>CPU0 CPU1 CPU2 CPU4 IRQ0 IRQ1 IRQ2 IRQ3 DomU Control Direct HW Access
  15. 15. How it Works <ul><li>Step 7) Physical Memory Inventory: </li></ul>CPU0 CPU1 CPU2 CPU4 IRQ0 IRQ1 IRQ2 IRQ3 Dom0 alloc.: 000000041c000000->0000000420000000 (507904 pages to be allocated)
  16. 16. How it Works <ul><li>Step 7) Virtual Memory Management: </li></ul>Loaded kernel: ffffffff80200000->ffffffff805aee6c Init. ramdisk: ffffffff805af000->ffffffff825af000 Phys-Mach map: ffffffff825af000->ffffffff829af000 Start info: ffffffff829af000->ffffffff829af49c Page tables: ffffffff829b0000->ffffffff829c9000 Boot stack: ffffffff829c9000->ffffffff829ca000 TOTAL: ffffffff80000000->ffffffff82c00000 ENTRY ADDRESS: ffffffff80200000
  17. 17. How it Works <ul><li>Step 8) Boot Dom0: </li></ul>
  18. 18. How LiquidIQ works <ul><li>I/O Modules perform a PXE boot from an NFS server hosting it's image issuing DHCP </li></ul><ul><li>I/O Modules determine which one will be master </li></ul><ul><li>Master IOM builds the active database based on hardware resources it finds installed in the chassis. </li></ul><ul><li>Master IOM boots each available compute module with the configuration options set in the database </li></ul><ul><li>CM looks up it's configuration in the database and boots each VM with it's configuration options in the database </li></ul>
  19. 19. Xen, OSS & Liquid <ul><li>Shared resources </li></ul><ul><ul><ul><li>Liquid IQ - Computer resources </li></ul></ul></ul><ul><ul><ul><li>Xen - Support </li></ul></ul></ul><ul><ul><ul><li>OSS - Code development </li></ul></ul></ul><ul><li>Cost Effective </li></ul><ul><ul><ul><li>power and resources </li></ul></ul></ul><ul><ul><ul><li>free (as in speech and beer) </li></ul></ul></ul><ul><ul><ul><li>free (as in speech sometimes beer) </li></ul></ul></ul><ul><li>Modifiable </li></ul><ul><ul><ul><li>on-the-fly VM modification </li></ul></ul></ul><ul><ul><ul><li>modifiable source code </li></ul></ul></ul><ul><ul><ul><li>modifiable source code </li></ul></ul></ul>
  20. 20. Advantages of Xen <ul><li>Free (as in speech and beer) </li></ul><ul><li>Large support basis (via internet forums and paid support options) </li></ul><ul><li>Easily manage multi-client environment from one central location </li></ul>
  21. 21. Limitations of Xen <ul><li>Lose advanced abilities provided by more well known commercial products </li></ul><ul><li>VMWare's VMotion </li></ul><ul><li>RAM Over subscription </li></ul><ul><li>I/O limitations in heavy operating environments (all hypervisors) </li></ul>
  22. 22. Summary <ul><li>Open Source provides all the major functionality of standard commercial packages </li></ul><ul><li>In the case of Xen, this causes higher cost of management and administration over commercial options </li></ul><ul><li>Requires someone with the ability to understand and configure software with a development background </li></ul>