SlideShare uma empresa Scribd logo
1 de 26
- Santosh Kangane


Santosh Kangane – Oracle DBA
santoshkangane.blogspot.in
www.linkedin.com/pub/santosh-kangane/1b/78b/6b

                              © 2012. Santosh Kangane
Highlights

   System Requirement
   Oracle 11gR2 RAC overview
   Storage Option
       SAN
       NAS
   SCAN
   OCR, Voting Disk and Time Synchronisation
   Oracle ASM
   Oracle Enterprise manager for RAC
System Requirement

Oracle Certified Operating Systems for RAC :
     Linux :
          Red Hat Enterprise Linux               : 4.7, 5.2, 5.5, 6
          SUSE Linux Enterprise Server           : 10 SP2, 11
          Oracle Enterprise Linux                : All versions
     Oracle Solaris ( Most popular option for production systems )
     Windows
                                         * All Node must have same OS and Kernel Version


Memory Requirement for Linux platform:

                 RAM                         Swap Space Required
      Between 1 GB and 2 GB         1.5 times the size of the RAM
      Between 2 GB and 16 GB        Equal to the size of the RAM
      More than 16 GB               16 GB

Shared Memory : Minimum 40% of RAM; Should be grater than size of SGA
Oracle 11g Real Application Cluster
Oracle 11g RAC – PEG Lab setup

                               RAC Node 1 (PTS0009)
                                      RHEL 5.0




                                                  eth0 (public IP)
                  eth1 (private IP)               10.88.33.23
                  10.88.32.102                    PTS0009-vip
                                                  10.88.33.28
                                                                     LAN
                                                 eth0 (public IP)
                 eth1 (private IP)               10.88.33.22
Storage Server   10.88.32.101                    PTS0006-vip
                                                 10.88.33.27                                 DNS
    (PTS0012)
                                                                                           ORARAC-SCAN
                                                                                           10.88.33.24
                                                                                           10.88.33.25
                                                                                           10.88.33.26
                                                                       3 IP’s with round robin allocation mode
                               RAC Node 2 (PTS0006)
                                      RHEL 5.0
                                          © 2012. Santosh Kangane
Oracle 11g Real Application Cluster Stack



            3
                          7
                          6
                          5
                          4
                          2
                          1




* Number shows the startup sequence
Storage Options
NAS and SAN
IP – Based Storage Area Network Configuration

Standard configuration options
- Tool provided by Storage vendors
- OpenFiler Open source DOS
- Manual Setup using iSCSI protocol

Target (Ubuntu 12.04 on PTS0012)
   Install iscsitarget, iscsitarget-source, iscsitarget-dkms package
   Format the disk and create the partitions as per your requirements. ( I have 10 GB for
     OCR &Voting Disk; 61 GB for oracle storage).
   edit /etc/default/iscsitarget. Change the default value of ISCSITARGET_ENABLE=false
     over to ISCSITARGET_ENABLE=true.
   Define LUNs in /etc/iet/ietd.conf
          Target iqn.2012-08.in.co.persistent:storage.disk0. pts0012
                 LUN 0 Path=/dev/cciss/c0d1p5,Type=fileio,ScsiId=lun0,ScsiSN=lun0
  Node :
       ― 0th LUN is mandatory.
       ― Make sure there is no space in LUN Definition above and every parameter is
       separated by “,”

  Restart the service iscsitarget
IP – Based Storage Area Network


Initiator ( All RAC node RHEL5)
   Install iscsi-initiator-util package.
       (Make sure that you have iscsi version >= iscsi-initiator-utils-6.2.0.868-0.7.el5)
   Edit /etc/iscsi/iscsid.conf and set node.startup = automatic
   Then restart the initiator: /etc/init.d/iscsi restart
   Make sure iscsid service is configured to start at system boot up
            $ chkconfig --list iscsid
            iscsid      0:off 1:off 2:on 3:on 4:on 5:on 6:off
   Using CHAP authentication for security : Edit /etc/iscsi/iscsid.conf
            Enable following entries :
                  node.session.auth.authmethod = CHAP
                  node.session.auth.username = <<sanusername>>
                  node.session.auth.password = <<sanpassword>>

   Discover the target using command
        $ iscsiadm –m discovery –p <<Target IP>>:3260
   View detected nodes
        $ iscsiadm –m node
IP – Based Storage Area Network


Initiator ( All RAC node RHEL5) …cont
   Login to the LUNs ( use same sequence to login on all nodes so that the attached
       devices names will be identical )
    $iscsiadm -m node --targetname “<<inq name of first LUN>>" --portal
 “<< Target IP >>:3260" --login
  Verify the sessions
    $ iscsiadm -m session -P3 | less
  Now in $fdisk –l all newly attached iscsi drives will be shown ( make sure every
   LUN of storage has got same Device name on all RAC nodes)
  Format newly added drives from any ONE node and use $partprobe to push
   partition table on all other nodes
  Verify on all nodes if newly attached drives are showing valid portions using
   fdisk -l



 For more details on Storage Initiator setup and RAC Ethernet tuning refer :
 (http://www.scribd.com/doc/46183679/Red-Hat-Linux-v5-x-Software-iSCSI-Initiator-
 Configuration-MPIO-and-Tuning-Guide#outer_page_5)
Oracle RAC 11gR2 – Single Client Access Name (SCAN)



 How do I connect to a cluster ?
 How to configure Load balancing?
 How to handle Node failure?
 Who to isolate node addition/removal without affecting client
 connections and downtime ?


 Single client access name (SCAN) is the virtual hostname (of 1-15 Char) to provide for all
  clients connecting to the cluster and It should be unique across the network domain.

 SCAN is registered with DNS (or Grid Naming Service) with at least one and up to three
  IP addresses from the same subnet as that of Public and VIP address.

 These IP addresses should be allocated in round robin fashion
Oracle RAC 11gR2 – Scan Single Client Access Name (SCAN)

                                                                                    1.  On each Node there is pair of SCAN
                                                                                        Listener & Local Listener
                                 4                                                  3 SCAN IP address will be mapped as:
   3                                                                                •   3 Node : Each node will be mapped
                                                        PEGLAB1                         with one SCAN IP
                                                                                    •   More than 3 node : only 3 nodes will
                                                                                        be mapped to SCAN IPs
                                                                                    •   2 Node : One node will have double
                                                         2                              SCAN IP & SCAN Listener and other
                                                                                        node will have single IP and SCAN
                                5                                                       Listener
                                                                                    2.   PMON process of each instance report
SQL> conn                                               PEGLAB2                          the current work load to SCAN listener
user/pwd@orarac-
                                                                                         Service (specified in
scan/peglab
                                                                                         the REMOTE_LISTENER database
                                                                                         parameter.)
                                                                 6
3. On connect request DNS resolves the orarac-scan and returns list of 3 SCAN IP addresses
4. Client select the first IP from the list and connect to the RAC; if it fails then request again with next IP.
5. Depending on the Load SCAN listener re-direct the request to Local listener of lightly loaded node. ( Note here in case
   of More than 3 node cluster, this is how request can still be given to lightly loaded node via SCAN listener service, even
   if it does not have SCAN IP mapped )

6. Now all further communication happens through local listener directly.
OCR And Voting Disk

Oracle Cluster Registry:
           The OCR maintains cluster configuration information that is used by each node
of the cluster to determine the state of the cluster.
OCR also maintains information about cluster resources:
      • Databases
      • Instance
      • Services
Each node in the cluster maintains a copy of the OCR in memory for better performance
and also responsible for updating the OCR as required in shared storage.

Voting Disk:
           The Voting Disk Files are used by Oracle Clusterware to determine which nodes
are currently members of the cluster. The voting disk files are also used in concert with
other Cluster components such as CRS to maintain the clusters integrity.
Auto Segment Management : Architecture


            PEGLAB1       RDBMS Instances     PEGLAB2


             +ASM1        ASM                 +ASM2
                          Instances

           CLUSTERWARE   Clusterware        CLUSTERWARE




                              PEGLAB




                         Database Files
ASM Disk Groups, Disks and Database Files


         Disk                            Disk                    Disk
        Group 1                         Group 2                 Group 3



             File 3                      File 2

                                                                  File
                                                                   1
             File 4                      File 5



             File 5                      File 6
                                                                Disk 3

    Disk 1        Disk 4
                           Disk 2   Disk 5    Disk 6   Disk 7
ASM Failure Groups - External Redundancy


                              Disk Group




                     Disk 1     Disk 2     Disk 3
ASM Failure Groups – Normal Redundancy


                                     Disk Group




               Failure Group 1                             Failure Group 2




      Disk 1      Disk 2    Disk 3                Disk 4      Disk 5    Disk 6
ASM Failure Groups – High Redundancy


                             Disk Group




        Failure Group 1     Failure Group 2     Failure Group 3




      Disk 1    Disk 2    Disk 1    Disk 2    Disk 1    Disk 2
Extent Distribution – External Redundancy – 1 Disk




                             Metadata



                                  0
                                  1
                                  2
                                  3
                                  4
                                  5
                                  6
                                  7



                              Disk 0

                       Metadata         Data
Extent Distribution – External Redundancy – 2 Disk


                                      1
                                      3
                                      5
                     Metadata         7
                                      9
                                      11
                                      13
                      0               15
                      2
                      4
                      6
                      8
                      10
                      12
                      14



                      Disk 0          Disk 1

                           Metadata        Data
Extent Distribution – Normal Redundancy – 2 Disk

             Failure Group 1                               Failure Group 2

    0                          1                  0                          1
    3                          2                  3                          2
    4                          5                  4                          5
    7                          6                  7                          6
    0                          1                  0                          1
    3                          2                  3                          2
    4                          5                  4                          5
    7                          6                  7                          6
    8                          9                  8                          9
    11                         10                 11                         10
    12                         13                 12                         13
    15                         14                 15                         14
    16                         17                 16                         17
    19                         18                 19                         18
    20                         21                 20                         21
    23                         22                 23                         22

    Disk 0                     Disk 1             Disk 2                     Disk 3
              Metadata                  Primary            Secondary
              Data                      Primary            Secondary
Extent Distribution – High Redundancy – 1 Disk

         Failure Group 1             Failure Group 2          Failure Group 3

              0                           0                        0
              1                           1                        1
              2                           2                        2
              3                           3                        3
              4                           4                        4
              5                           5                        5
              0                           0                        0
              1                           1                        1
              2                           2                        2
              3                           3                        3
              4                           4                        4
              5                           5                        5
              6                           6                        6
              7                           7                        7
              8                           8                        8
              9                           9                        9

              Disk 0                     Disk 1                   Disk 2
   Metadata                Primary                Secondary                Tertiary
   Data                    Primary                Secondary                Tertiary
RAC Implementation Step By Step


         Document Explains the step by steps executions and
         seen dumps for
         - Pre-requisite Linux packages installation
         - Oracle 11gR2 Clusterware installation
         - Oracle 11gR2 Database software installation
         - Creation of ASM Disk group
         - Creation of Oracle 11g Database on Cluster
References




1. http://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm
2. http://www.oracle.com/technetwork/products/clustering/overview/scan-
   129069.pdf
3. https://support.oracle.com
4. http://www.scribd.com/doc/46183679/Red-Hat-Linux-v5-x-Software-iSCSI-
   Initiator-Configuration-MPIO-and-Tuning-Guide#outer_page_5
5. http://www.oracledba.org/11gR2/Pre_Install_11gR2.htm
6. http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/6
   48/TopicID/RACR2ARC6/Default.aspx
7. http://juliandyke.com/Presentations/Presentations.html




                                                                     25
santoshkangane.blogspot.com

Mais conteúdo relacionado

Mais procurados

Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesMarkus Michalewicz
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19cMaria Colgan
 
Optimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performanceOptimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performanceMariaDB plc
 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
Oracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTSOracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTSChristian Gohmann
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
Data Vault 2.0 DeMystified with Dan Linstedt and WhereScape
Data Vault 2.0 DeMystified with Dan Linstedt and WhereScapeData Vault 2.0 DeMystified with Dan Linstedt and WhereScape
Data Vault 2.0 DeMystified with Dan Linstedt and WhereScapeWhereScape
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...Sandesh Rao
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsStefan Oehrli
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACMarkus Michalewicz
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission CriticalMarkus Michalewicz
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020Anil Nair
 
MyRocks introduction and production deployment
MyRocks introduction and production deploymentMyRocks introduction and production deployment
MyRocks introduction and production deploymentYoshinori Matsunobu
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseMarkus Michalewicz
 

Mais procurados (20)

Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer Examples
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
Optimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performanceOptimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performance
 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion Edition
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
Oracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTSOracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTS
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
Data Vault 2.0 DeMystified with Dan Linstedt and WhereScape
Data Vault 2.0 DeMystified with Dan Linstedt and WhereScapeData Vault 2.0 DeMystified with Dan Linstedt and WhereScape
Data Vault 2.0 DeMystified with Dan Linstedt and WhereScape
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant Environments
 
Oracle GoldenGate
Oracle GoldenGate Oracle GoldenGate
Oracle GoldenGate
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission Critical
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
MyRocks introduction and production deployment
MyRocks introduction and production deploymentMyRocks introduction and production deployment
MyRocks introduction and production deployment
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
 

Destaque

Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus MichalewiczOracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus MichalewiczMarkus Michalewicz
 
Harvard University database
Harvard University databaseHarvard University database
Harvard University databaseMd.Mojibul Hoque
 
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsMarkus Michalewicz
 
How to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionHow to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionMarkus Michalewicz
 
Data Mobility for the Oracle Database by JWilliams and RGonzalez
Data Mobility for the Oracle Database by JWilliams and RGonzalezData Mobility for the Oracle Database by JWilliams and RGonzalez
Data Mobility for the Oracle Database by JWilliams and RGonzalezMarkus Michalewicz
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewMarkus Michalewicz
 

Destaque (6)

Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus MichalewiczOracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
 
Harvard University database
Harvard University databaseHarvard University database
Harvard University database
 
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
 
How to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionHow to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support Question
 
Data Mobility for the Oracle Database by JWilliams and RGonzalez
Data Mobility for the Oracle Database by JWilliams and RGonzalezData Mobility for the Oracle Database by JWilliams and RGonzalez
Data Mobility for the Oracle Database by JWilliams and RGonzalez
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - Overview
 

Semelhante a Oracle 11g R2 RAC implementation and concept

MARC ONERA Toulouse2012 Altreonic
MARC ONERA Toulouse2012 AltreonicMARC ONERA Toulouse2012 Altreonic
MARC ONERA Toulouse2012 AltreonicEric Verhulst
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화OpenStack Korea Community
 
No sql & dq2 tracer service
No sql & dq2 tracer serviceNo sql & dq2 tracer service
No sql & dq2 tracer serviceZang Donal
 
Theta and the Future of Accelerator Programming
Theta and the Future of Accelerator ProgrammingTheta and the Future of Accelerator Programming
Theta and the Future of Accelerator Programminginside-BigData.com
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBANikhil Kumar
 
Secure lustre on openstack
Secure lustre on openstackSecure lustre on openstack
Secure lustre on openstackJames Beal
 
Introduction to DPDK
Introduction to DPDKIntroduction to DPDK
Introduction to DPDKKernel TLV
 
Ceph Day New York 2014: Ceph, a physical perspective
Ceph Day New York 2014: Ceph, a physical perspective Ceph Day New York 2014: Ceph, a physical perspective
Ceph Day New York 2014: Ceph, a physical perspective Ceph Community
 
Wintel Hell: průvodce devíti kruhy Dantova technologického pekla / MARTIN HRO...
Wintel Hell: průvodce devíti kruhy Dantova technologického pekla / MARTIN HRO...Wintel Hell: průvodce devíti kruhy Dantova technologického pekla / MARTIN HRO...
Wintel Hell: průvodce devíti kruhy Dantova technologického pekla / MARTIN HRO...Security Session
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld
 
Oow 2008 yahoo_pie-db
Oow 2008 yahoo_pie-dbOow 2008 yahoo_pie-db
Oow 2008 yahoo_pie-dbbohanchen
 
Analise NetFlow in Real Time
Analise NetFlow in Real TimeAnalise NetFlow in Real Time
Analise NetFlow in Real TimePiotr Perzyna
 
Squash Those IoT Security Bugs with a Hardened System Profile
Squash Those IoT Security Bugs with a Hardened System ProfileSquash Those IoT Security Bugs with a Hardened System Profile
Squash Those IoT Security Bugs with a Hardened System ProfileSteve Arnold
 
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...Haidee McMahon
 
Apache Cassandra multi-datacenter essentials
Apache Cassandra multi-datacenter essentialsApache Cassandra multi-datacenter essentials
Apache Cassandra multi-datacenter essentialsJulien Anguenot
 
Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...
Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...
Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...DataStax
 
Project StarGate An End-to-End 10Gbps HPC to User Cyberinfrastructure ANL * C...
Project StarGate An End-to-End 10Gbps HPC to User Cyberinfrastructure ANL * C...Project StarGate An End-to-End 10Gbps HPC to User Cyberinfrastructure ANL * C...
Project StarGate An End-to-End 10Gbps HPC to User Cyberinfrastructure ANL * C...Larry Smarr
 

Semelhante a Oracle 11g R2 RAC implementation and concept (20)

MARC ONERA Toulouse2012 Altreonic
MARC ONERA Toulouse2012 AltreonicMARC ONERA Toulouse2012 Altreonic
MARC ONERA Toulouse2012 Altreonic
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
[OpenStack Days Korea 2016] Track1 - All flash CEPH 구성 및 최적화
 
LUG 2014
LUG 2014LUG 2014
LUG 2014
 
No sql & dq2 tracer service
No sql & dq2 tracer serviceNo sql & dq2 tracer service
No sql & dq2 tracer service
 
Theta and the Future of Accelerator Programming
Theta and the Future of Accelerator ProgrammingTheta and the Future of Accelerator Programming
Theta and the Future of Accelerator Programming
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBA
 
Secure lustre on openstack
Secure lustre on openstackSecure lustre on openstack
Secure lustre on openstack
 
Introduction to DPDK
Introduction to DPDKIntroduction to DPDK
Introduction to DPDK
 
Ceph Day New York 2014: Ceph, a physical perspective
Ceph Day New York 2014: Ceph, a physical perspective Ceph Day New York 2014: Ceph, a physical perspective
Ceph Day New York 2014: Ceph, a physical perspective
 
Userspace networking
Userspace networkingUserspace networking
Userspace networking
 
Wintel Hell: průvodce devíti kruhy Dantova technologického pekla / MARTIN HRO...
Wintel Hell: průvodce devíti kruhy Dantova technologického pekla / MARTIN HRO...Wintel Hell: průvodce devíti kruhy Dantova technologického pekla / MARTIN HRO...
Wintel Hell: průvodce devíti kruhy Dantova technologického pekla / MARTIN HRO...
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
Oow 2008 yahoo_pie-db
Oow 2008 yahoo_pie-dbOow 2008 yahoo_pie-db
Oow 2008 yahoo_pie-db
 
Analise NetFlow in Real Time
Analise NetFlow in Real TimeAnalise NetFlow in Real Time
Analise NetFlow in Real Time
 
Squash Those IoT Security Bugs with a Hardened System Profile
Squash Those IoT Security Bugs with a Hardened System ProfileSquash Those IoT Security Bugs with a Hardened System Profile
Squash Those IoT Security Bugs with a Hardened System Profile
 
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
 
Apache Cassandra multi-datacenter essentials
Apache Cassandra multi-datacenter essentialsApache Cassandra multi-datacenter essentials
Apache Cassandra multi-datacenter essentials
 
Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...
Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...
Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...
 
Project StarGate An End-to-End 10Gbps HPC to User Cyberinfrastructure ANL * C...
Project StarGate An End-to-End 10Gbps HPC to User Cyberinfrastructure ANL * C...Project StarGate An End-to-End 10Gbps HPC to User Cyberinfrastructure ANL * C...
Project StarGate An End-to-End 10Gbps HPC to User Cyberinfrastructure ANL * C...
 

Último

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 

Último (20)

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 

Oracle 11g R2 RAC implementation and concept

  • 1. - Santosh Kangane Santosh Kangane – Oracle DBA santoshkangane.blogspot.in www.linkedin.com/pub/santosh-kangane/1b/78b/6b © 2012. Santosh Kangane
  • 2. Highlights  System Requirement  Oracle 11gR2 RAC overview  Storage Option  SAN  NAS  SCAN  OCR, Voting Disk and Time Synchronisation  Oracle ASM  Oracle Enterprise manager for RAC
  • 3. System Requirement Oracle Certified Operating Systems for RAC :  Linux :  Red Hat Enterprise Linux : 4.7, 5.2, 5.5, 6  SUSE Linux Enterprise Server : 10 SP2, 11  Oracle Enterprise Linux : All versions  Oracle Solaris ( Most popular option for production systems )  Windows * All Node must have same OS and Kernel Version Memory Requirement for Linux platform: RAM Swap Space Required Between 1 GB and 2 GB 1.5 times the size of the RAM Between 2 GB and 16 GB Equal to the size of the RAM More than 16 GB 16 GB Shared Memory : Minimum 40% of RAM; Should be grater than size of SGA
  • 4. Oracle 11g Real Application Cluster
  • 5. Oracle 11g RAC – PEG Lab setup RAC Node 1 (PTS0009) RHEL 5.0 eth0 (public IP) eth1 (private IP) 10.88.33.23 10.88.32.102 PTS0009-vip 10.88.33.28 LAN eth0 (public IP) eth1 (private IP) 10.88.33.22 Storage Server 10.88.32.101 PTS0006-vip 10.88.33.27 DNS (PTS0012) ORARAC-SCAN 10.88.33.24 10.88.33.25 10.88.33.26 3 IP’s with round robin allocation mode RAC Node 2 (PTS0006) RHEL 5.0 © 2012. Santosh Kangane
  • 6. Oracle 11g Real Application Cluster Stack 3 7 6 5 4 2 1 * Number shows the startup sequence
  • 9. IP – Based Storage Area Network Configuration Standard configuration options - Tool provided by Storage vendors - OpenFiler Open source DOS - Manual Setup using iSCSI protocol Target (Ubuntu 12.04 on PTS0012)  Install iscsitarget, iscsitarget-source, iscsitarget-dkms package  Format the disk and create the partitions as per your requirements. ( I have 10 GB for OCR &Voting Disk; 61 GB for oracle storage).  edit /etc/default/iscsitarget. Change the default value of ISCSITARGET_ENABLE=false over to ISCSITARGET_ENABLE=true.  Define LUNs in /etc/iet/ietd.conf Target iqn.2012-08.in.co.persistent:storage.disk0. pts0012 LUN 0 Path=/dev/cciss/c0d1p5,Type=fileio,ScsiId=lun0,ScsiSN=lun0 Node : ― 0th LUN is mandatory. ― Make sure there is no space in LUN Definition above and every parameter is separated by “,”  Restart the service iscsitarget
  • 10. IP – Based Storage Area Network Initiator ( All RAC node RHEL5)  Install iscsi-initiator-util package. (Make sure that you have iscsi version >= iscsi-initiator-utils-6.2.0.868-0.7.el5)  Edit /etc/iscsi/iscsid.conf and set node.startup = automatic  Then restart the initiator: /etc/init.d/iscsi restart  Make sure iscsid service is configured to start at system boot up $ chkconfig --list iscsid iscsid 0:off 1:off 2:on 3:on 4:on 5:on 6:off  Using CHAP authentication for security : Edit /etc/iscsi/iscsid.conf Enable following entries : node.session.auth.authmethod = CHAP node.session.auth.username = <<sanusername>> node.session.auth.password = <<sanpassword>>  Discover the target using command $ iscsiadm –m discovery –p <<Target IP>>:3260  View detected nodes $ iscsiadm –m node
  • 11. IP – Based Storage Area Network Initiator ( All RAC node RHEL5) …cont  Login to the LUNs ( use same sequence to login on all nodes so that the attached devices names will be identical ) $iscsiadm -m node --targetname “<<inq name of first LUN>>" --portal “<< Target IP >>:3260" --login  Verify the sessions $ iscsiadm -m session -P3 | less  Now in $fdisk –l all newly attached iscsi drives will be shown ( make sure every LUN of storage has got same Device name on all RAC nodes)  Format newly added drives from any ONE node and use $partprobe to push partition table on all other nodes  Verify on all nodes if newly attached drives are showing valid portions using fdisk -l For more details on Storage Initiator setup and RAC Ethernet tuning refer : (http://www.scribd.com/doc/46183679/Red-Hat-Linux-v5-x-Software-iSCSI-Initiator- Configuration-MPIO-and-Tuning-Guide#outer_page_5)
  • 12. Oracle RAC 11gR2 – Single Client Access Name (SCAN) How do I connect to a cluster ? How to configure Load balancing? How to handle Node failure? Who to isolate node addition/removal without affecting client connections and downtime ?  Single client access name (SCAN) is the virtual hostname (of 1-15 Char) to provide for all clients connecting to the cluster and It should be unique across the network domain.  SCAN is registered with DNS (or Grid Naming Service) with at least one and up to three IP addresses from the same subnet as that of Public and VIP address.  These IP addresses should be allocated in round robin fashion
  • 13. Oracle RAC 11gR2 – Scan Single Client Access Name (SCAN) 1. On each Node there is pair of SCAN Listener & Local Listener 4 3 SCAN IP address will be mapped as: 3 • 3 Node : Each node will be mapped PEGLAB1 with one SCAN IP • More than 3 node : only 3 nodes will be mapped to SCAN IPs • 2 Node : One node will have double 2 SCAN IP & SCAN Listener and other node will have single IP and SCAN 5 Listener 2. PMON process of each instance report SQL> conn PEGLAB2 the current work load to SCAN listener user/pwd@orarac- Service (specified in scan/peglab the REMOTE_LISTENER database parameter.) 6 3. On connect request DNS resolves the orarac-scan and returns list of 3 SCAN IP addresses 4. Client select the first IP from the list and connect to the RAC; if it fails then request again with next IP. 5. Depending on the Load SCAN listener re-direct the request to Local listener of lightly loaded node. ( Note here in case of More than 3 node cluster, this is how request can still be given to lightly loaded node via SCAN listener service, even if it does not have SCAN IP mapped ) 6. Now all further communication happens through local listener directly.
  • 14. OCR And Voting Disk Oracle Cluster Registry: The OCR maintains cluster configuration information that is used by each node of the cluster to determine the state of the cluster. OCR also maintains information about cluster resources: • Databases • Instance • Services Each node in the cluster maintains a copy of the OCR in memory for better performance and also responsible for updating the OCR as required in shared storage. Voting Disk: The Voting Disk Files are used by Oracle Clusterware to determine which nodes are currently members of the cluster. The voting disk files are also used in concert with other Cluster components such as CRS to maintain the clusters integrity.
  • 15. Auto Segment Management : Architecture PEGLAB1 RDBMS Instances PEGLAB2 +ASM1 ASM +ASM2 Instances CLUSTERWARE Clusterware CLUSTERWARE PEGLAB Database Files
  • 16. ASM Disk Groups, Disks and Database Files Disk Disk Disk Group 1 Group 2 Group 3 File 3 File 2 File 1 File 4 File 5 File 5 File 6 Disk 3 Disk 1 Disk 4 Disk 2 Disk 5 Disk 6 Disk 7
  • 17. ASM Failure Groups - External Redundancy Disk Group Disk 1 Disk 2 Disk 3
  • 18. ASM Failure Groups – Normal Redundancy Disk Group Failure Group 1 Failure Group 2 Disk 1 Disk 2 Disk 3 Disk 4 Disk 5 Disk 6
  • 19. ASM Failure Groups – High Redundancy Disk Group Failure Group 1 Failure Group 2 Failure Group 3 Disk 1 Disk 2 Disk 1 Disk 2 Disk 1 Disk 2
  • 20. Extent Distribution – External Redundancy – 1 Disk Metadata 0 1 2 3 4 5 6 7 Disk 0 Metadata Data
  • 21. Extent Distribution – External Redundancy – 2 Disk 1 3 5 Metadata 7 9 11 13 0 15 2 4 6 8 10 12 14 Disk 0 Disk 1 Metadata Data
  • 22. Extent Distribution – Normal Redundancy – 2 Disk Failure Group 1 Failure Group 2 0 1 0 1 3 2 3 2 4 5 4 5 7 6 7 6 0 1 0 1 3 2 3 2 4 5 4 5 7 6 7 6 8 9 8 9 11 10 11 10 12 13 12 13 15 14 15 14 16 17 16 17 19 18 19 18 20 21 20 21 23 22 23 22 Disk 0 Disk 1 Disk 2 Disk 3 Metadata Primary Secondary Data Primary Secondary
  • 23. Extent Distribution – High Redundancy – 1 Disk Failure Group 1 Failure Group 2 Failure Group 3 0 0 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 0 0 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 Disk 0 Disk 1 Disk 2 Metadata Primary Secondary Tertiary Data Primary Secondary Tertiary
  • 24. RAC Implementation Step By Step Document Explains the step by steps executions and seen dumps for - Pre-requisite Linux packages installation - Oracle 11gR2 Clusterware installation - Oracle 11gR2 Database software installation - Creation of ASM Disk group - Creation of Oracle 11g Database on Cluster
  • 25. References 1. http://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm 2. http://www.oracle.com/technetwork/products/clustering/overview/scan- 129069.pdf 3. https://support.oracle.com 4. http://www.scribd.com/doc/46183679/Red-Hat-Linux-v5-x-Software-iSCSI- Initiator-Configuration-MPIO-and-Tuning-Guide#outer_page_5 5. http://www.oracledba.org/11gR2/Pre_Install_11gR2.htm 6. http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/6 48/TopicID/RACR2ARC6/Default.aspx 7. http://juliandyke.com/Presentations/Presentations.html 25

Notas do Editor

  1. Page 64 to 66
  2. Page 64 to 66
  3. Page 64 to 66
  4. Page 64 to 66
  5. Page 64 to 66
  6. Page 64 to 66
  7. Page 64 to 66
  8. Page 64 to 66
  9. Page 64 to 66
  10. Page 64 to 66
  11. Page 64 to 66
  12. Page 64 to 66
  13. Page 64 to 66
  14. Page 64 to 66
  15. Page 64 to 66
  16. Page 64 to 66