#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)
| Service | Meaning |
|---|---|
| C | Cluster Management |
| M | Monitoring |
| E | Event Services |
| N | Network Management |
| H | High Availability |
π’ Step 10: Node Fencing (Very Important for Exams)
π Problem: One node becomes unresponsive
π What to do?
✅ Clusterware removes it = Node Fencing
Steps:
- Stop processes
- Kill I/O
- 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
Post a Comment