Oracle Clusterware

Oracle Clusterware

Oracle Clusterware is the cross platform cluster software required to run the Real Application Clusters (RAC) option for Oracle Database. It provides the basic clustering services at the operating system level that enable Oracle software to run in clustering mode. In earlier versions of Oracle (version 9i and earlier), RAC required a vendor supplied clusterware like Sun Cluster or Veritas Cluster Server with the exception of Linux and Windows.

Contents

Oracle Clusterware Components

Oracle Clusterware is the software, which enables the nodes to communicate with each other, and forms the cluster and makes the nodes act as single logical server. Oracle Clusterware is run by Cluster Ready Services (CRS) using two key components. They are Oracle Cluster Registry (OCR), which records and maintains the cluster and node membership information. The other component is voting disk, which acts a tiebreaker during communication failures. Consistent heartbeat information from all the nodes is sent to voting disk when the cluster is running. CRS service has four components namely OPROCd, CRS Daemon (crsd), Oracle Cluster Synchronization Service Daemon (OCSSD) and Event Volume Manager Daemon (evmd) and each handles a variety of functions. Failure or death of the CRS daemon can cause the node failure and it automatically reboots the nodes to avoid the data corruption because of the possible communication failure between the nodes. The CRS daemon runs as the super user ‘root’ in the UNIX platforms and runs as a service in the windows platforms.

The following functionalities are covered by Oracle Cluster Ready Services

  • CRS is installed and run from a different oracle home known as ORA CRS HOME, which is independent from ORACLE HOME.

crsd

  • CRSd manages the resources like starting and stopping the services and failing-over the application resources. It spawns separate processes to manage application resources.
  • CRS daemon has two modes of running. During startup and after a shutdown. During planned clusterware start it is started as ‘reboot’ mode. It is started as ‘restart’ mode after unplanned shutdown.
  • In reboot mode it ‘auto’ starts all the resources under its management. In restart mode it prevails the previous state and brings back the resources to it previous state before shutdown
  • Manages the Oracle Cluster Registry and stores the current known state in the Oracle Cluster Registry
  • Runs as ‘root’ on Unix and ‘LocalSystem’ on windows and automatically restarts in case of failure.
  • CRS requires the public interface, private interface and the Virtual IP (VIP) for the operation. All these interfaces should be up and running, should be able to ping each other before starting CRS Installation. Without the above network infrastructure CRS cannot be installed.

ocssd

Oracle Cluster Synchronization Services Daemon (ocssd) provides synchronization services between nodes. OCSSD provides the access to the node membership. It also enables basic cluster services including cluster group services and cluster locking. It can also run without integration with vendor clusterware. Failure of ocssd causes the machine to reboot to avoid split-brain situation. This is also required in a single instance configuration if Automatic Storage Management (ASM) is used. Automatic Storage management was a new feature in oracle database 10g. Ocssd runs as ‘oracle’ user. The following functionalities are covered by CSS daemon

  • CSS provides basic ‘group services’ support. Group Services is a distributed group membership system that allows the applications to coordinate activities to achieve a common result.
  • ’Group services’ use vendor clusterware group services when vendor clusterware is available. But it is capable of working independently if there is no vendor clusterware group services available
  • ‘Lock services’ is another service from the CSS daemon. Lock services provide the basic cluster wide serialization locking functions. It uses FIFO mechanism to manage locking
  • Node Services is the third service produced by the CSSD. It uses OCR to store the data and updates the information during reconfiguration. It also manages the OCR data, which is static otherwise.

evmd

The third component in OCS is called Event Management Logger. Event Management logger also runs as daemon process ‘evmd’. The daemon process ‘evmd’ spawns a permanent child process called ‘evmlogger’ and generates the events when things happen. EVMD child process ‘evmlogger’ spawns new children processes on demand and scans the callout directory to invoke callouts. It will restart automatically on failures and death of the evmd process does not halt the instance. Evmd runs as ‘oracle’ user.

oprocd

Oprocd provides the server fencing solution for the Oracle Clusterware. It is the process monitor for the oracle clusterware and it uses the hang check timer or watchdog timer (depending on the implementation) for the cluster integrity. Oprocd is locked in the memory and runs as a real time process. This sleeps for a fixed time and runs as ‘root’ user. Failure of the Oprocd process causes the node to restart.

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Oracle Clusterware — Oracle Cluster Ready Services (kurz CRS oder OCRS) ist der Cluster Manager der Firma Oracle. Inzwischen wird das Teilprodukt des Oracle RAC unter dem Namen Oracle Clusterware (kurz OCW) angeboten. Er steht ab Version 10.2 für Oracle Datenbanken… …   Deutsch Wikipedia

  • Oracle RAC — Oracle Real Application Clusters (RAC)  программное обеспечение для кластеризации и повышения доступности для Oracle Database. Oracle поставляет RAC как дополнение к Oracle Database, бесплатное для стандартной редакции СУБД… …   Википедия

  • Oracle Cluster Ready Services — (kurz CRS oder OCRS) ist der Cluster Manager der Firma Oracle. Inzwischen wird das Teilprodukt des Oracle RAC unter dem Namen Oracle Clusterware (kurz OCW) angeboten. Er steht ab Version 10.2 für Oracle Datenbanken und Drittanwendungen nach dem… …   Deutsch Wikipedia

  • Oracle RAC — Contents 1 Functionality 2 Aims 3 Implementation 3.1 Cache …   Wikipedia

  • Oracle Net Services — In the field of database computing, Oracle Net Services consists of sets of software which enable client applications to establish and maintain network sessions with Oracle Database servers. Since Oracle databases operate in and across a variety… …   Wikipedia

  • Oracle Database — Developer(s) Oracle Corporation Development status Active Written in …   Wikipedia

  • Clusterware — Ein Cluster Manager ist eine Software für das Management eines Computerclusters (Verbund aus mehreren Rechnern). Er steht für Verwaltungsvorgänge im Cluster zur Verfügung und automatisiert meist Vorgänge wie den Failover vom Primärsystem zum… …   Deutsch Wikipedia

  • Cluster Heartbeat — Der Cluster Interconnect dient für Management , Datenübertragungs und Lastverteilungszwecke in einem Computercluster und ist eine Komponente des Cluster Managers. In der Literatur wird der Cluster Interconnect manchmal auch sinnreduzierend als… …   Deutsch Wikipedia

  • Voting Disk — Unter einem Quorum oder einer Voting Disk versteht man eine Komponente des Cluster Managers eines Computerclusters zur Wahrung der Datenintegrität im Fall eines Teilausfalls. Bei Ausfall des Cluster Interconnects (der Verbindung zwischen den… …   Deutsch Wikipedia

  • Voting disk — Unter einem Quorum oder einer Voting Disk versteht man eine Komponente des Cluster Managers eines Computerclusters zur Wahrung der Datenintegrität im Fall eines Teilausfalls. Bei Ausfall des Cluster Interconnects (der Verbindung zwischen den… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”