11g RAC Latest

Embed Size (px)

Citation preview

  • 8/12/2019 11g RAC Latest

    1/30

    Oracle 11gR2 New Features forOracle 11gR2 New Features for

    RACRACWhat's New in Clusterware!!!What's New in Clusterware!!!OTN TourOTN Tour

    (Costa Rica, Ecuador, Columbia, Peru)(Costa Rica, Ecuador, Columbia, Peru)

  • 8/12/2019 11g RAC Latest

    2/30

    About meIndependent Oracle Consultant - Summersky Enterprises

    e-mail: [email protected]

  • 8/12/2019 11g RAC Latest

    3/30

  • 8/12/2019 11g RAC Latest

    4/30

    Oracle Clusterware Components

    Grid Infrastructure

    HAS Stack

    CRS Stack

    CRS CSS EVM CTSS ONS ASM oraagent orarootagent

    GNS mDNS GIPCD GPnPD crflogd

    crfmond

    New in

    11.2.0.2

  • 8/12/2019 11g RAC Latest

    5/30

    ClusterWare Files

    Oracle Cluster Registry (OCR)

    Oracle Local Registry (OLR)

    Voting Disk

    GPnP Profile

    New in

    11.2.0.2

  • 8/12/2019 11g RAC Latest

    6/30

    ORADB2ORADB1

    Cluster Interconnect

    SSKY1SSKY1 SSKY2SSKY2

    ORADB4

    SSKY4SSKY4

    ORADB3

    SSKY3SSKY3

    Public Network

    HAS

    CRS

    CSS

    EVM

    VIPVIP VIPVIP VIPVIP VIPVIP

    NM

    GM

    OCR

    Network Switch

    Interconnect Switch

    SAN switch

    Oracle Clusterware

    Summersky Enterprises LLC | | Murali Vallath | Slide: 6

    CRS

    CSS

    EVM

    HAS

    CTSS

    GPnP

    DISKMON

    CRS

    CSS

    EVM

    HAS

    CTSS

    GPnP

    DISKMON

    CRS

    CSS

    EVM

    HAS

    CTSS

    GPnP

    DISKMON

    OLR OLROLR OLR

    AA_00 AC_02AB_01 AD_03 AE_04 AF_05 AG_06 AH_07

    prddb

    Vote Disk

    OCR

    CRFMOND/LOGD

    GIPCD

    New in

    11.2.0.2

  • 8/12/2019 11g RAC Latest

    7/30

    GPnPD

    Grid Plug and Play Daemon Started before CSS Allows easy addition and deletion of nodes Dynamic management of VIPs

    Maintains essential cluster information in an XML profile: Cluster name and unique cluster identifier Public and private network interface mappings Location for the OCR and voting disks Location for the ASM parameter file

    Manages and distributes the profile using the GPnPdaemon

    Defines cluster name, networks and storage

    New in

    11.2.0.2

    Summersky Enterprises LLC | | Murali Vallath | Slide: 7

  • 8/12/2019 11g RAC Latest

    8/30

    GPnP ProfileNew in

    11.2.0.2

    Summersky Enterprises LLC | | Murali Vallath | Slide: 8

  • 8/12/2019 11g RAC Latest

    9/30

    Cluster Stack Invocation

    init

    OHASD

    orarootagent

    cssdagent

    oraagent

    ASM

    EVMD

    MDNSD

    GPNPD

    CTSSD

    CRSD

    CSSD Monitor

    GNSD

    CSSD

    SCAN

    Listener

    DB Instance

    eONS

    ONS

    ASM Instance

    VIP

    SCAN VIP

    GNS VIP

    Network

    GNSD

    Summersky Enterprises LLC | | Murali Vallath | Slide: 9

  • 8/12/2019 11g RAC Latest

    10/30

    Clusterware Log Directories

    GRID HOMEGRID HOME loglog

    e.g.. prddb1

    e.g.. prddb1

    evmd

    agentagent

    gpnpd

    gnsd

    client

    gipcd

    diskmon

    srvm

    ohasd

    crsd

    cssd

    admin

    ctssd

    mdnsd

    racgracg

    ohasd

    oh

    asd

    crs

    d

    crsd

    orarootagent_root

    oragent_oracle

    oracssdmonitor_root

    oracssdagent_root

    orarootagent_root

    oragent_oracle

    oracssdmonitor_root

    racgmain

    racgevtf

    racgeut

    alert.log

    crscrs

    diagdiag

    New in

    11.2.0.2

    acfssec

    acfsreplroot

    acfsrepl

    crflogd

    crfmond

    Summersky Enterprises LLC | | Murali Vallath | Slide: 10

  • 8/12/2019 11g RAC Latest

    11/30

    Clusterware Log Directories

    GRIDHOME

    GRIDH

    OME

    loglog diagdiag

    tnslsnr

    tnsls

    nr

    c

    lients

    c

    lients

    user_root

    user_root

    listener_scan3

    listener_scan2

    listener_scan1

    host_

    host_

    adrci_dir.mif

    crscrs

    node

    nod

    e

    sweep

    stage

    metadata

    lck

    incpkg

    incident

    cdump

    alert

    trace

    stage

    metadata

    lck

    incpkg

    incident

    cdump

    alert

    trace

    sweep

    Summersky Enterprises LLC | | Murali Vallath | Slide: 11

  • 8/12/2019 11g RAC Latest

    12/30

    VIPs

    Database VIP (also called RAC VIP)

    Application VIP

    HAIP (IC VIP)

    Summersky Enterprises LLC | 11gR2 RAC | Murali Vallath | Slide: 12

    New in

    11.2.0.2

  • 8/12/2019 11g RAC Latest

    13/30

    Cluster Interconnect

    Oracle uses the interconnect for cachesynchronization

    Interconnect is also used for

    Data blocks

    Locks

    SCN numbers Messages

    Summersky Enterprises LLC | 11gR2 RAC | Murali Vallath | Slide: 13

    New in

    11.2.0.2

  • 8/12/2019 11g RAC Latest

    14/30

    Redundant Interconnects

    CLUSTER_I NTERCONNECT

    NIC Bonding

    HAIP

    Summersky Enterprises LLC | 11gR2 RAC | Murali Vallath | Slide: 14

    New in

    11.2.0.2

  • 8/12/2019 11g RAC Latest

    15/30

    Verify Deamons

    $GRI D_HOME/ bi n/ cr sct l st at r es - t - i ni t

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    NAME TARGET STATE SERVER STATE_DETAI LS- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -or a. asm 1 ONLI NE ONLI NE devsr v1 St ar t edor a. cl uster _ i nt er connect . hai p 1 ONLI NE ONLI NE devsrv1or a. cr f 1 ONLI NE ONLI NE devsr v1or a. cr sd 1 ONLI NE ONLI NE devsr v1

    or a. cssd 1 ONLI NE ONLI NE devsr v1or a. cssdmoni t or 1 ONLI NE ONLI NE devsr v1or a. ct ssd 1 ONLI NE ONLI NE devsr v1 OBSERVER

    Summersky Enterprises LLC | | Murali Vallath | Slide: 15

  • 8/12/2019 11g RAC Latest

    16/30

    RAC Background Process ACMS Atomic Controlfile to Memory Service

    GTX0-j Global Transaction Process

    RMSn Oracle RAC Management Processes (RMSn)

    RMSN Remote Slave Monitor

    LMS Global Cache Service Processes

    LMON Global Enqueue Service Monitor

    LMD Global Enqueue Service Daemon

    LCK Lock Process

    DBRM Database Resource Manager

    PING Response time agent

    Summersky Enterprises LLC | Oracle Real Application Cluster | Murali Vallath | Slide: 16

    New in

    11.2.0.2

  • 8/12/2019 11g RAC Latest

    17/30

    SCAN

    SCAN Single Client Access Number Similar to a cluster alias available on Tru64 and VMSclusters

    Helps load balance across the database cluster

    Clients do not require VIP information Removes the requirement to change the client connection

    if cluster changes

    Must resolve to atleast one address on the public network

    Best practice .. resolve to 3 addresses for the entire cluster

  • 8/12/2019 11g RAC Latest

    18/30

    SCAN

    Allows clients to use EZConnect or simple JDBCconnections Each cluster will have 3 SCAN listeners, each

    having a SCAN VIP defined as cluster resources

    on network 1 A SCAN VIP/LISTENER will failover to another

    node in the cluster Instance registers with local listener on its node Database REMOTE_LI STENER registers

    instances with all SCAN listeners

  • 8/12/2019 11g RAC Latest

    19/30

  • 8/12/2019 11g RAC Latest

    20/30

    SCAN/GNS Configuration

    GNS configuration

    SCAN configuration

  • 8/12/2019 11g RAC Latest

    21/30

    Server Pools

    Node 5 Node 6 Node 7 Node 8 Node 9 Node 10

    oltp5 oltp6 oltp7 dwh8 dwh9 dwh10

    Node 1 Node 2 Node 3 Node 4

    ssky1 ssky2 ssky3 ssky4

    sskypool2

    Min=3Max=3

    sskypool3

    Min=3Max=3

    sskypool1

    Min=2Max=4

  • 8/12/2019 11g RAC Latest

    22/30

    Server Pools

    Logical division of the cluster into pools of servers Applications (e.g. databases) can be configured to

    run in one or more server pools

    Managed by crsct l (applications), srvctl(Oracle)

    Defined by 3 attributes:

    MI N- minimum number of servers (default 0) MAX maximum number of servers (default 0 or -1)

    I MPORTANCE 0 (least important) to 1000

  • 8/12/2019 11g RAC Latest

    23/30

    Server Pools

    One-to-one mapping between a databaseservice and server pool

    A database service can only be defined to

    operate in one pool UNI FORM all servers in the pool

    SI NGLETON one server in the pool

    Resources are contained in logical groups ofserver pools

  • 8/12/2019 11g RAC Latest

    24/30

    Types of Server Pools

    System defined Free

    Generic

    User defined

  • 8/12/2019 11g RAC Latest

    25/30

    Server Pools

  • 8/12/2019 11g RAC Latest

    26/30

    Server Pools

  • 8/12/2019 11g RAC Latest

    27/30

    Server Pools

    Node 5 Node 6 Node 7 Node 8 Node 9 Node 10

    oltp5 oltp6 oltp7 dwh8 dwh9 dwh10

    Node 1 Node 2 Node 3 Node 4

    ssky1 ssky2 ssky3 ssky4

    sskypool2

    Min=3

    Max=3

    sskypool3

    Min=3Max=3

    sskypool1

    Min=2Max=4

    Node 4

    oltp5

  • 8/12/2019 11g RAC Latest

    28/30

    Server Pools

    Node 5 Node 6 Node 7 Node 8 Node 9 Node 10

    oltp5 oltp6 oltp7 dwh8 dwh9 dwh10

    Node 1 Node 2 Node 3 Node 4

    ssky1 ssky2 ssky3 ssky4

    sskypool2

    Min=3

    Max=3

    Importance = 20

    sskypool3

    Min=3

    Max=3

    Importance = 30

    sskypool1

    Min=3

    Max=4

    Importance = 10

    Node 4

    oltp5

    Node 8

    dwh8

  • 8/12/2019 11g RAC Latest

    29/30

    Q U E S T I O N SQ U E S T I O N SA N S W E R SA N S W E R S

    Complete your evaluations

  • 8/12/2019 11g RAC Latest

    30/30

    [email protected]

    | Murali Vallath | Slide: 30

    Thanks for Listening