Oracle clusterware overview_11g_en


Published on

Oracle RAC

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • PA Notes: 10g on Win/Linux – only need OCFS for shared ORACLE_HOME environments (which is bad for HA anyway). In general, shared ORACLE_HOMEs are supported on CFS and Netfiler (not traditional NFS) With integrated clusterware, #nodes supported is now consistent = 64 (although beware of h/w support restrictions). Integrated Clusterware Management Oracle RAC 10 g offers a complete, integrated clusterware management solution on all platforms Oracle Database 10 g runs on. This clusterware functionality includes mechanisms for cluster connectivity, messaging and locking, cluster control and recovery, and a services provisioning framework (discussed below). No 3 rd party clusterware management software need be purchased. Oracle will, however, continue to support select 3 rd party clusterware products on specified platforms. Integrated clusterware management in Oracle RAC 10 g offers the following benefits: Low cost . Oracle does not charge extra for this capability. Single-vendor support. No finger pointing is possible. Simpler installation, configuration and ongoing maintenance. The Oracle RAC 10 g clusterware functionality is installed, configured and maintained using standard Oracle Database management tools. No extra integration steps are necessary. Consistent high quality across all platforms. Oracle is able to perform much more intensive testing of new software releases than is possible with 3 rd party products. Consistent functionality across all platforms . For example, some 3 rd party clusterware products limit the number of nodes that can be supported within a cluster. With Oracle RAC 10 g, up to 64 nodes are supported on all platforms. Users can also expect a consistent response across all platforms to high availability challenges such as server node failures, interconnect failures, I/O fencing behaviors, and more. Support for advanced functionality . This includes integrated monitoring and notification capabilities to enable fast, coordinated recovery across both database and application tiers in case of failure (See “Fast Connection Fail-Over” section below). Q: Is the 10g integrated clusterware the same code base as the 9i linux/windows oracle clusterware?   Questions asked because person wanted to know it it handles failures in the same manner.. A: The 9i Linux/Windows clusterware and the 10g RAC clusterware are effectively different code bases primarily because of the requirement that the clusterware capabilities in 10g RAC had to be portable.  The experience gained from 9i Linux/Windows, however, was passed on to the 10g portable clusterware.   The fundamental algorithms used to detect failures are essentially the same in the two releases.  10g RAC, however, adds significant new capabilities for handling failures and other events, e.g., the notification mechanism discussed above and the ability to automatically restart complex systems consisting of many components (databases, listeners, services, etc) when failures occur.
  • Oracle clusterware overview_11g_en

    1. 2. Oracle Clusterware 11g – Overview Presenter name Presenter’s title Presenter’s department
    2. 3. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remain at the sole discretion of Oracle.
    3. 4. What is Oracle Clusterware? <ul><li>Oracle Clusterware is “the cluster“ in Oracle Real Application Clusters </li></ul><ul><li>Introduced with Oracle Database 10g Release 1 </li></ul><ul><li>Exclusively used by 75% of Oracle’s Real Application Clusters customers </li></ul><ul><li>Supported on all OS certified for Oracle Real Application Clusters (RAC) </li></ul><ul><li>Cluster infrastructure for all kind of applications and Clusterware for RAC </li></ul>Server 1 Server 2 Server .. Shared Cache / RAC Server n Server n+1 Oracle Clusterware Oracle ASM Protected App A Protected App B
    4. 5. <ul><li>Oracle Clusterware is a complete cluster software solution </li></ul><ul><li>Including advanced functionality: </li></ul><ul><ul><li>Failure Notification (FaN) </li></ul></ul><ul><ul><li>Support for 3 rd party cluster software </li></ul></ul><ul><ul><li>HA-API for all kind of applications </li></ul></ul><ul><ul><li>Fully integrated with Oracle RAC </li></ul></ul><ul><li>Lowest costs and flexible: </li></ul><ul><ul><li>No need to purchase additional software </li></ul></ul><ul><ul><li>Easy to install & to manage </li></ul></ul><ul><ul><li>Supports 100 nodes on all OS’ certified for Oracle RAC </li></ul></ul><ul><ul><li>Single-vendor support </li></ul></ul>Oracle Clusterware provides an integrated stack Applications Services Framework Cluster Control/Recovery APIs Automatic Storage Management Messaging and Locking Membership Connectivity Event Services Management APIs Hardware/OS Kernel RAC Other Apps
    5. 6. <ul><li>Effective with 11g : Oracle Clusterware can protect any Oracle software, or 3 rd -party software that uses an Oracle database. (– at no extra costs) </li></ul><ul><li>In detail: </li></ul><ul><ul><li>Oracle Clusterware can be installed and used to protect any Oracle or third-party software provided any of the following conditions are met: </li></ul></ul><ul><ul><ul><li>The software being protected is from Oracle. </li></ul></ul></ul><ul><ul><ul><li>The software being protected uses an Oracle Database. </li></ul></ul></ul><ul><ul><ul><li>The software being protected is running on Oracle Unbreakable Linux. </li></ul></ul></ul><ul><ul><ul><li>The software being protected is running in a cluster where at least one machine involved in the cluster is licensed using the appropriate metric for either Oracle Database Enterprise Edition or Oracle Database Standard Edition. </li></ul></ul></ul>Oracle Clusterware licensing See: Oracle Database Licensing information ( Part Number B28287-01 )
    6. 7. Hardware infrastructure for Oracle Clusterware Minimum hardware requirements Node 1 Server Interconnect (with Switch) Node 2 Node... Node n-1 Node n Public Lan Public Lan Public Lan Oracle Clusterware Shared Storage For Voting Disks and Oracle Cluster Registry
    7. 8. <ul><li>Oracle Clusterware is protecting Applications A, B & C on nodes 1, 2 & 3 </li></ul><ul><li>It is also providing resources for the RAC database running on nodes 1 & 2 </li></ul><ul><li>Sample Scripts that can be used with Oracle Clusterware can be found in the CD pack or can be downloaded from http:// otn </li></ul>Possible configuration listener ORA_CRS_HOME listener cluster database ORA_CRS_HOME ORACLE_HOME ORA_CRS_HOME listener database ORA_CRS_HOME ORACLE_HOME Protected App A Protected App B Protected App C cluster database ORACLE_HOME Node 1 Node 2 Node 3 Node 4 Consolidated Pool of Storage with Automatic Storage Management (ASM)
    8. 9. <ul><li>Customers are turning more and more to Oracle Clusterware for the cluster layer: </li></ul><ul><ul><li>Used by 75%* of Oracle’s current Oracle Database 10g RAC customers </li></ul></ul><ul><li>But… customers sometimes use the clusterware layer to protect other applications </li></ul><ul><ul><li>The – It’s not just an Oracle Database syndrome </li></ul></ul><ul><ul><li>Oracle did not support this in the Clusterware shipped as part of Version 10gR1 of the Database </li></ul></ul><ul><li>Therefore, Oracle Clusterware provides HA for applications: </li></ul><ul><ul><li>Restart on application failure </li></ul></ul><ul><ul><li>Relocate on node failure </li></ul></ul><ul><li>Example </li></ul><ul><ul><li>Use it to provide cold failover for Oracle Single Instance </li></ul></ul><ul><ul><li>Protect SAP Components </li></ul></ul>* Tracked directly by Oracle Development Why does the HA framework exist?
    9. 10. <ul><li>Network Location </li></ul><ul><ul><li>Clients need a node independent way of connecting to an Application </li></ul></ul><ul><li>Dependencies </li></ul><ul><ul><li>Components may need to be started in a certain order </li></ul></ul><ul><li>Configuration files </li></ul><ul><ul><li>Applications typically need configuration files stored on disk </li></ul></ul>What do applications need?
    10. 11. What does Oracle Clusterware provide? <ul><li>VIP resource </li></ul><ul><ul><li>Provides Application VIPs </li></ul></ul><ul><li>Framework </li></ul><ul><ul><li>Allows you to provide Oracle Clusterware protection to your application </li></ul></ul><ul><li>HA API </li></ul><ul><ul><li>Interface to allow you to change - at run time – how Oracle Clusterware manages your application </li></ul></ul><ul><li>OCFS (Clusterware independent / on Windows & Linux – use 3 rd -party CFS alternatively) </li></ul><ul><ul><li>Provides a location for files visible across all nodes </li></ul></ul>
    11. 12. Oracle Clusterware Architecture since Oracle Database 10g Release 2 Cluster Synchronisation Services (CSS) Basis for Inter-process & -node-operations, Node Monitoring & Membership Hardware / Operating System Kernel Cluster Ready Services (CRS) HA Framework Virtual IP addresses Instances Processes ORA-VIP ORA-VIP ORA-VIP SQL Cache Large Pool Buffer Cache Java Pool SGA Pool SQL Cache Large Pool Buffer Cache Java Pool SGA Pool ONS USER-VIP USER-VIP USER-VIP
    12. 13. And with Oracle RAC? No further steps are required – everything is installed out of the box <ul><li>Oracle Clusterware is also the underlying cluster solution for Oracle Real Application Clusters </li></ul><ul><li>Including advanced functionality: </li></ul><ul><ul><li>Failure Notification (FaN) </li></ul></ul><ul><ul><li>Support for 3 rd party cluster software </li></ul></ul><ul><li>Low cost and flexible: </li></ul><ul><ul><li>No need to purchase additional software </li></ul></ul><ul><ul><li>Easy to install & to manage </li></ul></ul><ul><ul><li>Single-vendor support </li></ul></ul><ul><ul><li>Available on all OS certified for RAC </li></ul></ul><ul><ul><li>All resources required for RAC are pre-configured for immediate use </li></ul></ul>Shared Cache / RAC Oracle Clusterware
    13. 14. Instances working together makes the difference In other words: why RAC and not Failover Cluster? Shared Storage Node 1 Node 2 <ul><li>RAC provides higher availability due to minimised failover times </li></ul><ul><li>RAC uses all nodes if available – failover clusters only 1 (per DB) </li></ul><ul><li>Failover cluster </li></ul><ul><li>Failover time up to 30 MIN . </li></ul><ul><li>RAC </li></ul><ul><li>Scalable over n nodes </li></ul><ul><li>Impact of node failure: < 1 min.! </li></ul>Filesystem Dictionary Cache Log buffer LCK0 LGWR DBW0 SMON PMON Library Cache Global Resource Directory LMS0 Buffer Cache LMON LMD0 DIAG Dictionary Cache Log buffer LCK0 LGWR DBW0 SMON PMON Library Cache Global Resource Directory LMS0 Buffer Cache LMON LMD0 DIAG Dictionary Cache Log buffer LCK0 LGWR DBW0 SMON PMON Library Cache Global Resource Directory LMS0 Buffer Cache LMON LMD0 DIAG
    14. 15. A Email: [email_address] Q & Questions Answers