11.2 next generation database grid overview

Upload: dmitry-volkov

Post on 08-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    1/49

    Lowering the Costs of Database Deployments

    Oracle Grid 11.2

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    2/49

    Grid 11.2

    Grid 11.2 reduces the costs of deploying and

    managing your infrastructure Reduces your capital expenditures (CAPEX) Servers

    Storage

    Software Reduces your operational expenditures (OPEX)

    Data center costs: Power, cooling, floorspace

    Administrative costs

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    3/49

    Reducing Costs of Deployments

    CAPEX

    OPEX

    Servers

    Software

    Storage

    Data Center

    Admin

    Low cost servers

    Consolidation

    Full Oracle Stack

    Fewer disks/LUNs

    Easy Management

    Consolidation

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    4/49

    Reducing Costs of Deployments

    CAPEX

    OPEX

    Servers

    Software

    Storage

    Data Center

    Admin

    Low cost servers

    Consolidation

    Consolidation

    Oracle Real

    Application Clusters

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    5/49

    Consolidation with Grid Computing

    Server A Server B Server C Server D

    Application A Application B Application C Application D

    Workload Avg Utilization

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    6/49

    Real Application ClustersConsolidate into low costs servers

    Scale workloads across multiple low cost servers

    Consolidate into fewer servers and databases Runs all Oracle database applications

    Built-in HA to support mission critical workloads

    HR SALES ERP

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    7/49

    Oracles Grid Computing Architecture4:1 price/performance, unlock Moores law, pay asyou grow

    Year 1 Year 2 Year 3 Year 4 Year 5

    IBM Power 595Server Model9119-FHA

    Cost: SMP $12m

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    8/49

    Oracles Grid Computing Architecture4:1 price/performance, unlock Moores law, pay asyou grow

    Year 1 Year 2 Year 3 Year 4 Year 5

    IBM Power 595Server Model9119-FHA

    Cost: SMP $12m

    HP ProLiantDL580G5

    Cost: Cluster $0.30m $0.14m $0.14m

    Savings $11.7m $12.5m $11.9m $12.3m $12.1m

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    9/49

    PG&E SmartMeter InitiativeExtreme Scalability Challenge

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    10/49

    PG&E SmartMeter InitiativeExtreme Scalability Challenge

    $5 MillionAnnual Savings

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    11/49

    RAC-OneBetter Virtualization for Databases

    New single-instance RACconfiguration

    Delivers value of servervirtualization to databases onphysical servers

    Live migration of instances acrossservers

    Rolling patches for single instancedatabases

    Built-in cluster failover for highavailability

    Online upgrade to RAC

    Standardized deployment across

    all Oracle databases Complements virtual and physical

    servers

    Newin11.2

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    12/49

    RAC-One: Expands the benefits of VMs to physical hardware

    YesNoOnline upgrade to RAC

    YesNoDB rolling patches

    YesNoOnline Scale-up

    YesNoSupport all platforms

    YesNoStandard DBdeployment model

    YesNoOS rolling patches

    Yes, with less overheadYesDB Consolidation

    Protects against broadset of failures

    Server failures onlyHA

    YesYesOnline Load Balancing

    RAC OneServer Virtualization(Virtual Machine)

    Benefit

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    13/49

    Omotion (RAC-One) vs VMotion (VMWare)

    Application-levelOS level onlyFine grained migration

    YesNoSupport for both

    physical & virtual Env.

    LessMoreOverhead

    Limitation does not

    apply

    Does not work

    across hardwaregenerations

    Hardware support

    Works under any loadDoes not work underall loads

    Ability to handle load

    No server size limitsLimited to 8-coresMulti-core

    RAC-OneVmotionBenefit

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    14/49

    RAC-One Deployment

    DB1 DB2

    Server A

    Common Shared Storage

    Single Cluster

    DB3 DB4 DB5

    Server B Server C

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    15/49

    OMotion

    DB1 DB2

    Common Shared Storage

    Single Cluster

    DB4 DB5DB3

    Client Connections

    Server A Server B Server C

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    16/49

    OMotion

    DB1 DB2

    Common Shared Storage

    Single Cluster

    DB2 DB4 DB5DB3

    Client Connections

    Server A Server B Server C

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    17/49

    OMotion

    DB1 DB2

    Common Shared Storage

    Single Cluster

    DB2 DB4 DB5DB3

    Client Connections

    Server A Server B Server C

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    18/49

    OMotion

    DB1 DB2

    Common Shared Storage

    Single Cluster

    DB2 DB4 DB5DB3

    Client Connections

    Server A Server B Server C

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    19/49

    OMotion

    DB1

    Common Shared Storage

    Single Cluster

    DB2 DB4 DB5DB3

    Client Connections

    Server A Server B Server C

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    20/49

    OMotion

    OMotion moves a RAC-One instance from one serverto anotherwithout any downtime

    Use Cases Load balancing

    Server/OS patching and maintenance

    Oracle supplied scripts control migration Services are not accepting connections on both nodes at thesame time

    Migrated instance shutdown transactional once servicesmoved

    A maximum of 30 minutes allowed for connections to migrate(then shutdown abort)

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    21/49

    Rolling Online Patching

    If the patch can be rolling upgraded with RAC then wecan do the same with RAC-One

    Omotion migration followed by patching

    When patching complete, the primary instance isbrought back online and the secondary instance is

    shutdown (reverse Omotion)

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    22/49

    Cluster Failover

    DB1 DB2

    Server A

    Common Shared Storage

    Single Cluster

    DB3 DB4

    Server B Server C

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    23/49

    Cluster Failover

    DB1 DB2

    Server A

    Common Shared Storage

    Single Cluster

    DB3 DB4

    Server B Server C

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    24/49

    Cluster Failover

    DB1 DB2

    Server A

    Common Shared Storage

    Single Cluster

    DB4

    Server B Server C

    DB3

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    25/49

    Provides benefit to Virtual Servers

    RAC-One can alsocomplement server

    virtualization Cluster failover extends high

    availability to virtualizeddatabases

    Deploy VMs on demand tocreate additional servers forrolling patches

    RAC-One fully supported onOracle VM

    OVM OVM

    RAC-One

    InstanceRAC-OneInstance

    Fusion

    MiddlewareOracle

    Application

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    26/49

    Increasing Benefits of Consolidation

    OS

    DB

    Storage

    OS

    DB

    Storage

    OS

    DB

    Storage

    OS

    DB

    Storage

    OS

    DB

    OS

    DB

    Storage

    Storage

    Storage

    Storage

    OS

    DB

    OS

    DB

    Storage

    Storage

    Storage

    Storage

    OS

    DB DB

    OS

    DB DB

    OSDB DB

    OSDB DB

    Storage

    OSDB

    Storage

    OS

    Server Consolidation

    OS Consolidation

    Storage Consolidation

    DB Consolidation

    Increa

    sing

    Sav

    ings

    Before Consolidation

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    27/49

    Reducing Costs of Deployments

    CAPEX

    OPEX

    Servers

    Software

    Storage

    Data Center

    Admin

    Fewer disks/LUNs

    Automatic Storage

    Management

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    28/49

    Automatic Storage Management (ASM)

    The foundation for Grid Storage

    Easier to manage than file systems

    Reduces storage costs

    Provides best performance

    Stores all data

    ASM DiskASM Disk

    ASM DiskASM Disk

    ASM Disk

    ASMDisk Group

    Newin11.2

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    29/49

    Easier to manage than file systems

    Eliminates need for a cluster volume manager and filesystem Fewer components to purchase, install, manage, patch,

    upgrade

    Automatically creates and manages Oracle files

    Just identify the disks for storage and leave rest to ASM Eliminates need to tune storage

    All files distributed across all disks eliminates hot spots

    Data redistributed online when storage added or removed

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    30/49

    Reduces Storage Costs

    Eliminate the need to purchase a 3rd-party volume manager orfile system

    Eliminate the need to overprovision storage Can add storage just-in-time (online)

    Reduce number of disks required to meet performanceobjectives

    Automatically optimizes storage tuning

    Increase overall utilization of storage via storage pooling

    Eliminate downtime with hot pluggable (rebalanced) storage

    Utilize less expensive storage

    Tiered Storage

    Advanced features eliminate need for high-cost storage cache

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    31/49

    Intelligent Data Placement

    Policy-based file placement forhot files on high performanceregions of disk

    Classify files as hot or cold forplacement

    Supports Oracle ExadataStorage Server

    Save up to 35% on storage Increase storage throughput

    performance up to 60%

    Use Case: Place file system

    data on cold file region

    Newin11.2

    Infrequently

    AccessedData

    Infrequently

    AccessedData

    Frequently

    AccessedData

    Frequently

    AccessedData

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    32/49

    Provides Best Performance

    ASM provides equivalentperformance to RAW

    Database instance directlyaccesses data on disks

    ASM not in path betweeninstance and storage

    Sun ASM vs RAW

    benchmark ASM supported 80% more

    throughput with 50%shorter response

    CERN testing on 11.2 Beta:

    ACFS much faster thanext3 with comparable orless CPU usage

    Per

    formance Non-ASM

    (Gets out of tune in time)

    ASM

    TIME

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    33/49

    ASM vs ext3 and OCFS

    full scan and index buildspeed to perform operation - small is better

    0

    100

    200

    300

    400

    500

    600

    700

    800

    900

    ext3 async ext3 directio ocfs directio ocfs direct+async asm async

    IO type

    seconds

    Full Scan 100G parallel 32

    create index parallel 32

    ASM hasBest Performance

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    34/49

    Reducing Costs of Deployments

    CAPEX

    OPEX

    Servers

    Software

    Storage

    Data Center

    Admin

    Full Oracle Stack

    Oracle GridInfrastructure

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    35/49

    Oracle Grid Infrastructure

    Standardize infrastructuresoftware

    Eliminate need for 3rd

    -partysolutions

    Targeted at System andStorage administrators

    Includes:

    Automatic StorageManagement (ASM)

    ASM Cluster File System(ACFS)

    ACFS Snapshots

    Oracle Clusterware

    Cluster Health Manager

    Applications

    Middleware

    Database

    Oracle Grid Infrastructure

    EM

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    36/49

    Benefits

    Reduced costs Replace existing priced solutions

    $100K for mid-range server*

    $300K for large server*

    Simplified environment for Oracle products

    Less complexity One support call

    Fully integrated with Oracle RAC

    Best possible performance

    *Estimates

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    37/49

    Stores All Data

    ASM supports ALL data Database files

    File systems: ACFS, 3

    rd

    -party file systems Shared Clusterware files: OCR and Voting disk now stored inASM

    Newin11.2

    DB DatafilesDB Datafiles OCR and Voting FilesOCR and Voting Files Oracle BinariesOracle Binaries 3rd Party File Systems3rd Party File Systems

    Automatic Storage Management (ASM)

    File SystemsApplicationsDatabases

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    38/49

    ASM Cluster File System

    Oracle Management of File System Data

    Manage both database and filesystem data

    Clustered or local file system Data stored in ASM Inherits all ASM manageability

    benefits

    Online diskadd/drop/rebalance

    Integrated mirroring

    Cross-platform

    Read-Only Snapshots up to 64 point-in-time space

    efficient copies of file system

    Linux and Windows only in firstrelease

    Newin11.2

    Shared File System

    N

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    39/49

    ACFS Use Cases

    Shared Oracle DB home

    Other file system data

    External tables, data loads, dataextracts

    BFILES and other data customerchooses not to store in db

    Log files (consolidates access)

    Test environments Copy back a previous snapshot

    after testing

    Backups Snapshot file system for point-in-

    time backups

    General purpose local or clusterfile system

    Leverage ASM manageability

    Shared Oracle HomeShared Oracle Home

    Newin11.2

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    40/49

    Node 1 Node 2 Node 3 Node 4

    Consolidated Pool of Storage withAutomatic Storage Management (ASM)

    Oracle ClusterwareOracle ASM / ACFS

    Oracle RAC ProtectedApp AProtected

    App B

    Oracle Clusterware

    Provides shared infrastructure for server pooling Monitors 3rd-party applications to make them highly available

    New agents for Oracle components: TimesTen, Hyperion, Siebel

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    41/49

    Cluster Health Manager

    Root Cause Analysis at Cluster and System Level

    Proactivelyanalyze cluster

    state and health Root cause

    analysis

    Predictfailures

    Preventfailures

    Future:Automatically

    and proactivelyrepair issues

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    42/49

    Reducing Costs of Deployments

    CAPEX

    OPEX

    Servers

    Software

    Storage

    Data Center

    Admin Easy Management

    Oracle UniversalInstaller

    Enterprise ManagerRole-basedManagement

    Grid Automation

    N

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    43/49

    Simplified Management

    Goal: Make grid as easy touse as a single system

    Install into the grid in a singleoperation

    Extend management tools tosupport all components

    Adapt to your organization

    Make cluster infrastructureinvisible

    Key features

    Simplified Provisioning

    EM Grid Management

    Role-separated Management

    Grid Automation

    To reduce deployment costs, the grid must be easy to use

    Newin11.2

    Ne

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    44/49

    Simplified Provisioning

    Release 11.2 includes a new installer thattakes much of the work out of install. Automatic checking for pre-requisites

    Intelligent error handling and repair

    Examples: kernel parameters, SSH setup

    Easy upgrade/downgrade of Oracle

    Clusterware Software only Grid Infrastructure install

    Updateable installer, de-install tool

    Install a cluster database in almost half

    the time Study shows over 40% time savings

    Newin11.2

    Ne

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    45/49

    EM Grid Management

    EM is able to manage thefull stack, including Oracle

    Clusterware Manage and monitor

    clusterware components

    Manage and monitorapplication resources

    Automatic discovery oftargets as the join thecluster

    Support for ACFS

    ASM ConfigurationAssistant (ASMCA) forASM and ACFS

    Newin11.2

    SNew

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    46/49

    Role-Separated Management

    Management of stack spans roles of both database and systemadmins

    New install flow and home management respects admin roles New Grid Infrastructure home installed separately

    Storage centric tools and privileges for system admins

    Extend ASMCMD to include ASM disk group, disk, and instance

    management SYSASM privilege and file access control (ACL)

    ASM Configuration Assistant (ASMCA) tool

    Installation for system admins

    New knowledge tools for system admins Training courses

    Documentation

    Newin11.2

    G id A t tiNew

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    47/49

    Grid Automation

    Easy node add/drop Servers and database nodes

    will automatically discoverpeers and negotiate services

    Network configuration

    Name resolution

    Storage

    Policy-based clustermanagement Deploy services to cluster, not

    specific nodes

    Provide the application

    required minimum resources(whenever possible)

    Automated Cluster Patching

    Opatch improvements

    dramatically reduce workrequired to patch a cluster node

    Over 90% reduction insteps to apply Clusterwareand DB patch

    Supports Grid Infrastructure andDatabase

    Newin11.2

    R d i C t f D l t

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    48/49

    Reducing Costs of Deployments

    CAPEX

    OPEX

    Servers

    Software

    Storage

    Data Center

    Admin

    Low cost servers

    Consolidation

    Full Oracle Stack

    Fewer disks/LUNs

    Easy Management

    Consolidation

    RAC

    Oracle VM

    ASM

    Grid Infrastructure

    RAC/Oracle VM

    11.2 Improvements

  • 8/7/2019 11.2 Next Generation Database Grid Overview

    49/49