Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

A Second Look at Oracle RAC 12c


Published on

Oracle RAC 12c has been touted as the best release so far and with reason. There have been significant enhancements to scalability and high availability with features such as Flex Clusters, Flex ASM, Application Continuity and Transaction Guard to name a few. While these cool features grab the headlines, there are others that are not highlighted but can make significant impact on DBA productivity.
In this session we will take a second look at some of these features, including operational support enhancements to srvctl, crsctl commands, ADR support for Grid Infrastructure and tools such orachk and tfa. We will also explore some of the new functionality introduced in

Published in: Technology
  • Be the first to comment

A Second Look at Oracle RAC 12c

  1. 1. A second look at Oracle RAC 12c Copyright © 2013 World Wide Technology, Inc. All rights reserved. Leighton L. Nelson Lead DBA World Wide Technology, Inc.
  2. 2. About me • Oracle DBA • Oracle ACE • Speaker • Co-Author – Expert Oracle Enterprise Manager Cloud Control 12c • RAC Attack Ninja @leight0nn
  3. 3. Agenda • Oracle RAC 12c Features • Management Tools • SRVCTL • CRSCTL • Support Tools • ORAchk • TFA • ADR • PDBs and Services in RAC • What’s New in
  4. 4. Oracle RAC 12c Overview • The sexy stuff
  5. 5. Oracle RAC 12c Overview • Flex Cluster • Flex ASM • Application Continuity and Transaction Guard • Oracle Multi-tenant
  6. 6. Management Tools • SRVCTL enhanced to accept full-word options • New SRVCTL commands have full-word options only • Existing SRVCTL commands support single letters for backwards compatibility • More intuitive • Single letter options confusing at times • Inconsistent • Allows for more options
  7. 7. Management Tools srvctl modify service –s oltp –d orcl –r orcl1 –a orcl2 – P BASIC –e SELECT –m BASIC –w 60 –j –SHORT –B SERVICE_TIME
  8. 8. Management Tools srvctl modify service –s oltp –d orcl –r orcl1 –a orcl2 – P BASIC –e SELECT –m BASIC –w 60 –j –SHORT –B SERVICE_TIME srvctl modify service –service oltp –db orcl –preferred orcl1 –available orcl2 –tafpolicy BASIC –failovermethod NONE –timeout 60 –clbgoal SHORT –rlbgoal SERVICE_TIME • Show single letter options using the –compatibile option after -help
  9. 9. Management Tools • Specify input file for passing lengthy options using –file option >cat -service radwwt_basic -db radwwt -serverpool wwt_sp - cardinality uniform -clbgoal SHORT -rlbgoal SERVICE_TIME -role PRIMARY -policy AUTOMATIC –verbose >srvctl add service -file
  10. 10. Management Tools What-If Command Evaluation • The –eval option allows commands to be simulated without modifying the system • Available for both SRVCTL and CRSCTL • Supported SRVCTL Commands srvctl add database srvctl add service srvctl add srvpool srvctl modify database srvctl start database srvctl start service srvctl stop database srvctl stop service
  11. 11. Management Tools What-If Command Evaluation
  12. 12. Management Tools What-If Command Evaluation
  13. 13. Management Tools • Using CRSCTL some attributes can be modified online without a restart • Modification of ora.* resources enforced • crsctl modify ora.* resource fails with CRS-4995 in and above (Doc ID 1918102.1) • Only user-defined resources can be modified • There are exceptions • CRS_STAT commands deprecated as of 11.2 • Replaced with CRSCTL status resource
  14. 14. Management Tools Back to the future
  15. 15. Management Tools Show what would happen if a resource failed and cannot be restarted on the local node • SRVCTL predict • CRSCTL eval fail
  16. 16. Support Tools • ORAchk aka RACcheck • Trace File Analyzer (TFA) Collector • Automatic Diagnostics Repository (ADR)
  17. 17. Support Tools • ORAchk provides health checks for Oracle stack • Databases (Single Instance and RAC) • Enterprise Manager Repository • E-Business Suite • ORAchk now included in 12c binaries • $ORACLE_HOME/suptools • Latest version can be downloaded from MOS • ORAchk - Health Checks for the Oracle Stack (Doc ID 1268927.2)
  18. 18. Support Tools • Trace File Analyzer • Also included in $ORACLE_HOME/suptools • Collects diagnostics, traces, log files for DB, Clusterware, OS across the cluster • Can be configured to trigger collection automatically
  19. 19. Support Tools • Automatic Diagnostics Repository for G.I. • Clusterware log files managed and treated like database related logs, trace • $GI_BASE/diag/ • adrci interface
  20. 20. Support Tools
  21. 21. PDBs and Services in RAC • PDBs can only be accessed remotely using service names • A single CDB can have 0 or more PDBs • Each PDB has 1 or more services • PDBs are mounted by default • Starting a service opens the PDB • SINGLETON service opens PDB on the node it runs on • Use UNIFORM service to access PDB on more than one node • Stopping a service doesn’t close the PDB • PDB remains open but inaccessible
  22. 22. What’s new in • Ping Targets • Probe nodes in Virtual Cluster for network failure • Detects reachability for targets on public network • Rapid Home Cloning • Store gold images of database software in RHP server • Deploy images to dev/test environments • GIMR mandatory • Single instance CDB with 1 PDB • Collect diagnostics for Cluster Health Monitor (CHM)
  23. 23. References • Oracle RAC 12c 12c-1896129.pdf • Oracle® Clusterware Administration and Deployment Guide 12c Release 1 (12.1) • Oracle RAC 12c Operational Best Practices • Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle Multitenant presentation/