Upload
kellyn-potvin-gorman
View
2.839
Download
0
Embed Size (px)
DESCRIPTION
QEW Session from RMOUG, Nov. 2013
Citation preview
DBaaS- Database as a
Service in a DBA World Kellyn Pot’Vin, Sr. Technical Consultant
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
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
It Can’t Possibly Happen…
http://petewhodoesnottweet.com/2013/11/01/em-hits-a-million/
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
The Time is Now
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..
Services Options in DBaaS
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?
DBCA Template
DBCA= Database Configuration Assistant
How DBCA Fits in the Equation
DBCA
Template
Platform
Storage
Database
Pool
Service
Template = DBaaS Option
+ +
Making a DBaaS Clone
Schema as a Service
Datapump
of Schema
Target
Database
Service
Template
Service
Template
Import with
Objects and
Data
Import
Just
Objects,
No Data
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.
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.
EM12c- Enterprise Menu
EM12c- Setup Menu
Step 1- Register Storage
Register Storage Wizard
• Currently- ZFS and NetApp Storage Supported
• Future- Exadata, OVM, VM….
Settings for Storage
• Setting up IaaS Storage
• Allocate amount of space required for DBaaS environment
Storage Registration Complete
Database Cloud
From the Middleware and Database
Cloud Home:
• Create PaaS Infrastracture Zone to
use IaaS
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.
Setting up the PaaS I Zone
Roles for PaaS
For the Izones, Roles are set up for user access, (SSA_User
Role)
Review of a PaaS Setup
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.
Self Service Portal Settings
Database Profile
Request Settings
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
DBA Controls Quotas
Quotas can be edited at any time and set to any
configuration.
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
Profiles in Place
Creating a Template- From an
Existing DB
Creating a Template – From a
DBCA Template or Snapshot
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
Custom Script Option
Run Custom scripts as part of templates
*This is also part of Schema as a Service
What PaaS Will Your Template
Use?
What Roles have Privileges to the
Template?
Review Your New Template
To Request
Self Service Portal
Fulfilling Request Info
Portal Post Request
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.)
DBaaS in a Standard Environment
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.
Thank you! http://dbakevlar.com
Twitter: @DBAKevlar
Facebook: Kellyn Pot’Vin
Linked in: www.linkedin.com/in/kellynpotvin/