1. Cluster Nodes (Servers)
-
Multiple physical or virtual servers (nodes) work together as a cluster.
-
Each node runs its own Oracle Instance (SGA + background processes).
-
All nodes access the same database files.
2. Shared Storage
-
All RAC nodes must see the same storage.
-
Contains:
-
Datafiles
-
Control files
-
Redo log files
-
Archive logs
-
-
Usually implemented using SAN / NAS / ASM (Automatic Storage Management).
3. Cluster Interconnect (Private Network)
-
High-speed private network between all nodes.
-
Used for:
-
Cache Fusion (transferring data blocks between instances)
-
Global resource coordination
-
-
Requires low-latency and high-bandwidth network (typically 10/25/40GbE or Infiniband).
4. Oracle Clusterware
-
Provides cluster management and node membership.
-
Ensures only active nodes access the shared storage.
-
Manages:
-
Node heartbeat monitoring
-
Automatic failover
-
VIP (Virtual IP) configuration
-
5. Global Cache Service (GCS) & Global Enqueue Service (GES)
-
Ensure data consistency across instances.
-
Cache Fusion: If a block is modified on one node, other nodes get the updated version via interconnect (not disk I/O).
-
GES manages locks, GCS manages cache coherency.
6. Oracle RAC Database
-
One database (shared) accessed by multiple instances.
-
Appears as a single database to applications.
-
Supports load balancing and failover through services.
📊 RAC Architecture Diagram
⚙ Benefits of RAC
-
High Availability: Survives node failure automatically.
-
Scalability: Add more nodes to increase capacity.
-
Load Balancing: Workload distributed among nodes.
-
Fault Tolerance: Shared database remains available if a node fails.
No comments:
Post a Comment