Oracle Clusterware (Cluster Ready Services in 10g/ Cluster Manager in 9i) – provides infrastructure that binds multiple nodes that then operate as single server. Clusterware monitors all components like instances and listeners. There are two important components in Oracle clusterware, Voting Disk and OCR (Oracle Cluster Registry).
Voting Disk – is file that resides on shared storage and Manages cluster members. Voting disk reassigns cluster ownership between the nodes in case of failure.
OCR (Oracle Cluster Registry) – resides on shared storage and maintains information about cluster configuration and information about cluster database. OCR contains information like which database instances run on which nodes and which services runs on which database.
CRS Resource – anything that Oracle Clusterware manages is classified as CRS resource like database, instance, service, listener, VIP address and so on.
Cluster-Aware Storage – is storage solution for Oracle RAC like RAW device, OCFS, ASM…
Interconnect – is private network that connects all the servers in cluster. Interconnect uses switch that only nodes in cluster can access. Instances in cluster communicate to each other via interconnect.
Cache Fusion – is disk less cache coherency mechanism in Oracle RAC that provides copies of data blocks directly from one instance’s memory cache (in which that block is available) to other instance (instance which is request for specific data block). Cache Fusion provides single buffer cache (for all instances in cluster) through interconnect.
In Single Node oracle database, an instance looking for data block first checks in cache, if block is not in cache then goes to disk to pull block from disk to cache and return block to client.
In RAC Database there is remote cache so instance should look not only in local cache (cache local to instance) but on remote cache (cache on remote instance). If cache is available in local cache then it should return data block from local cache; if data block is not in local cache, instead of going to disk it should first go to remote cache (remote instance) to check if block is available in local cache (via interconnect)
This is because accessing data block from remote cache is faster than accessing it from disk.
Cache Fusion Model
Cache fusion Model is dependent on three services
– Global Resource Directory (GRD)
– Global Cache Service (GCS)
– Global En-queue Service (GES) and –
SSH User Equivalency – means assigning same properties (username, userid, group, group id and same password) to operating system user (installing & owning RAC database) across all nodes in cluster
CVU (Cluster Varification Utility) – is utility to verify that system meets all the criteria for Oracle Clusterware Installation.
Storage Options for RAC
- CFS (Cluster File System) – Easy to manage but only available on some platforms. Does not address striping and mirroring.
- RAW – Available on all platforms but difficult to manage. Does not address striping and mirroring.
- NFS – Easy to manage but only available on some platforms. Does not address striping and mirroring.
- ASM (Automatic Storage Management) – Easy to manage, available on ALL platforms, and DOES address striping and mirroring.
CFS (Cluster Filesystems)
- The idea of CFS is to basically share file filesystems between nodes.
- Easy to manage since you are dealing with regular files.
- CFS is configured on shared storage. Each node must have access to the storage in which the CFS is mounted.
- NOT available on all platforms. Supported CFS solutions currently:
- OCFS on Linux and Windows (Oracle)
- DBE/AC CFS (Veritas)
- GPFS (AIX)
- Tru64 CFS (HP Tru64)
- Solaris QFS
RAW (character devices)
- Hard to manage since you are dealing with character devices and not regular files.
- Adding and resizing datafiles is not trivial.
- On some operating systems volume groups need to deactivated before LVs can be manipulated or added.
NFS (Network Filesystem)
- NOT available on all platforms. Supported NFS solutions currently:
- Network Appliance
- Redhat Linux
- Fujitsu Primecluster
- Solaris Suncluster
- Stripes files rather than logical volumes.
- Enables online disk reconfiguration and dynamic rebalancing.
- Provides adjustable re balancing speed.
- Provides redundancy on a file basis.
- Supports only Oracle files.
- Is cluster aware.
- Is automatically installed as part of the base code set .
Source : Internet