49
DBaaS- Database as a Service in a DBA World Kellyn Pot’Vin, Sr. Technical Consultant

DBaaS- Database as a Service in a DBAs World

Embed Size (px)

DESCRIPTION

QEW Session from RMOUG, Nov. 2013

Citation preview

Page 1: DBaaS- Database as a Service in a DBAs World

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

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

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 5: DBaaS- Database as a Service in a DBAs World

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

The Time is Now

Page 7: DBaaS- Database as a Service in a DBAs World

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

Services Options in DBaaS

Page 9: DBaaS- Database as a Service in a DBAs World

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

DBCA Template

DBCA= Database Configuration Assistant

Page 11: DBaaS- Database as a Service in a DBAs World

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

Making a DBaaS Clone

Page 13: DBaaS- Database as a Service in a DBAs World

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

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

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

EM12c- Enterprise Menu

Page 17: DBaaS- Database as a Service in a DBAs World

EM12c- Setup Menu

Page 18: DBaaS- Database as a Service in a DBAs World

Step 1- Register Storage

Page 19: DBaaS- Database as a Service in a DBAs World

Register Storage Wizard

• Currently- ZFS and NetApp Storage Supported

• Future- Exadata, OVM, VM….

Page 20: DBaaS- Database as a Service in a DBAs World

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

Storage Registration Complete

Page 22: DBaaS- Database as a Service in a DBAs World

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

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

Setting up the PaaS I Zone

Page 25: DBaaS- Database as a Service in a DBAs World

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

Review of a PaaS Setup

Page 27: DBaaS- Database as a Service in a DBAs World

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

Self Service Portal Settings

Page 29: DBaaS- Database as a Service in a DBAs World

Database Profile

Page 30: DBaaS- Database as a Service in a DBAs World

Request Settings

Page 31: DBaaS- Database as a Service in a DBAs World

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

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

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

Profiles in Place

Page 35: DBaaS- Database as a Service in a DBAs World

Creating a Template- From an

Existing DB

Page 36: DBaaS- Database as a Service in a DBAs World

Creating a Template – From a

DBCA Template or Snapshot

Page 37: DBaaS- Database as a Service in a DBAs World

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

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

What PaaS Will Your Template

Use?

Page 40: DBaaS- Database as a Service in a DBAs World

What Roles have Privileges to the

Template?

Page 41: DBaaS- Database as a Service in a DBAs World

Review Your New Template

Page 42: DBaaS- Database as a Service in a DBAs World

To Request

Page 43: DBaaS- Database as a Service in a DBAs World

Self Service Portal

Page 44: DBaaS- Database as a Service in a DBAs World

Fulfilling Request Info

Page 45: DBaaS- Database as a Service in a DBAs World

Portal Post Request

Page 46: DBaaS- Database as a Service in a DBAs World

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

DBaaS in a Standard Environment

Page 48: DBaaS- Database as a Service in a DBAs World

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

Thank you! http://dbakevlar.com

Twitter: @DBAKevlar

Facebook: Kellyn Pot’Vin

Linked in: www.linkedin.com/in/kellynpotvin/