Professional Documents
Culture Documents
11gR2 RAC/Grid Clusterware: Best Practices, Pitfalls, and Lessons Learned
11gR2 RAC/Grid Clusterware: Best Practices, Pitfalls, and Lessons Learned
Ramkumar Rajagopal
Introduction
Introduction
Node eviction issue in 10g
What is 11GR2 Grid Clusterware?
The Challenges
Whats different today?
Weve seen this before, smart guy
Architecture and Capacity Planning
Upgrade Paths
Pre-installation best practices
Grid Clusterware Installation
Clusterware Startup sequence
Post Install steps
RAC Database build steps
Summary
Q&A
IO fencing
5
11GR2 Grid clusterware
Root Causes of Node
Eviction
Oprocd
Several servers
Space/resource issues
Lesser resources
9
11GR2 Grid clusterware
Why 11GR2 Grid CRS?
An Architecture
An IT Strategy
Clusterware & ASM storage deployed together
Many, many Oracle Database Instances
Drives Consolidation
Skilled resources
Meeting SLAs
Security Controls
Capacity issues
Grid control
Integration testing
SLA requirements
Server consolidation
Database consolidation
Instance consolidation
Storage consolidation
Introduction
Node eviction issue in 10g
What is 11GR2 Grid clusterware?
The Challenges
Whats different today?
Weve seen this before, smart guy
Architecture and Capacity Planning
Upgrade Paths
Pre-installation best practices
Grid Clusterware Installation
Clusterware Startup sequence
Post Install steps
RAC Database build steps
Summary
Q&A
Rolling Upgrade
Network Requirements
Verification Checks
SCAN Configuration:
$GRID_HOME/bin/srvctl config scan
$GRID_HOME/Listener.ora
Local and remote listener parameters
Introduction
Node eviction issue in 10g
What is 11GR2 Grid clusterware?
The Challenges
Whats different today?
Weve seen this before, smart guy
Architecture and Capacity Planning
Upgrade Paths
Pre-installation best practices
Grid Clusterware Installation
Clusterware Startup sequence
Post Install steps
RAC Database build steps
Q&A
28
11GR2 Grid Clusterware
11GR2 Migration Steps
32
11GR2 Grid Clusterware
Step-3
33
11GR2 Grid Clusterware
Step-4
34
11GR2 Grid Clusterware
Step 5
35
11GR2 Grid Clusterware
Step 6
36
11GR2 Grid Clusterware
Step 7
37
11GR2 Grid Clusterware
Step 8
38
11GR2 Grid Clusterware
Step 8 cont..
39
11GR2 Grid Clusterware
Step 9
42
11GR2 Grid Clusterware
Step 11
44
11GR2 Grid Clusterware
Step 12
45
11GR2 Grid Clusterware
Step 12
46
11GR2 Grid Clusterware
Step 13
48
11GR2 Grid Clusterware
Runfixup.sh
root> /tmp/runfixup.sh
Response file being used is
:/tmp/CVU_11.2.0.1.0_grid/fixup.response
Enable file being used is
:/tmp/CVU_11.2.0.1.0_grid/fixup.enable
Log file location: /tmp/CVU_11.2.0.1.0_grid/orarun.log
Setting Kernel Parameters...
fs.file-max = 327679
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.wmem_max = 262144
net.core.wmem_max = 1048576
uid=501(grid)gid=502(oinstall)groups=502(oinstall),
503(asmadmin),504(asmdba)
49
11GR2 Grid Clusterware
Step 15
50
11GR2 Grid Clusterware
Step 16
51
11GR2 Grid Clusterware
Step 16 cont.
Cd /home/oracle/oraInventory
[root@oradb-grid1 oraInventory]# ./orainstRoot.sh
Changing permissions of /home/oracle/oraInventory.
Adding read, write permissions for group.
Removing read,write,execute permissions for world.
54
11GR2 Grid Clusterware
./orainstRoot.sh
55
11GR2 Grid Clusterware
./orainstRoot.sh
56
11GR2 Grid Clusterware
./orainstRoot.sh
57
11GR2 Grid Clusterware
./orainstRoot.sh
CRS-2673: Attempting to stop 'ora.crsd' on 'oradb-grid1'
CRS-2677: Stop of 'ora.crsd' on 'oradb-grid1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'oradb-grid1'
CRS-2677: Stop of 'ora.asm' on 'oradb-grid1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'oradb-grid1'
CRS-2677: Stop of 'ora.ctssd' on 'oradb-grid1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'oradb-grid1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'oradb-grid1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'oradb-grid1'
CRS-2677: Stop of 'ora.cssd' on 'oradb-grid1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'oradb-grid1'
CRS-2677: Stop of 'ora.gpnpd' on 'oradb-grid1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'oradb-grid1'
CRS-2677: Stop of 'ora.gipcd' on 'oradb-grid1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'oradb-grid1'
CRS-2677: Stop of 'ora.mdnsd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'oradb-grid1'
CRS-2676: Start of 'ora.mdnsd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'oradb-grid1'
CRS-2676: Start of 'ora.gipcd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'oradb-grid1'
CRS-2676: Start of 'ora.gpnpd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'oradb-grid1'
CRS-2676: Start of 'ora.cssdmonitor' on 'oradb-grid1' succeeded
58
11GR2 Grid Clusterware
./orainstRoot.sh
59
11GR2 Grid Clusterware
./orainstRoot.sh
Checking swap space: must be greater than 500 MB. Actual 39997 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /home/oracle/oraInventory
'UpdateNodeList' was successful.
oradb-grid2 output :-
60
11GR2 Grid Clusterware
Step 16
61
11GR2 Grid Clusterware
Step 16 cont.
62
11GR2 Grid Clusterware
Grid CRS Startup sequence
crsdRootAgent crsdOraAgent
OHASD
Clusterware processes
Clusterware checks
Clusterware processes
$ crsctl check cluster -all
**************************************************************
rat-rm2-ipfix006:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
rat-rm2-ipfix007:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
rat-rm2-ipfix008:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
Grid control
Adding/dropping nodes
Better ROI
Reduced Hardware
Improved availability SLAs
Shorter Time to add additional server or storage
Higher Security
Data Sharing & visibility
Better application performance
Centralized backup and archive
Higher ROI higher utilization
Manageability
Pride in Ownership, Eliminating the Assembly Line
Bottom line = reduce TCO!
Q&A
Email @ ramkumar.rajagopal@dbarac.com