virt1633bu extreme consolidation with oracle 12c and · pdf fileextreme consolidation with...

39
Nitin Vengurlekar, vExpert VIRT1633BU #VMworld #VIRT1633BU Extreme Consolidation with Oracle 12c and VMware Use Case Discussion VMworld 2017 Content: Not for publication or distribution

Upload: ngohanh

Post on 22-Mar-2018

244 views

Category:

Documents


2 download

TRANSCRIPT

Nitin Vengurlekar, vExpert

VIRT1633BU

#VMworld #VIRT1633BU

Extreme Consolidation with Oracle 12c and VMware

Use Case Discussion

VMworld 2017 Content: Not fo

r publication or distri

bution

• This presentation may contain product features that are currently under development.

• This overview of new technology represents no commitment from VMware to deliver these features in any generally available product.

• Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.

• Technical feasibility and market demand will affect final delivery.

• Pricing and packaging for any new technologies or features discussed or presented have not been determined.

Disclaimer

#VIRT1633BU CONFIDENTIAL 2

VMworld 2017 Content: Not fo

r publication or distri

bution

Nitin Vengurlekar

• CTO & Chief Architect at Viscosity

Responsible for Service Delivery

Focus on Virtualization, Engineered & Converged Systems

Developed white papers and Best Practices for Application/Database High Availability &Consolidation

• 18 Years with Oracle

– 6 years with Oracle Support

– 9 years with RAC Product Management

– 3 years a “Private Database Cloud” Evangelist

• Taking these key customers to reference-ability

• Follow me on Twitter: @dbcloudshifu

#VIRT1633BU CONFIDENTIAL 3

VMworld 2017 Content: Not fo

r publication or distri

bution

@racdba

Charles Kim

• Oracle ACE Director

• Founder and President of Viscosity

• Over 25 years of Oracle Expertise: Mission Critical Databases, – RAC, Data Guard, ASM, RMAN, Shareplex / GoldenGate

• Specializing in “Automation of Everything” !!

• President - IOUG Cloud Computing SIG

• Blog Sites: http://DBAExpert.com/blog

• Oracle Exadata Certified Implementation Specialist (2014, 2016)

• Certified RAC Expert

#VIRT1633BU CONFIDENTIAL 4

VMworld 2017 Content: Not fo

r publication or distri

bution

Performance

Health ChecksHow’s it running?

CUSTOMApplication

Development

DBA

ServicesRemote and

On-site

On-Call Support

Managed

Services

ZERO DOWNTIME

Migrations

Professional

ServicesWhere you need it most

Staff Aug Workforce Capacity

on Demand

Oracle License ManagementGet the most out of your Oracle investment

Viscosity – Who We Are and What We Do

#VIRT1633BU CONFIDENTIAL 5

VMworld 2017 Content: Not fo

r publication or distri

bution

We’ve Written the Books

#VIRT1633BU CONFIDENTIAL 6

VMworld 2017 Content: Not fo

r publication or distri

bution

Stability is not an “out-of-box” option. Pathway to stability is through standardization, simplification, and

solid planning.

My Father (1999)

#VIRT1633BU CONFIDENTIAL 7

VMworld 2017 Content: Not fo

r publication or distri

bution

Agenda

1

Three Deployment Use Cases

- Oracle Multitenant and VMware

- DBaaS initiative

- Consolidation density

2 What Rationalized

3 Features usage

4 Consolidation density considerations

5 Overall Benefits

#VIRT1633BU CONFIDENTIAL 8

VMworld 2017 Content: Not fo

r publication or distri

bution

NO…NO

#VIRT1633BU CONFIDENTIAL 9

THERE WILL BE NO DISCUSSION ON

ORACLE-VMWARE LICENSING

or

SUPPORTABILITY!

But For Insights

Come Talk To Us LaterOracle License Optimization

VMworld 2017 Content: Not fo

r publication or distri

bution

Goals for Initiative

• Standardize on Product Platform

• Rationalization and Simplification

• Achieve Consistency in Deployment and Enable Platform for DBaaS

• Build Platform With High Availability in Mind

• Enable Platform for Agility in Application Development and Deployment

Stabilization – Through Rationalization, Simplification, and Standardize

#VIRT1633BU CONFIDENTIAL 10

VMworld 2017 Content: Not fo

r publication or distri

bution

Virtualization Objective… It’s All in the Audience

• vAdmins

– Virtualize First Policy

– Show “performance impact can be minimized”, maintain 5% of bare metal

– Have virtualized other applications/tiers….Now time to virtualize your database systems

• DBAs – justify why …I’ll let *you* virtualize my application

– Virtualize all you want, just don’t impact my performance

– Desires – Improvement in HA, provisioning and setup time

#VIRT1633BU CONFIDENTIAL 11

VMworld 2017 Content: Not fo

r publication or distri

bution

Before you Virtualize …Rationalize, Standardize, and then Consolidate

• Determine what consolidation and rationalization means

– No big ROI in Simple Server consolidation

– Combine Server and Component Consolidation (reduce instance count)

– Rationalize - Reduce distinct number of Linux and Database versions

– Upgrade and standardize the stack

#VIRT1633BU CONFIDENTIAL 12

VMworld 2017 Content: Not fo

r publication or distri

bution

Stabilization – Through Rationalization, Simplification, and Standardize – Common Theme

• Rationalization and Simplification Management

– Simplify and standardize on set of Oracle versions

– Consistency through Simplification

– Standardized on Oracle Enterprise Manager for Monitoring

– Manage all Database components from a centralized console

– Consistent DBaaS methodology

#VIRT1633BU CONFIDENTIAL 13

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the Stack

• Oracle Grid Infrastructure-RAC 12c or Oracle Restart 12c

• Oracle Database 12cR1 or 12cR2 with Multitenant feature

• VMware vSphere

#VIRT1633BU CONFIDENTIAL 14

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackOracle Restart

• A standalone Server version of Oracle Grid Infrastructure (no license)

• Improves the availability of Oracle database and various Oracle components

• If there’s a Oracle component failure it can be automatically restarted

– Include pullup, pushdown dependencies and relationships

– Starts up and shutdown all components in correct order

– Biggest Value-add -> It provides intra-VM HA

– VMware HA provides VM level HA

#VIRT1633BU CONFIDENTIAL 15

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackOracle Multitenancy

• In this architecture, multitenant container database holds many pluggable databases.

• Share common memory and background processes.

• Significantly improves database consolidation density

• Offering similar benefits to schema-based consolidation but with none of the major application changes required by that approach.

#VIRT1633BU CONFIDENTIAL 16

VMworld 2017 Content: Not fo

r publication or distri

bution

PDB - 12.2 New Features

• Hot Clones

– Oracle 12.2 Multitenant option, fully integrates the concept of “hot clones” with the ability to perform on-line cloning of PDBs.

• With hot clones, the source database is still open for read-write mode.

• All PDB clones in Oracle 12.2 are hot clones and will be referred to as clones.

• Read-Only Refreshable PDBs

– On Oracle 12.2, PDBs can be cloned while the source PDB is online.

– With Refreshable PDBs, we can have the PDB refresh data from the source PDB with delta changes, since the last refresh automatically (define in nnn Minutes) or on demand.

#VIRT1633BU CONFIDENTIAL 17

VMworld 2017 Content: Not fo

r publication or distri

bution

PDB - 12.2 New Features

• PDB Hot Clone

– Online test master instantiation

• PDB Refresh

– Incremental refresh of clone with latest data

#VIRT1633BU CONFIDENTIAL 18

CRM

Oracle Cloud

Pricing Retail

On-Premises

CRM

Snap Clone

Snap Clone

CRM Dev1 CRM Dev2

Developers

TIME

Changes made to database

Cloned version no longer in sync

Only changes copied and applied

VMworld 2017 Content: Not fo

r publication or distri

bution

PDB - 12.2 New Features

• PDB Hot Clone

– Online test master instantiation

• PDB Refresh

– Incremental refresh of clone with latest data

• PDB Relocate

– Relocate with no downtime

#VIRT1633BU CONFIDENTIAL 1919

CRM

HR

Oracle Cloud

Pricing Retail

On-Premises

CRM

VMworld 2017 Content: Not fo

r publication or distri

bution

Defined VM Cluster design and feature usage

Review License

Oracle Architecture Options Oracle Multitenant Deployment

Define DBaaS

PDB organization and placement Policy VMware and/or PDB Mobility Considerations

Standardized on Capabilities

#VIRT1633BU CONFIDENTIAL 20

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackVMware Configuration

• Customer Example of Standardized on sizesVM Type VM Sizing (vCPU and Memory) SGA sizing (SGA & HugePage

Setting)

Small 2 vCPU and 8GB 6GB SGA

Basic Medium 4 vCPU and 64GB 58GB SGA

Large 8+ vCPUs and 128GB 100GB+

• Size VM for only minimal/appropriate number of CPUs and memory.

• If exact workload is not known, start with fewer vCPUs and increase as needed.

• Use Capacity Planner can analyze current environment and provide resource utilization metrics

for sizing.

• Overcommitting CPU/memory is practical, as long as ESXi host is not saturated or while VMs

are not bottlenecked on system resources.

• For lower-tiered workloads, reasonable over commitment can increase aggregate throughput

and maximize license savings - The consolidation ratio varies depending on workloads.

#VIRT1633BU CONFIDENTIAL 21

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackVMware Configuration

• Followed all the Oracle – VMware best practices as per the following

• NUMA adherence

• vCPUs + Memory standard sizes

• Noop IO scheduler

• Lazy-eager thick disks

• ASM

• Datastore management

#VIRT1633BU CONFIDENTIAL 22

VMworld 2017 Content: Not fo

r publication or distri

bution

Use Case #1Consolidation using 12.2 Multitenant and Oracle Restart

VMworld 2017 Content: Not fo

r publication or distri

bution

Oracle on VMware Collateral – One Stop Shop

#VIRT1633BU CONFIDENTIAL

https://blogs.vmware.com/apps/2017/01/oracle-vmware-collateral-one-stop-shop.html

24

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackDBaaS Considerations

• Various methods to deliver DBaaS

• Model will be driven by the granularity of service being deployed and technology used to deploy

– Deploy Linux VM with Oracle software, and CDB instantiated in the process flow

– Deploy new CDB on existing VM

– Deploy new PDB on existing CDB on existing VM

• In all cases, have a templatized provisioning mode for faster MTTDeploy

– VM templates

– DBCA for CBD setup

– DBCA for fresh PDB enablemnet, or clone from baseline seed PDB

#VIRT1633BU CONFIDENTIAL 25

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackConsiderations

• Define PDB placement policy

– Organize PDBs into CDB by Operational or Business alignment

– Evaluate Noisy neighbor management and exception handling

• Operational

• Management

• Performance

• Security

• Evaluate consolidation density thresholds of DBaaS, or “degree of fullness”.

– Density of VMs/node.

– Density of CDBs/VM.

– Density of PDBs/VM

– CDB/PDB organization. Are PDBs organized into specific CDBs?

#VIRT1633BU CONFIDENTIAL 26

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackConsiderationsMobility in Virtualized environment, which mechanism fits best for the scenario

Object Technology-Utility Use Case

VM VMware vMotion Move VM to another ESXi host in

cases of unplanned or preparation

planned outages

CDB Traditional Database Migration tools; e.g., Data Pump,

RMAN, TTS, etc.

Migrate CDB to another ESXi host or

bare-metal host in preparation for

planned outages or system upgrades.

PDB In Oracle Database 12.2, there are numerous [online]

methods to move PDBs between CDB; whether these

PDB will be on the same server or different servers:

• Hot Clone

• PDB Relocate

Migrate PDB to another ESXi host or

bare-metal host in preparation for

noisy neighbor contained, planned

outages, or system upgrades.

#VIRT1633BU CONFIDENTIAL 27

VMworld 2017 Content: Not fo

r publication or distri

bution

Use Case #2Consolidation using 12.1 Multitenant and Oracle RAC

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackOracle RAC

• A Oracle Grid Infrastructure/Oracle RAC and Multitenant (license required)

– Three node VMcluster

– Deployed three RAC clusters in three node VMcluster

– Sized servers and storage appropriately to support the [expected] workload

• Database scale and HA provided by Oracle RAC

– Disabled many VM mobility features – DRS, vMotion, DPM

• Consolidation density driven by CDB/PDB and RAC Instances

#VIRT1633BU CONFIDENTIAL 29

VMworld 2017 Content: Not fo

r publication or distri

bution

Three node VMcluster

RAC Prod1 Cluster

RAC QA Cluster

RAC Patching Test Cluster

ESXi hostESXi hostESXi host

The Stack, the Full Stack and Nothing but the StackOracle RAC Model

#VIRT1633BU CONFIDENTIAL 30

VMworld 2017 Content: Not fo

r publication or distri

bution

Use Case #3Consolidation using Mixed Bag

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackOracle Restart

• A combination of Oracle RAC and non-RAC deployments

– Driven by Chargeback Model

– Business Units choose degree of HA and Scale

• Consolidation driven by CDB/PDB and RAC Instances

• VM mobility features – DRS, vMotion, DPM enabled for single instance (non-RAC VMs)

#VIRT1633BU CONFIDENTIAL 32

VMworld 2017 Content: Not fo

r publication or distri

bution

The Stack, the Full Stack and Nothing but the StackOracle Restart

#VIRT1633BU CONFIDENTIAL 33

VMworld 2017 Content: Not fo

r publication or distri

bution

Improve High Availability and Scalability

Goal: With Standardization in place, provide a platform for High Availability and Agility

• Reduce impact of planned and unplanned outages

• Move towards Autonomous Computing –Proactively catch issues and/or Self Healing -Mitigate before they become exposed or soften the exposure

• Transparent Application Failover and Application Continuity

• Improve HA for Development environments as well Production

• Enable platform for DevOps – Agility and Faster Mean time to Market

#VIRT1633BU CONFIDENTIAL 34

VMworld 2017 Content: Not fo

r publication or distri

bution

Stabilization – Through Rationalization, Simplification, and StandardizeOverall Benefits

Standardize on Product and Platform

• Server Consolidation via VMware virtualization

• Database Consolidation using Oracle 12c Multitenant

• Combination of Consolidation Platforms

– Server Footprint Reduction

– Improved CPU/Memory utilization

– Reduced TCO

– Increase efficiency for development and test environments

• VMware VM templatization provided agility in deployment and configuration consistency

#VIRT1633BU CONFIDENTIAL 35

VMworld 2017 Content: Not fo

r publication or distri

bution

Conclusion – Evolve or Dissolve

• Standardization and Rationalization are not static parameters

– Standards need to evolve with changing Business Drivers

• Adaptability is Key

– Always have to create or respond to changes in the market to ensure their viability and success

• Business Agility

– Continue to provide value-add services to meet Mean Time to Market needs

#VIRT1633BU CONFIDENTIAL 36

VMworld 2017 Content: Not fo

r publication or distri

bution

More detailed information is available at

viscosityna.com or by talking to a real

person at 469.444.1380

37

VMworld 2017 Content: Not fo

r publication or distri

bution

VMworld 2017 Content: Not fo

r publication or distri

bution

VMworld 2017 Content: Not fo

r publication or distri

bution