Professional Documents
Culture Documents
(RAC)
A “BrainSurface” Presentation
www.brainsurface.com
Disclaimer
n Group Services
n Node Membership
n High-Availability Functions
What is Oracle Clusterware? –
Synopsis & Overview
n Physical Components:
n Voting Disk
Oracle Clusterware Architecture –
Synopsis & Overview
n Cache Fusion is very fast due to the fact that, disk writes are
eliminated when other instances request blocks for updates.
n Each node must have its own virtual IP (VIP), which is a unique
and unused IP address within the same network subnet.
n Features:
n Elasticity = Cloud Computing.
n Cluster File System.
n Volume manager.
n HOT Mode: Add/remove disks online.
n Load balancing.
n Striping of data across disks.
n Mirroring.
n Eliminate/Significantly-Minimize I/O Performance Tuning.
n Built for Oracle by Oracle.
Automatic Storage Management
(ASM) – Synopsis & Overview
n Consumer Groups:
n Grouping of user sessions into groups.
n Pre-configured rules.
n Set priority level: Low, High.
n Attributes: User, Service, Module, Action.
n Server-side Callouts:
n Used to run an Event-Handling Shell Script/
Compiled Executable in the CRS
HOME/racg/usrco directory.
n Executed Asynchronously upon the
occurrence of a condition e.g. FAN posts
an event to ONS about a change in state
such as Startup/Stopping of an Instance,
Database or Service.
Fast Application Notification (FAN)
– Synopsis & Overview
n V$SERVICE &
V$SERVICEMETRIC_HISTORY updated
every hour.
Load Balancing Advisory –
Synopsis & Overview
n CRS_STAT
n CRSCTL
n CRS_STOP
n CRS_START
n SRVCTL
Cluster Verification Utility (CVU) –
Synopsis & Overview
n Cluster Verification Utility (CVU/CLUVFY) is a very
useful tool for performing Pre and Post component-
level checks at various stages of the Oracle RAC
Install/Patch/Update process in addition to various
other system-level checks at all major stages of the
deployment cycle.
n Establish Baselines.
n Workload Monitoring: Peak/Average/Various-
times-of day
n Resource Monitoring: Network, CPU, Memory,
IO, Transactions.
n Interconnect Monitoring: Latency, Efficiency
n Consumption > 70% CPU = Add another
node.
Monitoring Oracle RAC
n 3 levels of monitoring:
n OS
n Application
n Database
n Monitoring Tools:
n VMSTAT
n IOSTAT
n NETSTAT
n OS Watcher
Monitoring Oracle RAC
n Database Monitoring:
n AWR
n ADDM
n Statspack
n ASH
easy-to-use GUI.
Troubleshooting Oracle RAC
n Split-Brain: A cluster’s worst nightmare.
n Node Eviction.
n IO Fencing.
n STONITH: Shoot The Other Node In The
Head.
n (RACDIAG.SQL): Script to Collect RAC
Diagnostic Information [MetaLink ID
135714.1]
n RACDDT 2.0.5 User Guide [MetaLink ID
360926.1]
Troubleshooting Oracle RAC
n Log files:
n Resource specific logs
n Cluster Network Communication logs
n CRS alert logs
n CSS logs
n CRS logs
n EVM logs
n OPMN logs
n SRVM logs
n Listener Logs
n Trace files:
n BDUMP
n UDUMP
n CDUMP
Troubleshooting Oracle RAC
n Master Note for Real Application Clusters (RAC) Oracle Clusterware and
Oracle Grid Infrastructure [MetaLink ID 1096952.1].
n OS Watcher (OSW) for various Unix flavors (Tru64, AIX, Solaris, HP-UX,
Linux).