RAC#1 Introduction to Oracle Clusterware

#1 Introduction to Oracle Clusterware 

🟒 Step 1: Start with a Simple Question

πŸ‘‰ What is a cluster?

Imagine:

  • You have one computer → handles all work
  • Now imagine 5 computers working together like 1 system

✅ That is a cluster

πŸ“Œ Definition (easy):
A cluster is a group of computers (nodes) working together as one system.


🟒 Step 2: Why Do We Need a Cluster?

Ask yourself: ❓ What if one system fails?

πŸ‘‰ Problems:

  • Downtime ❌
  • Slow performance ❌

✅ Solution = Cluster

Benefits:

  • High availability (no downtime)
  • Load balancing (share work)
  • Scalability (add more nodes)

🟒 Step 3: Types of Clusters (Very Important)

πŸ”Ή Type 1: Shared-Nothing

  • No common storage
  • Each node has its own data
  • Data must be copied

πŸ‘‰ Example: Each student has their own notebook


πŸ”Ή Type 2: Shared-Disk (Oracle uses this ✅)

  • All nodes share same storage

πŸ‘‰ Example: All students read/write from same notebook

✅ Advantages:

  • Easy data access
  • Better performance
  • High availability

🟒 Step 4: Oracle Cluster Architecture

Picture this:

   Client
     |
  Public Network
     |
   Nodes (Node1, Node2, Node3)
     |
 Private Network (Interconnect)
     |
  Shared Storage (ASM)

Key points:

  • Public network → clients connect
  • Private network (interconnect) → nodes talk to each other
  • Shared storage → common data

🟒 Step 5: What is Oracle Clusterware?

πŸ‘‰ Think of Clusterware as a manager

πŸ“Œ It:

  • Controls nodes
  • Manages resources
  • Maintains cluster health

✅ Installed on all nodes


🟒 Step 6: Important Concept — OCR

πŸ‘‰ OCR = Oracle Cluster Registry

πŸ“Œ Think of it like: πŸ‘‰ “Cluster’s brain or database”

It stores:

  • Configuration
  • Resources
  • Metadata

🟒 Step 7: Core Components

Oracle Clusterware is part of:

πŸ”Ή Grid Infrastructure

Includes:

  • Clusterware
  • ASM (storage manager)
  • ACFS (file system)

🟒 Step 8: What Does Clusterware Manage?

πŸ‘‰ Everything important:

  • Databases
  • Network (VIPs)
  • Storage
  • Listeners
  • Applications

🟒 Step 9: Key Services (Easy Memory Trick: CMENH)

ServiceMeaning
CCluster Management
MMonitoring
EEvent Services
NNetwork Management
HHigh Availability

🟒 Step 10: Node Fencing (Very Important for Exams)

πŸ‘‰ Problem: One node becomes unresponsive

πŸ‘‰ What to do?

✅ Clusterware removes it = Node Fencing

Steps:

  1. Stop processes
  2. Kill I/O
  3. Remove node

πŸ‘‰ Like removing a sick member to protect the group


🟒 Step 11: Time Synchronization

πŸ‘‰ All nodes must have same time

❌ If time differs → Cluster fails

Solutions:

  • NTP (best practice ✅)
  • CTSS (Oracle backup option)

🟒 Step 12: Network Handling

πŸ‘‰ If network fails:

  • VIP moves to another node

✅ Result:

  • No downtime for users

🟒 Step 13: Installation Basics

Before install:

  • Same OS on all nodes ✅
  • Certified OS ✅

After install:

  • Install Database

🟒 Step 14: Final Big Picture

πŸ‘‰ Clusterware helps you:

✅ Run multiple servers as one
✅ Prevent failures
✅ Balance workload
✅ Manage everything centrally


🧠 Easy Memory Summary

πŸ‘‰ Cluster = Many systems → One system

πŸ‘‰ Oracle uses:

  • Shared storage
  • ASM
  • Clusterware

πŸ‘‰ Key features:

  • High availability
  • Failover
  • Load balancing

πŸ‘‰ Important concepts:

  • OCR (brain)
  • Node fencing
  • Interconnect
  • VIP

Comments