1. All nodes available. 2. One or more RAC instances fail. 3. Node failure is detected by any one of the remaining instances. 4. Global Resource Directory(GRD) is reconfigured and distributed among surviving nodes.
Search This Blog
Thursday, March 8, 2012
Oracle RAC Instance Recovery.
How to kill sessions in oracle database.
Execute the following script to list all sessions running in your database.
SET LINESIZE 100
COLUMN spid FORMAT A10
COLUMN username FORMAT A10
COLUMN program FORMAT A45
Oracle Database 11g Release 2 (11.2) Installation On RedHat Enterprise Linux 5.
This post assumes that you have already installed RHEL5.(Cento OS 5 or Oracle Linux 5 can also be used for this purpose.) This installation is done with 2 Gb of swap space. SELINUX and Firewall should be disabled on the server. Server IP Address : 192.168.1.100
Friday, March 2, 2012
Split Brain Syndrome and I/O Fencing (RAC).
Split brain syndrome occurs when the instances in a RAC fails to connect or ping to each other via the private interconnect, Although the servers are physically up and running and the database instances on these servers is also running. The individual nodes are running fine and can accept user connections and work independently.
Oracle Clusterware Components.
Oracle clusterware is a software which facilitates multiple nodes to communicate with each other and make them behave as a single Server. Oracle clusterware is run by Cluster Ready Services(CRS) which in turn is dependent on two components. a) Oracle Cluster Registry(OCR) b) Voting Disk
RAC Background Processes.
Lock Monitor(LMON) Process. LMON is responsible for monitoring all instances in a cluster for the detection of failed instances. Once a failed Instance is detected it facilitates in the recovery of global locks held by that instance. It is also responsible for reconfiguration of locks and other resources when instances leave or are added to the cluster. This dynamic reconfiguration is done in realtime.
Cache Fusion Scenarios (RAC).
Block Resource Modes.
Resource Mode Identifier Description
Null N Nodes which are holding the blocks
at this level do not have any access
rights to the block.
Shared S This level indicates that the block
at this level is in shared mode or
read mode, Multiple instances have
read access to this block but cannot
modify it.
Exclusive X In this level the block is held in Exclusive
mode and other instances cannot write to it.
Subscribe to:
Posts (Atom)