Server virtualization and cloud computing


Published on

Server Virtualization and Cloud Computing Presentation delivered at Virginia Oracle Users Group.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Server virtualization and cloud computing

  1. 1. Server Virtualization and Cloud Computing<br />Joseph D’Antoni<br />Synthes<br />Virginia Oracle Users Group<br />14 October 2010<br />
  2. 2. <ul><li>DBA with 10+ years of experience
  3. 3. Primarily in health care
  4. 4. I like to talk about and use new technologies
  5. 5. @jdanton on Twitter</li></ul>About Me<br />
  6. 6. <ul><li>How these two topics ties together
  7. 7. Server Virtualization
  8. 8. Cloud Computing
  9. 9. Options for Cloud Database computing</li></ul>Overview <br />
  10. 10. Virtualization Agenda <br />Definition of Server Virtualization<br />Do’s and Don’ts with VMs<br />
  11. 11. Major VM Vendors<br />
  12. 12. Gartner on Virtualization <br />
  13. 13. Definitions<br />Host<br />Hypervisor<br />Guest<br />Guest<br />Guest<br />
  14. 14. Benefits of Virtualization<br />Reduced physical footprint <br />Reduced power and cooling<br />Increased Hardware utilization<br />Can be used for HA configurations<br />Rapid Deployment of new environments<br />Use Gold Standard servers and rollout<br />
  15. 15. High Availability<br />Can move virtual servers between virtual hosts, across sites if needed, with minimal downtime<br />Can snapshot server before patches or application upgrades<br />Snapshots are good, but can take a lot of storage<br />
  16. 16. VMWare Architecture<br />
  17. 17. DR Scenario with ESX<br />
  18. 18. Typical Host Server(s)<br />2 Quad Core<br /> 2.8 Ghz Processors<br />60 Gb Memory<br />1 Tb SAN Storage<br />
  19. 19. CPU Scheduling<br />Host Server<br />CPU 1<br />CPU 2<br />Guest<br />Guest<br />Guest<br />Guest<br />Guest<br />
  20. 20. Thin Provisioning<br />Allows over allocation of resources<br />Increases storage provisioning<br />Management console allows for easy management of this along with SAN.<br />
  21. 21. Maintaining Performance<br />Never over allocate CPUs<br />Memory can be over allocated <br />Hypervisor handles it by DE duplicating memory. <br />Host Page Files<br />
  22. 22. I/O Performance<br />IO is nearly always the limiting factor to DB performance<br />Can be extremely tricky to track down in a VM environment<br />Work with storage and VM teams to monitor at each level.<br />
  23. 23. Limitations of Virtualization <br />Not ideal for high utilization database servers<br />I/O contention (VMs like fast disks)<br />Licensing costs (mainly Oracle, but Microsoft is changing their licensing model for SQL 2008 R2)<br />VMWare isn’t free either—management server and license for each VM CPU. <br />
  24. 24. Oracle Licensing on VMWare<br />Eleven syndicates campaigned this year in the three-month Louis Vuitton Cup series for the right to challenge Alinghi, the 2003 America's Cup winner. Cannon estimates the combined cost of the fleet at about $1 billion, with high-rollers like Oracle Corp. founder Larry Ellison's BMW Oracle Racing team spending upward of $130 million before being eliminated in the semifinals. <br />
  25. 25. Licensing<br />As a result, soft partitioning is not permitted as a means to determine or limit the number of software licenses required for any given server.<br />Examples of such partitioning type include…Oracle VM, VMWare.<br />Source: Oracle Partitioning Guide<br />July 13, 2010<br />
  26. 26. Licensing <br />Oracle’s official position is that all physical CPUs accessible to the guest OS must be licensed…but YMMV<br />VMWare is licensed at the host level, with several cost options<br />
  27. 27. Oracle Support Position<br />Oracle has not certified any of its products on VMware virtualized environments.<br />Oracle Support will assist customers running Oracle products on VMware in the following manner: Oracle will only provide support for issues that either are known to occur on the native OS, or can be demonstrated not to be as a result of running on VMware. If a problem is a known Oracle issue, Oracle support will recommend the appropriate solution on the native OS. If that solution does not work in the VMware virtualized environment, the customer will be referred to VMware for support. <br />Metalink [ID 249212.1]<br />
  28. 28. Why these two topics?<br />Server virtualization is the engine that drives cloud computing<br />Allows dynamic resource allocation <br />
  29. 29. Cloud Overview<br />
  30. 30. Types of Cloud Computing<br />Three majors types of cloud computing<br />Software as a service (SAAS) –, Gmail<br />Platform as a service (PAAS) – SQL Azure, Amazon EC2 <br />Infrastructure as a service – Hosted Servers<br />Private Clouds – Exadata, Exalogic<br />Given our audience we will focus on the PAAS part of this.<br />
  31. 31. Cloud Database Providers<br />
  32. 32. <ul><li>Microsoft’s SQL Specific Platform Offering
  33. 33. Limited Selection of SQL Server Features
  34. 34. 50 Gb size limit for an individual database
  35. 35. No native backup command
  36. 36. MS guarantees 99.95% availability</li></ul>SQL Azure<br />
  37. 37. Amazon Web Services<br /><ul><li>More platforms available than Microsoft (Linux, Oracle, SQL Express)
  38. 38. More complex pricing model
  39. 39. More robust feature set (full installation of RDBMS)
  40. 40. Server is managed by you, not Amazon
  41. 41. Require Licensing for O/S and Database</li></li></ul><li>Costs at Amazon<br />Large Instance<br />7.5 GB memory<br />4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each)<br />850 GB instance storage<br />64-bit platformI/O Performance: High<br />API name: m1.large<br />$910/yr base<br />$ .12/hour usage<br />$ .15/Gb Data Transfer Out (loads are currently free)<br />Total Annual Costs<br />~ $2100*<br />Does not include Oracle licensing.<br />
  42. 42. Hosted Oracle<br />These fall somewhere in the middle. <br />Pay a monthly fee for some amount of tablespace and transactional activity.<br />The provider below guarantees 99.9% uptime—not really enough for dedicated e-commerce<br />
  43. 43. Costs from an Oracle Provider<br />
  44. 44. Reasons for Using Cloud Provider<br />Lower upfront capital costs<br />Reduces costs of offsite backup<br />Potentially reduce employee costs<br />Quicker spin up of new environments<br />
  45. 45. Yeah, Legal?<br />A good friend of mine, who shall remain nameless…<br />“In theory, you have the same legal protection in the cloud, that you do in your own data center, but….Amazon doesn’t care as much about your data as getting the AG off of their back”<br />--General Counsel of medium size healthcare company<br />
  46. 46. Questions<br />
  47. 47. Summary<br />Reasons for virtualization<br />How to optimize database workloads in a VM environment<br />Why Cloud?<br />Cloud benefits and problems<br />