Introducing Xen Server


Published on

A quick introduction into server virtualisation with XenServer, including a brief architecture discussion and various features that are available.

Published in: Technology
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Introducing Xen Server

  1. 1. Introducing XenServer<br />Stephen Rice (Lead Software Engineer)<br />June 2010<br />
  2. 2. What is server virtualization?<br />What benefits does it have?<br />Citrix XenServer in detail<br />Taking a look at the feature list<br />Agenda<br />
  3. 3. Server virtualization enables multiple virtual machines to run on a single physical server.<br />
  4. 4. Almost any operating system you want.<br />Q. What can you run as a virtual machine?<br />Windows (XP, Vista, 7, 2000, 2003, 2008…)<br />Linux (RHEL, SLES, Debian, Centos, Oracle…)<br />Many more community supported guests<br />
  5. 5. CPU, Memory<br />Disks(storage)<br />Networks<br />What does a virtual machine need?<br />Shared Storage<br />Pool<br />
  6. 6. zzz<br />Non Virtual<br />zzz<br />
  7. 7. Virtualization<br />
  8. 8. Server consolidation<br />Failure recovery<br />Security and sandboxing<br />Resource balancing<br />Backup, restore and clone<br />Simple management<br />Benefits of Virtualization<br />
  9. 9. Server consolidation<br />Benefits of Virtualization<br /><ul><li>Server power consumption
  10. 10. Server cooling costs
  11. 11. Space requirements
  12. 12. Hardware maintenancecosts</li></li></ul><li>Failure recovery<br />Benefits of Virtualization<br /><ul><li>High availability
  13. 13. Snapshot and restore</li></li></ul><li>Security and sandboxing<br />Benefits of Virtualization<br /><ul><li>Malicious code
  14. 14. Legacy testing
  15. 15. Upgrade preview</li></li></ul><li>Resource balancing<br />Benefits of Virtualization<br /><ul><li>Consolidate in periods of low demand
  16. 16. Spread out for periods of high demand
  17. 17. Monitor and adapt to changing requirements</li></li></ul><li>Backup, restore and clone<br />Benefits of Virtualization<br /><ul><li>Rapid deployment of new setups
  18. 18. Extend existing capabilities
  19. 19. Simplify staging to production transition</li></li></ul><li>Simple management<br />Benefits of Virtualization<br /><ul><li>Manage workloads from a single console
  20. 20. Organizational tools
  21. 21. At a glance status reports</li></li></ul><li>Server consolidation<br />Failure recovery<br />Security and sandboxing<br />Resource balancing<br />Backup, restore and clone<br />Simple management<br />Benefits of Virtualization<br />
  22. 22. Citrix XenServer in detail<br />Hypervisor<br />Hypervisor<br />OS<br />Hardware<br />Hardware<br />Hardware<br />Normal Server<br />Type 2 Hypervisor<br />Type 1 Hypervisor<br />Single operating system that has direct access to the underlying hardware.<br />Host OS has access to the hardware and runs a hypervisor which manages the VMs.<br /><ul><li> E.g. VMWare Server
  23. 23. Security and performance trade off</li></ul>Hypervisor controls access to the hardware for all guests VMs.<br /><ul><li> E.g. XenServer, VMWareESXi
  24. 24. ‘Bare metal’ performance</li></li></ul><li>Citrix XenServer in detail<br /><ul><li>Open source Xen/ Open sourceXenServer
  25. 25. Privileged VM called Domain 0
  26. 26. Gives commands to the hypervisor
  27. 27. Coordinates networking/storage
  28. 28. Communicates with external clients
  29. 29. XenCenter, Workload Balancing Server, Active Directory e.t.c</li></li></ul><li>Citrix XenServer compared to VmwareESXi<br /><ul><li>Established server virtualization company
  30. 30. Extra server to manage database (Single POF)
  31. 31. Binary translation performance cost
  32. 32. Mature feature list
  33. 33. High cost</li></ul>ESXi<br />ESXi<br />ESXi<br />vCenter<br />
  34. 34. Citrix XenServer compared to VmwareESXi<br />Master<br /><ul><li>Each server keeps a copy of the database
  35. 35. Any server elected as master
  36. 36. Free, pay only for enterprise features
  37. 37. Free, stateless thin management client</li></ul>Xen<br />Server <br />Xen<br />Server <br />Xen<br />Server <br />
  38. 38. Graphical interface<br />VM console access<br />Component integration<br />Plugins and SDKs<br />XenCentermanagement console<br />
  39. 39. XML-RPC based<br />Libraries and examples for Java, C#, C, Python, PowerShell<br />XenCenter uses C# bindings<br /> <br />Open source licensing<br />Backwards compatible<br />Software development kit for XenServer<br />
  40. 40. 24 hour project using C# XenServer bindings<br />Ask the VMs politely to turn off<br />Knock them out if they don’t<br />Turn off all slaves first before the master<br />Allow the user to set which VMs should wake<br />SleepyLabs example<br />
  41. 41. Message board example<br />
  42. 42. Hello world example<br />
  43. 43. What else might you need?<br />
  44. 44. Safety while you sleep<br />Automaticallymigrates VMs<br />Guarantees protection<br />Master failover<br />High availability<br />
  45. 45. Specify a memory range for VMs<br />Squeezes and inflates memory<br />Overcommit to run more VMs<br />Dynamic memory control<br />
  46. 46. Monitors VM resource use<br />Recommends VM migrations<br />Maximum performance<br />Maximum density<br />Automatic or manual<br />Workload balancing<br />
  47. 47. Integrates with active directory<br />Specify a role per user<br />Roles restrict users feature access<br />Role based access control<br />
  48. 48. Snapshot disks and memory<br />Revert to any point in tree<br />Running VM<br />Snapshot and revert<br />
  49. 49. Summary<br />
  50. 50.
  51. 51. Citrix Tshirts, come see me afterwards<br />Also free...<br />
  52. 52.<br />