Upload
vunhu
View
217
Download
0
Embed Size (px)
Citation preview
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Database as a Service (DBaaS)
Presenter’s Name: Karthik Kanwar Presenter’s Title: Consulting Product Manager Organization, Division or Business Unit: Enterprise Manager July 24, 2014
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Program Agenda
1
2
3
Overview/Challenges
Delivering DBaaS
Snap Clone
Demo
2
4
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Program Agenda
1
2
3
Overview/Challenges
Delivering DBaaS
Snap Clone
Demo
3
4
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Enterprise Manager 12cR4
Optimized, Efficient Agile, Automated | |
Expanded Cloud Stack Management
Scalable, Secure
Superior Enterprise-Grade Management
Accelerated Automation for Broader Cloud Services
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
EM12c: Comprehensive Cloud Footprint Cloud Orchestration Providers (Mostly 3rd Party)
Start / Stop
Scale Up / Down
Self-Service Provisioning
Monitor
Manage
Chargeback
PaaS
Self-Service of Java Apps,
Scale Out/Back, Java App
Lifecycle Mgmt, & Chargeback
IaaS
Self-Service Provisioning of
VMs, Storage, Network, &
Infrastructure Level Chargeback
DBaaS
Self-Service Provisioning of
DBs, Schemas, Data, DB
Lifecycle Mgmt, & Chargeback
Cloud Resources Providers (Pool of Compute, Storage, Network)
APIs
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DATABASE ESTATE
Current State of Database Deployments Siloed, Dispersed, Varied and Complex
Ever growing database population
Multiple versions and patch levels
Compliance challenges
Poor resource utilization
High cost of deployment and operation
28% have an annual database instance growth of more than 20%
Less than 50% have consolidated
*IOUG Survey, 2013
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Current Database Provisioning Process Time-consuming and Inefficient
Developer Request DB Get access to DB
Manager Approval
DBA Request HW and
Storage Configure Cluster
and create DB
System Admin
Setup OS & Network
Storage Admin
Allocate Storage
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DBaaS Goal - the Best of On-Premise & Cloud Give Everyone What They Want Most
Users Want Easy self-service DBaaS
Metered use
Performance optimized for service levels
IT Wants Simplified deployment on standardized platforms
Less maintenance and better support
More budget and time for innovation
DBaaS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DBaaS: Key Features
Database-as-a-Service provides
A shared, consolidated platform to provision database services on
Self-Service provisioning
Scale-up/out, scale-down/back, retirement and relocation services
Chargeback based on database usage
Database-as-a-Service needs to cater to various use cases
A Developer or a Project Owner requiring a new database service with(out) seed data
QA requiring a full database refresh for intense load testing
QA requiring to create multiple clones for functional testing on subset of data
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Program Agenda
1
2
3
Overview/Challenges
Delivering DBaaS
Snap Clone
Demo
10
4
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deliver DBaaS
With Oracle Enterprise Manager 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deliver DBaaS via a Lifecycle Approach
1. Plan & Setup the DB Cloud Capacity & consolidation planning Asset discovery Setup Resource Pools Setup Policies
2. Enable Self-Service Define Service Catalog Enable Service Governance Enable integration via APIs
3. Manage & Monitor Database monitoring Configuration
management Full stack management
4. Meter, Charge, Optimize Meter resource utilization
Chargeback/Showback
Applications and
Business Services
Database
Platform
Infrastructure
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deliver DBaaS
1. Plan & Setup the DB Cloud
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Consolidation: DBaaS Architectures EM12c Supports Database Versions 10gR2 to 12c
Virtual Machines
Share servers
Dedicated Schema(s)
Share servers, OS
and database
Increasing Consolidation
Dedicated DBs
Share servers and
OS
Pluggable DBs
Share servers, OS
and database
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Isolation and multitenancy
Fast provisioning and cloning
Secure and highly available
No application changes
Manage many as one
Greater resource utilization
Performant and scalable
Lower IT costs
Oracle Database 12c Pluggable Databases New architecture for consolidating databases on Clouds
ERP CRM DW
Container Database
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Comparison of DBaaS Consolidation Models Virtual Machines Dedicated DB Dedicated Schemas Pluggable DB
Consolidation Density
Low-Moderate High Highest Highest
Maintenance Very complex (VM
Sprawl) Easy
Easy to Involved (based on required resource
isolation) Easy
Isolation Excellent Good Least Good
Implementation & Onboarding
Easy Easy Difficult Easy
Application Suitability
Some (workload dependent)
All Home grown; requires app
validation
All but have to be certified for Database
12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Modeling DBaaS Resources
Database Resource Pool A group of homogeneous clustered or non-clustered resources exhibiting common characteristics. Example:
Pool of 11.2 Database Oracle Homes (for dedicated databases) Pool of 12c Container Databases (for PDBs)
Zone A logical grouping of cloud infrastructure resources based on QOS, functional, departmental or geographic boundaries. Example, Finance Zone, East Coast Zone
Self-Service users provision into a Zone Zones can also be used to enforce access control and chargeback
11.2 DB OH
Pool
10.2.0.4 DB Pool
12c CDB Pool
10.2 DB Pool
11.2 DB Pool
11.2 RAC DB Pool
11.2 RAC DB
Pool
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Planning and Migrating Existing Apps to DBaaS Consolidated Database Performance Testing
Replay
Workload
Capture
Workload
Deploy Replay
Clients
End-to-end testing with real workloads Create Test
System
Consolidation Type Tool Performance Test
Server, OS, Schema , CDB SQL Performance Analyzer SQL unit testing for response time
Server, OS
Database Replay Load, performance testing for throughput
Schema, CDB
Consolidated Database Replay Replay multiple workloads against one database for throughput and scalability
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deliver DBaaS
2. Enable Self-Service
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Identifying Use Cases for Provisioning
User deploys a dedicated database inside a VM or on physical Pros: Resource isolation, ideal for enterprise applications like ERP Cons: VM and database sprawl, administrative overheads, compliance challenges
1. User needs a new database service with or without seed data
User deploys a database schema or a pluggable database Pros: High consolidation, minimal administrative and maintenance overhead Cons: Limited isolation for schemas
2. User needs a clone of an existing database for testing
User makes a full clone of database Pros: Ideal for load-testing with significant data updates Cons: Time and space consuming
User makes a thin-clone (using ‘Copy On Write’) of database Pros: Minimal additional space, instantaneous cloning, ideal for functional testing Cons: Reduced benefits in case of significant data updates
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Comprehensive support for consolidation
– Dedicated databases, schema, pluggable
• Automated, intelligent placement
– workload and configuration
• Complete self-service catalog
– Governance, quotas, policies, showback
Flexible cloning architecture
‒ Full data cloning by leveraging backups
‒ Instant database provisioning using “SnapClone”
Integrated database lifecycle management
‒ Monitoring, backup, patching
API-driven (RESTful and command line)
Oracle Enterprise Manager 12c Self-Service Provisioning
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DBaaS “Snap Clone” Data Cloning in Minutes
Masking & Sub setting
Production Database
010110011
101001010
000111010
Test Master Database
Features
• Leverage storage copy on-write technologies fast provisioning
• Initial support for NAS (Oracle ZFS Appliance and Netapp)
• Integrated lifecycle management
• “Time travel” capability to restore and access past data
Benefits
• Agile provisioning (~ 2 minutes to provision a 1 TB database)
• Over 90% storage savings
• Reduced administrative overhead from integrated lifecycle management
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Self-Service Portal APIs Comprehensive RESTFUL APIs for Integration and Orchestration
List
DBaaS Portal & API
Deploy
Delete Manage
• List Zones
• List Service Templates
• List Service Instances
Request DBs
Request PDBs
Request Schemas
Track request progress
Service Control (start/stop)
Backup
Restore
Snapshot
Get Chargeback info
Delete Service
Extend reservation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deliver DBaaS
3. Manage & Monitor
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Cloud Resource and Request Management • Manage Cloud Zones and underlying
resources
– Database Pools, servers, storage
– eTrack resource flux, tenants, policy violations, etc
• Drill down into individual resources for deeper monitoring
• Monitor requests and failure rates and remediate bottlenecks
• Deep software and hardware management for Exadata
– Hardware schematics, Software Topology, ASRs..
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Incident Management Monitoring by Exceptions
• Setup and apply monitoring templates based on
desired SLAs
• Manage exceptions
‒ View, manage, diagnose and resolve incidents from one console
‒ Assign, acknowledge, prioritize, track status, escalate, suppress
• Accelerated resolution with “My Oracle Support” integration
• Integrated with external Helpdesk Systems
‒ Out of box connectors for Remedy, HP Service Center
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Compliance and Patch Management At-scale management of thousands of targets
Compliance Management Dashboard
Maintains and displays up to date compliance score
Automated reporting of compliance against Oracle Best Practices and internal standards covering Exadata, RAC, Single Instance, Pluggable databases and underlying infrastructure
Automated drift control against golden standards
Can be mapped to CIS, PCI or other frameworks
Comprehensive Patch Management
Advisories, pre-flight analysis, execution, reporting
Minimize downtime by applying many patches to many database targets at a time
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deliver DBaaS
4. Meter, Charge, Optimize
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Metering and Chargeback Tailored for different use cases and user types
Chargeback Administrator Self-Service Portal User Line of Business User
Showback based on fixed, utilization or configuration
‒ Extensible metrics, e.g. business transactions
Rollups based on LDAP
Tailored reporting for different user personas
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Database Metrics for Chargeback
Configuration
Database Instance
Edition
Memory Usage
Option
Storage Usage
Release
Version
RAC Node Count
Shared database (per service)
Option
Edition
Release
RAC Node Count
Usage
Database Instance
CPU Time
CPU Utilization (%)
CPU Utilization (SPECInt)
Network IO
Disk Read/Write (Physical) Operations
SQL Executes
User Transactions
Shared database (per service)
CPU Time
CPU Utilization (%)
DB Time
Disk Read/Write (Physical) Operations
SQL Executes
User Transactions
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Database as a Service Everybody wins…
Users Get
Easy self-service DBaaS
Metered use
Performance optimized for service levels
IT Gets
Simplified deployment on standardized platforms
Less maintenance and better support
More budget and time for innovation
DBaaS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Program Agenda
1
2
3
Overview/Challenges
Delivering DBaaS
Snap Clone
Demo
37
4
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Snap Clone is a storage agnostic & self service approach to creating rapid & space efficient clones of large (~TB) databases
What is Snap Clone?
Storage Agnostic Supports ALL storage vendors (NAS & SAN)
Rapid Clone DBs in minutes not days/weeks
Space Efficient Significantly reduce the storage footprint
Self Service Empower the user to make adhoc clones
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Features
• Rapid and space efficient cloning of large databases; versions 10g to 12c
• Supports ALL storage vendors and configurations (SAN and NAS)
• Integrated lifecycle management (lineage and association tracking)
• “Rewind” capability to restore and access past data
• Benefits
• Agile provisioning (minutes to clone TB sized database)
• Over 90% storage savings (KBs of additional space for cloning TB sized database)
• Reduced administrative overhead from integrated lifecycle management
DBaaS “Snap Clone” Database Cloning in Minutes
NAME SSN SALARY
AGUILAR 203-33-3234 40,000
BENSON 323-22-2943 60,000
Test Master Database
NAME SSN SALARY
MILLER 112-23-
4567 40,000
SMITH 111-22-
3333 60,000
Masking & Sub setting
Production Database
010110011
101001010
000111010
39
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Greater Flexibility and Control
• Automated registration and association with Test Master Database:
– Snap Clone simplifies the registration of the storage with Enterprise Manager in context of the Test Master database
• Self service provisioning and service catalog:
– Self Service portal can be quickly configured to enable users (typically functional testers or developers) to easily provision database clones based on Test Master with just a few clicks
• Manageability – Enterprise Manager provides complete manageability of these databases
for DBAs, Developers, and QA teams
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Customer Scenarios with Snap Clone
Customer Scenario 1 [Telecom Industry]
Prod DB = 12 TB
Standby DB = 12 TB
7 Clones (7 * 2 GB of writable space) = 84TB 14 GB
-------------------
Total 108 ~24 TB
Time = days/weeks minutes
Customer Scenario 2 [Banking Industry]
5 Prod DB = 30 TB
5 Standby DB = 30 TB
5 Masked DB = 30 TB
6 Clones (6 * 5 * 2 GB of writable space) = 180TB 60 GB
---------------------
Total 270 ~90 TB
Time = days/weeks minutes
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Snap Clone Analyzer Demonstrates Actual Storage Savings
Overview Tab
– Storage summary and usage details
– Snap Clone Storage Savings
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Storage Copy-on-Write Technology
New blocks are allocated only when updates are made to the copy
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DBaaS “Snap Clone” Storage Options
EM 12c Snap Clone
Sto
rage
Mgm
t Fr
amew
ork
(SM
F)
Storage Management Framework (SMF) plug-in:
– Abstracts different storage vendors and technologies from DBAs
– Analyze storage utilization and track lineage of clones
Hardware Solution [Vendor Specific]
Supports DB on File and ASM
Software Solution [Vendor Agnostic]
Supports DB on File Only
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Comparison between Storage Options
*Licenses for ZFSSA are included with snap clone
Software Solution Hardware Solution
Vendors supported
and others
ALL Storage Vendors, SAN or NAS NFS+NAS ASM+SAN
Pre-requisites
• A physical/virtual server with Solaris 11 and ZFS file system
• Storage (Volumes/LUNs) mounted to this server
• Network access to Storage appliance
• Credentials and privileges to connect and perform actions
Storage Licenses
• Does NOT require storage licenses from vendor for snapshot and clone capabilities
• Additional benefits include compression, deduplication, I/O caching, etc
• Need to license snapshot and clone capabilities*
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Snap Clone: Key Usage Scenarios
Snap Clone is most useful when creating clones of large databases (~TBs) for the following purposes:
Application upgrade testing
Example: EBusiness Suite upgrade to R12
Functional testing
Example: Test with production datasets
Agile development
Example: Maintain parallel streams of development on same dataset
Data analysis and reporting
Example: Analyze stock market trends on a daily basis
Oracle Development uses
Snap Clone across 9000
environments for testing of products
like EBS, Fusion, PeopleSoft, MOS,
RDBMS, and EM.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deployment Scenario 1: Using Standby Using standby database for cloning across different storage systems
Continuous Replication using: Golden Gate or Dataguard
Standby Database
Production Database [Exadata or any commodity hardware]
Snap Clones using Standby
Private backups (snapshots) for SSA user
Benefit: No additional databases required for cloning
49
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deployment Scenario 2: Using Test Master Using a clone master with sanitized or subset data
Discrete Replication using: RMAN backups, Netapp SnapMirror, etc
Test Master Production Database [Exadata or any commodity hardware]
Masking and Subsetting using EM
Snap Clones using Clone Master
Private backups (snapshots) for SSA user
Benefit: Massage data before cloning
50
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Strong Adoption and Momentum Worldwide
Less time to provision Indian Bank 90%
65% Better utilization Australian bank
10 minutes to provision full SOA Suite for retail provider
100 X Faster Siebel deployment in a healthcare company
125X Storage savings Egyptian Telecom Provider
Less time to provision Norwegian Labor Agency 98%
Customer onboarding Russian Service Provider
5X
Improvement in operational efficiency Korean Telecom provider
70%
less cost and ZERO downtime for a global bank 35%
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Summary
• Snap Clone is a storage agnostic and self service approach to creating rapid and space efficient clones of large (~TB) databases
• Supports ALL storage vendors and configurations (NAS and SAN)
• Supports database version 10g to 12c
• It satisfies the needs of both IT (in terms of control and standardization) and the end users (in terms of flexibility)
• Reduces storage and administrative costs
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Program Agenda
1
2
3
Overview/Challenges
Delivering DBaaS
Snap Clone
Demo
53
4