DBaaS- Database as a Service in a DBAs World


Published on

QEW Session from RMOUG, Nov. 2013

Published in: Technology
  • Be the first to comment

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

No notes for slide

DBaaS- Database as a Service in a DBAs World

  1. 1. DBaaS- Database as a Service in a DBA World Kellyn Pot’Vin, Sr. Technical Consultant
  2. 2. Who I am  Westminster, Colorado  Oracle ACE Director, Sr. Technical Specialist, Oak Table Member and Women in Technology Evangelist  Specialize in performance/management of large enterprise environments  Performance tuning, Exadata, VLDB and Enterprise Manager expertise  Board of directors for RMOUG, Director of Training Days and Database Track Lead for KSCOPE 2014  Blog: DBAKevlar.com  Twitter: @DBAKevlar
  3. 3. What is DBaaS? Database as a Service (DBaaS) is an architectural and operational approach enabling DBAs to deliver database functionality as a service to internal and/or external customers. Database as a Service architectures support the following required capabilities:  Customer side provisioning and management of database instances using on-demand, self-service mechanisms  Automation of monitoring with provider-defined service definitions, attributes and quality SLAs  Fine-grained metering of database usage enabling showback reporting or charge-back for both internal and external functionality for each individual consumer
  4. 4. It Can’t Possibly Happen… http://petewhodoesnottweet.com/2013/11/01/em-hits-a-million/
  5. 5. Why DBaaS? DBaaS standardizes and optimizes the platform requirements which eliminates the need to deploy, manage and support dedicated database hardware and software for each project’s multiple development, testing, production, and failover environments. DBaaS architectures are inherently designed for elasticity and resource pooling. They deliver production and non-production database services that support average daily workload requirements and are not impacted by:  Resource Limitations  Time Sensitive Projects  Hardware limitations/budgets
  6. 6. The Time is Now
  7. 7. Embracing DBaaS as a DBA The Great DBA…  Automates everything  Desires new learning opportunities  Desires a secure, controlled setup for a self-service portal  Approaches challenges and answers with simple, robust options to answer. DBaaS OFFERS THIS..
  8. 8. Services Options in DBaaS
  9. 9. Summary of Moving Parts  How much do you already use in your everyday DBA work  How can this be used to create a new and better way to automate resource allocation so the DBA can do more with less?
  10. 10. DBCA Template  DBCA= Database Configuration Assistant
  11. 11. How DBCA Fits in the Equation DBCA Template + Platform Storage Service Template + Database Pool = DBaaS Option
  12. 12. Making a DBaaS Clone
  13. 13. Schema as a Service Datapump of Schema Service Template Service Template Import Just Objects, No Data Import with Objects and Data Target Database
  14. 14. Setting up DBaaS  The Cloud Administrator will  Define roles and users in the Self Service Portal.  Installing the agent to manage all “unmanaged hosts” so selfdiscovery of any DBaaS environments that are created.  Set quotas, privileges.  Software library will allow automation.  Provisioning will set who will be granted and how much allocated to each customer, administrator and/or business unit.
  15. 15. Self Service Portal Design  Oracle Home is utilized by one or multiple service templates.  Templates serve DBaaS options to Self Service Portal for customers.  Role is designated to “Self Service Administrator” but often DBA.
  16. 16. EM12c- Enterprise Menu
  17. 17. EM12c- Setup Menu
  18. 18. Step 1- Register Storage
  19. 19. Register Storage Wizard • Currently- ZFS and NetApp Storage Supported • Future- Exadata, OVM, VM….
  20. 20. Settings for Storage • Setting up IaaS Storage • Allocate amount of space required for DBaaS environment
  21. 21. Storage Registration Complete
  22. 22. Database Cloud From the Middleware and Database Cloud Home: • Create PaaS Infrastracture Zone to use IaaS
  23. 23. Setting up PaaS • Set up PaaS for Development, Test, etc. • Keep it simple- simple designs are easier to manage. • Solid chargeback designs will ensure that simplicity in PaaS design is effective for business.
  24. 24. Setting up the PaaS I Zone
  25. 25. Roles for PaaS For the Izones, Roles are set up for user access, (SSA_User Role)
  26. 26. Review of a PaaS Setup
  27. 27. Setting up Pools and Profiles In the Setup Menu Database Pools contains a set of resources that can be used to provision a database instance within a PaaS Profiles are information collected from a database to set up the database part of a service template.
  28. 28. Self Service Portal Settings
  29. 29. Database Profile
  30. 30. Request Settings
  31. 31. Quotas for Requestor Quotas dictates how many resources overall a user of the Self Service Portal has. Allocated by Role and assigned to user• Memory • Storage • CPU • How many Databases at a given time • How many schemas
  32. 32. DBA Controls Quotas Quotas can be edited at any time and set to any configuration.
  33. 33. Understanding DBaaS Roles  Storage Roles  View Any, Register, View, Manage Any and Full  Target Privileges  Snap clone, Full  Storage Administrator Role  EM Storage Administrator, EM Storage Operator
  34. 34. Profiles in Place
  35. 35. Creating a Template- From an Existing DB
  36. 36. Creating a Template – From a DBCA Template or Snapshot
  37. 37. Control of Template Resources  Set Parameters  Turn on Auditing  Configure values for memory, recovery and Undo  Decide if the SSA Admin has ability to edit values
  38. 38. Custom Script Option Run Custom scripts as part of templates *This is also part of Schema as a Service
  39. 39. What PaaS Will Your Template Use?
  40. 40. What Roles have Privileges to the Template?
  41. 41. Review Your New Template
  42. 42. To Request
  43. 43. Self Service Portal
  44. 44. Fulfilling Request Info
  45. 45. Portal Post Request
  46. 46. A Mature DBaaS Catalog  Catalogs offer external customers options to choose from.  Services are really just service templates, (discussed later)  Note that these each [most likely] share resources, (i.e. same underlying machines virtually allocated.)
  47. 47. DBaaS in a Standard Environment
  48. 48. The Future  Purchase multiple Exadata machines, using OVM , (may change to Nimbula product since acquisition) create large VM hosts to private clouds with DBaaS.  Using VMs from third party vendors, create large, private clouds for use with DBaaS.  Simplify Development, Test, QA requests for database refreshes, new environments  Simplify cloning procedures for any environment  Supply afterhours support and maintenance automation.
  49. 49. Thank you! http://dbakevlar.com Twitter: @DBAKevlar Facebook: Kellyn Pot’Vin Linked in: www.linkedin.com/in/kellynpotvin/