What is Oracle Clusterware?



Last updated on November 28th, 2015 at 12:28 pm

The Oracle Clusterware was introduced in 10.1 (initially called CRS ) and is the product that lies under RAC. Oracle Clusterware provides different services to RAC including:

– Group Services
– Node Monitor
– Locking services
– HA Resource management
– Event framework, etc

Components.Several components are needed to have CRS running on Unix machine. Here is a brief description of each:

1. Daemons and init.* scripts
Oracle Clusterware is formed of several daemons, each one of which have a special function inside the stack. The daemons are located inside the directory $CRS_HOME/bin. Here is a list of the daemons, for 10.2.0.3 and later, note that depending on the platform and whether or not there is a 3rd-party vendor clusterware installed, some of the following processes may not be present:

– ocssd.bin
– crsd.bin
– evmd.bin
– ocslsvmon.bin
– oclsomon.bin
– oprocd

2. Oracle Cluster Registry and Voting Disk
The OCR contains the configuration information for the clusterware, like the network endpoints where the daemons (ocssd.bin, crsd.bin,etc) will be listening, cluster interconnect information for RAC, location for Voting disk, etc.

The Voting disk is a communication mechanism where every node reads and writes its heartbeat information. The Voting disk is also used to kill the node(s) when the network communication is lost between one or several nodes in the cluster to prevent a split-brain and protect the database information.

3. Control files (also know as SCLS_SRC files)
These files are used to control some aspects of Oracle Clusterware like:

– enable/disable processes from the CSSD family (Eg. oprocd, oslsvmon)
– stop the daemons (ocssd.bin, crsd.bin, etc).
– prevent Oracle Clusterware from being started when the machine boots.
– etc.

 

Related articles

What is voting disk

How to setup diag wait in cluster

How to add any node to RAC cluster

Cluster command in 10g and 11g

SCAN information

interconnect setup in RAC


Leave a Reply