Download - DBaaS- Database as a Service in a DBAs World
![Page 1: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/1.jpg)
DBaaS- Database as a
Service in a DBA World Kellyn Pot’Vin, Sr. Technical Consultant
![Page 2: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/2.jpg)
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
![Page 3: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/3.jpg)
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 show-
back reporting or charge-back for both internal and external
functionality for each individual consumer
![Page 4: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/4.jpg)
It Can’t Possibly Happen…
http://petewhodoesnottweet.com/2013/11/01/em-hits-a-million/
![Page 5: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/5.jpg)
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
![Page 6: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/6.jpg)
The Time is Now
![Page 7: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/7.jpg)
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..
![Page 8: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/8.jpg)
Services Options in DBaaS
![Page 9: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/9.jpg)
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?
![Page 10: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/10.jpg)
DBCA Template
DBCA= Database Configuration Assistant
![Page 11: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/11.jpg)
How DBCA Fits in the Equation
DBCA
Template
Platform
Storage
Database
Pool
Service
Template = DBaaS Option
+ +
![Page 12: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/12.jpg)
Making a DBaaS Clone
![Page 13: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/13.jpg)
Schema as a Service
Datapump
of Schema
Target
Database
Service
Template
Service
Template
Import with
Objects and
Data
Import
Just
Objects,
No Data
![Page 14: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/14.jpg)
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 self-
discovery 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.
![Page 15: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/15.jpg)
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.
![Page 16: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/16.jpg)
EM12c- Enterprise Menu
![Page 17: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/17.jpg)
EM12c- Setup Menu
![Page 18: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/18.jpg)
Step 1- Register Storage
![Page 19: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/19.jpg)
Register Storage Wizard
• Currently- ZFS and NetApp Storage Supported
• Future- Exadata, OVM, VM….
![Page 20: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/20.jpg)
Settings for Storage
• Setting up IaaS Storage
• Allocate amount of space required for DBaaS environment
![Page 21: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/21.jpg)
Storage Registration Complete
![Page 22: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/22.jpg)
Database Cloud
From the Middleware and Database
Cloud Home:
• Create PaaS Infrastracture Zone to
use IaaS
![Page 23: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/23.jpg)
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.
![Page 24: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/24.jpg)
Setting up the PaaS I Zone
![Page 25: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/25.jpg)
Roles for PaaS
For the Izones, Roles are set up for user access, (SSA_User
Role)
![Page 26: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/26.jpg)
Review of a PaaS Setup
![Page 27: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/27.jpg)
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.
![Page 28: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/28.jpg)
Self Service Portal Settings
![Page 29: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/29.jpg)
Database Profile
![Page 30: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/30.jpg)
Request Settings
![Page 31: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/31.jpg)
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
![Page 32: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/32.jpg)
DBA Controls Quotas
Quotas can be edited at any time and set to any
configuration.
![Page 33: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/33.jpg)
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
![Page 34: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/34.jpg)
Profiles in Place
![Page 35: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/35.jpg)
Creating a Template- From an
Existing DB
![Page 36: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/36.jpg)
Creating a Template – From a
DBCA Template or Snapshot
![Page 37: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/37.jpg)
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
![Page 38: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/38.jpg)
Custom Script Option
Run Custom scripts as part of templates
*This is also part of Schema as a Service
![Page 39: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/39.jpg)
What PaaS Will Your Template
Use?
![Page 40: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/40.jpg)
What Roles have Privileges to the
Template?
![Page 41: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/41.jpg)
Review Your New Template
![Page 42: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/42.jpg)
To Request
![Page 43: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/43.jpg)
Self Service Portal
![Page 44: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/44.jpg)
Fulfilling Request Info
![Page 45: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/45.jpg)
Portal Post Request
![Page 46: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/46.jpg)
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.)
![Page 47: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/47.jpg)
DBaaS in a Standard Environment
![Page 48: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/48.jpg)
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.
![Page 49: DBaaS- Database as a Service in a DBAs World](https://reader035.vdocuments.site/reader035/viewer/2022062312/554b995fb4c905764c8b4921/html5/thumbnails/49.jpg)
Thank you! http://dbakevlar.com
Twitter: @DBAKevlar
Facebook: Kellyn Pot’Vin
Linked in: www.linkedin.com/in/kellynpotvin/