SlideShare a Scribd company logo
1 of 73
Download to read offline
11gR2 RAC/Grid Clusterware:
Best Practices, Pitfalls, and
Lessons Learned
Presented during DOUG meeting held on 10/21/2010 at Dallas, TX
Ramkumar Rajagopal
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
1
Introduction
DBARAC is a specialty database consulting firm with expertise in a variety of
industries based at Austin, Texas.
Our people are experts in Oracle Real application clustered database focused
solutions for managing large database systems.
We provide proactive database management services including but not
limited to In-house, on-shore DBA support , remote DB support, database
maintenance and backup and recovery.
Our DBA Experts provide specialized services in the areas of -
Root cause analysis
Capacity planning
Performance tuning,
Database migration and consolidation
Broad industry expertise
High-Availability RAC database specialists
End-to-end database support
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
2
Introduction
Presenter
• Senior Database Consultant DBARAC
• Oracle Database/Applications DBA since 1995
• Dell, JP Morgan Chase, Verizon
• Presenter @ Oracle Open world 2007
• Author Dell Power Solutions articles
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
3
AGENDA
• Introduction
• Node eviction issue in 10g
• What is “11GR2 Grid Clusterware”?
• The Challenges
• What’s different today?
• “We’ve 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
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
4
Why a node is evicted?
• Split brain condition
•
• IO fencing
• CRS keeps the lowest number node up
• Node eviction detection
11GR2 Grid clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
5
Root Causes of Node
Eviction
Network heartbeat lost
Voting disk problems
cssd is not healthy
Oprocd
Hang check timer
cssd and oclsomon race to suicide
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
6
11GR2 Grid Clusterware
Improvements
• Node eviction algorithm is enhanced
• Prevent a split-brain problem without rebooting the
node
• Oracle High Availability Services Daemon
• Will still reboot in some cases
• Faster relocation of services on node failure in 11GR2
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
7
9i/10g RAC Scenario
• Several separate versions of databases
• Several servers
• Space/resource issues
• Lesser resources
• Provisioning takes time
11GR2 Grid clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
8
Top concerns
• How many are using 11GR2 Grid clusterware?
• Do you have more than one mission-critical databases
within single RAC cluster?
• Can you allocate resources dynamically to handle peak
volumes of various application loads without
downtime?
• Issues on using shared infrastructure
• Will my database availability and recovery suffer ?
• Will my database performance suffer ?
• How to manage a large clustered environment to meet sla’s
for several applications?
11GR2 Grid clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
9
Why 11GR2 Grid CRS?
11GR2 Grid Clusterware is…
An Architecture
An IT Strategy
– Clusterware & ASM storage deployed together
– Many, many Oracle Database Instances
– Drives Consolidation
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
10
Challenges
• Skilled resources
• Meeting SLA’s
• End-to-end testing not possible
• Security Controls
• Capacity issues
• Higher short-term costs
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
11
What’s different today?
• 11gR2 Grid CRS & ASM supports
• 11GR2, 11GR1, 10gR1 and 10gR2 Single Instances
•
• Powerful servers, 64Bit O/s
• Provisioning Framework to deploy
• Grid control
11GR2 Grid clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
12
11GR2 RAC DB Architecture
Planning
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
13
Capacity Planning
• What are the current requirements?
• What are the future growth requirements in the next 6-12months?
• To meet the demand – estimate the hardware requirements
• Data retention requirements
• Archiving and purging
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
14
Capacity Planning metrics
• Database metrics for capacity planning
• CPU & memory Utilization
• I/O rates
• Device utilization
• Queue length
• Storage utilization
• Response time
• Transaction rate
• Network Packet loss
• Network Bandwidth utilization
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
15
Capacity Planning Strategy
• Examine existing engagement processes
• Examine existing capacity of servers/storage
• Define Hardware/database scalability
• Provisioning for adding capacity
• Integration testing
• Large clustered database
• SLA requirements
•
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
16
Comparison – 10g vs 11GR2
• Server consolidation
• Database consolidation
• Instance consolidation
• Storage consolidation
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
17
AGENDA so far…
• Introduction
• Node eviction issue in 10g
• What is “11GR2 Grid clusterware”?
• The Challenges
• What’s different today?
• “We’ve 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
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
18
• Upgrade Paths
• Out-of-place clusterware upgrade
• Rolling Upgrade
• Oracle 10gR2 - from 10.2.0.3
• Oracle 11gR1 - from 11.1.0.6
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
19
Pre-installation best
practices
• Network Requirements
• Cluster Hardware Requirements
• ASM Storage Requirements
• Verification Checks
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
20
Pre-Installation best practices
Network Configuration
• SCAN -Single Client Access Name
• Failover - Faster relocation of services
• Better Load balancing
• MTU package size of Network Adapter (NIC)
• Forwarder, zone entries and reverse lookup
• Ping tests
• Two dedicated interconnect switches for redundant interconnects
• Run cluvfy
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
21
Pre install - Network -
SCAN Configuration
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
22
Pre Install Network -
SCANVIP Troubleshooting
• SCAN Configuration:
• $GRID_HOME/bin/srvctl config scan
• SCAN Listener Configuration:
• $GRID_HOME/bin/srvctl config scan_listener
• SCAN Listener Resource Status:
• $GRID_HOME/bin/crsctl stat res -w "TYPE = ora.scan_listener.type“
• $GRID_HOME/Listener.ora
• Local and remote listener parameters
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
23
Pre Install -Cluster
Hardware requirements
• Os/kernel same on all servers in the cluster
• Minimum 32 GB of RAM
• Minimum Swap space 16GB
• Minimum Grid Home free space 16GB
• For each Oracle Home directory allocate 32 GB of space (for each
db -32GB)
• Allocate adequate disk space for centralized backups
• Allocate adequate storage for ASM diskgroups – DATA and FRA
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
24
Cluster Hardware
requirements continued…
Most cases: use UDP over 1 Gigabit Ethernet
For large databases - Infiniband/IP or 10 Gigabit Ethernet
Use OS Bonding/teaming to “virtualize” interconnect
Set UDP send/receive buffers high enough
Crossover cables are not supported
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
25
Pre Install - ASM Storage
configuration
• In 11gR2 ASM diskgroups are used
• Grid infrastructure - OCR, Voting disk and ASMspfile.
• Database - DATA and FRA.
• OCR and voting disks for Grid clusterware
• OCR can now be stored in Automatic Storage Management (ASM).
• Add Second diskgroup for ocr using
• - ./ocrconfig -add +DATA02
Change the compatibility of the new diskgroup to 11.2 as follows:
ALTER DISKGROUP DATA02 SET ATTRIBUTE
‘COMPATIBILITY.ASM’=’11.2’;
ALTER DISKGROUP DATA02 SET ATTRIBUTE
‘COMPATIBILITY.RDBMS’=’11.2’;
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
26
AGENDA so far…
• Introduction
• Node eviction issue in 10g
• What is “11GR2 Grid clusterware”?
• The Challenges
• What’s different today?
• “We’ve 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
11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
27
Hardware/Software details
• 10gR2 architecture – 9 database servers, 25TB storage
– Original Database Version: 10.2.0.5
– Original RAC cluster version : 10.2.0.1
– Original Operating System: Ret Hat Linux 5 As 64 Bit
– Storage Type : ASM & RAW Storage
• 11gR2 Grid architecture – 4 database servers, 40TB
storage
– New Database Version: 11.2.0.2
– New Grid Clusterware/ASM version: 11.2.0.2
– New Operating System : Ret Hat Linux 5 As 64Bit
– Data migration steps using Rman backup and restore and
data pump export dump files
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
28
11GR2 Migration Steps
• Install 11gR2 Grid clusterware and Asm
• Install 11gR2 database binaries for each
database separately
• Create the 11gR2 database
• Add additional ASM diskgroups
• Install 11GR1/10gR2 database binaries
• Create 11GR1/10gR2 databases
• Take backup
• Restore the data
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
29
Pre-verification
checks- cluvfy
• Before Clusterware installation
• ./cluvfy stage -pre crsinst -n node1,node2, node3 –verbose
• Before Database installation
• ./cluvfy stage -pre dbinst -n node1,node2, node3 -fixup -verbose
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
30
11gR2 Grid Clusterware
Installation – Step 1
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
31
Step-2
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
32
Step-3
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
33
Step-4
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
34
Step 5
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
35
Step 6
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
36
Step 7
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
37
Step 8
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
38
Step 8 cont..
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
39
Step 9
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
40
Step 9 cont...
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
41
Step 10
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
42
Step 11
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
43
Step 11 cont..
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
44
Step 12
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
45
Step 12
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
46
Step 13
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
47
Step 14
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
48
Runfixup.sh
11GR2 Grid Clusterware
• 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)
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
49
Step 15
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
50
Step 16
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
51
Step 16 cont.…
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
52
./orainstRoot.sh
11GR2 Grid Clusterware
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.
Changing groupname of /home/oracle/oraInventory to oinstall.
The execution of the script is complete.
[root@oradb-grid1 oraInventory]# cd /u01/app/oracle
[root@oradb-grid1 oracle]# ls
product scripts
[root@oradb-grid1 oracle]# cd product
[root@oradb-grid1 product]# ls
11.2.0
[root@oradb-grid1 product]# cd 11*
[root@oradb-grid1 11.2.0]# ls
grid
[root@oradb-grid1 11.2.0]# cd db*
[root@oradb-grid1 grid]# ls root*
root.sh
[root@oradb-grid1 grid]# ./root.sh
Running Oracle 11g root.sh script...
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
53
./orainstRoot.sh
11GR2 Grid Clusterware
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2009-10-02 10:31:44: Parsing the host name
2009-10-02 10:31:44: Checking for super user privileges
2009-10-02 10:31:44: User has super user privileges
Using configuration parameter file:
/u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
54
./orainstRoot.sh
11GR2 Grid Clusterware
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Adding daemon to inittab
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
55
./orainstRoot.sh
11GR2 Grid Clusterware
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'oradb-grid1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'oradb-grid1'
CRS-2676: Start of 'ora.gipcd' on 'oradb-grid1' succeeded
CRS-2676: Start of 'ora.mdnsd' 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
CRS-2672: Attempting to start 'ora.cssd' on 'oradb-grid1'
CRS-2672: Attempting to start 'ora.diskmon' on 'oradb-grid1'
CRS-2676: Start of 'ora.diskmon' on 'oradb-grid1' succeeded
CRS-2676: Start of 'ora.cssd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'oradb-grid1'
CRS-2676: Start of 'ora.ctssd' on 'oradb-grid1' succeeded
ASM created and started successfully.
DiskGroup DATA created successfully.
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
56
./orainstRoot.sh
11GR2 Grid Clusterware
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'oradb-grid1'
CRS-2676: Start of 'ora.crsd' on 'oradb-grid1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 659585bf3a834f39bf281fd47e9ed6db.
Successful addition of voting disk 762177cd6f844f25bfc677fb681a02ab.
Successful addition of voting disk 154c17a0de9c4ffdbff9a3b2f22b52f6.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 659585bf3a834f39bf281fd47e9ed6db (/dev/oracleasm/disks/VOL1) [DATA]
2. ONLINE 762177cd6f844f25bfc677fb681a02ab (/dev/oracleasm/disks/VOL2) [DATA]
3. ONLINE 154c17a0de9c4ffdbff9a3b2f22b52f6 (/dev/oracleasm/disks/VOL4) [DATA]
Located 3 voting disk(s).
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
57
./orainstRoot.sh
11GR2 Grid Clusterware
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
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
58
./orainstRoot.sh
11GR2 Grid Clusterware
CRS-2672: Attempting to start 'ora.cssd' on 'oradb-grid1'
CRS-2672: Attempting to start 'ora.diskmon' on 'oradb-grid1'
CRS-2676: Start of 'ora.diskmon' on 'oradb-grid1' succeeded
CRS-2676: Start of 'ora.cssd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'oradb-grid1'
CRS-2676: Start of 'ora.ctssd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'oradb-grid1'
CRS-2676: Start of 'ora.asm' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'oradb-grid1'
CRS-2676: Start of 'ora.crsd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'oradb-grid1'
CRS-2676: Start of 'ora.evmd' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'oradb-grid1'
CRS-2676: Start of 'ora.asm' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'oradb-grid1'
CRS-2676: Start of 'ora.DATA.dg' on 'oradb-grid1' succeeded
CRS-2672: Attempting to start 'ora.registry.acfs' on 'oradb-grid1'
CRS-2676: Start of 'ora.registry.acfs' on 'oradb-grid1' succeeded
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
59
./orainstRoot.sh
11GR2 Grid Clusterware
oradb-grid1 2009/10/02 10:37:08 /u01/app/oracle/product/11.2.0/grid/cdata/oradb-
grid1/backup_20091002_103708.olr
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
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 :-
[root@oradb-grid2 oraInventory]# pwd
/home/oracle/oraInventory
[root@oradb-grid2 oraInventory]# ./orainstRoot.sh
Changing permissions of /home/oracle/oraInventory.
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
60
Step 16
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
61
Step 16 cont.…
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
62
Grid CRS Startup sequence
11GR2 Grid Clusterware
OHASD
oraRootAgent oraAgent cssdAgent cssdMonitor
crsd ctssd Diskmon ACFS
mdnsd gipcd gpnpd evmd
crsdRootAgent
GCS VIP
ASM
crsdOraAgent
networkResource SCAN VIPs Node VIPs ACFS Reg
DB Resource SCAN Listener Services ONS
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
63
Clusterware verification
Clusterware processes
–
$ ps -ef|grep -v grep |grep d.bin
oracle 9824 1 0 Jul14 ? 00:00:00 /u01/app/grid11gR2/bin/oclskd.bin
root 22161 1 0 Jul13 ? 00:00:15 /u01/app/grid11gR2/bin/ohasd.bin reboot
oracle 24161 1 0 Jul13 ? 00:00:00 /u01/app/grid11gR2/bin/mdnsd.bin
oracle 24172 1 0 Jul13 ? 00:00:00 /u01/app/grid11gR2/bin/gipcd.bin
oracle 24183 1 0 Jul13 ? 00:00:03 /u01/app/grid11gR2/bin/gpnpd.bin
oracle 24257 1 0 Jul13 ? 00:01:26 /u01/app/grid11gR2/bin/ocssd.bin
root 24309 1 0 Jul13 ? 00:00:06 /u01/app/grid11gR2/bin/octssd.bin
root 24323 1 0 Jul13 ? 00:01:03 /u01/app/grid11gR2/bin/crsd.bin reboot
root 24346 1 0 Jul13 ? 00:00:00 /u01/app/grid11gR2/bin/oclskd.bin
oracle 24374 1 0 Jul13 ? 00:00:03 /u01/app/grid11gR2/bin/evmd.bin
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
64
Clusterware verification
Clusterware checks
–
$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online $ crsctl check has
CRS-4638: Oracle High Availability Services is online
$ crsctl query crs activeversion
Oracle Clusterware active version on the cluster is
[11.2.0.2.0]
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
65
Clusterware verification
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
**************************************************************
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
66
Clusterware verification
$ crsctl status resource -t
NAME TARGET STATE SERVER STATE_DETAILS
------------------------------------------------
ora.DATA.dg ASM disk group (new resource)
ONLINE ONLINE rat-rm2-ipfix006
ONLINE ONLINE rat-rm2-ipfix007
ONLINE ONLINE rat-rm2-ipfix008
ora.LISTENER.lsnr
ONLINE ONLINE rat-rm2-ipfix006
ONLINE ONLINE rat-rm2-ipfix007
ONLINE ONLINE rat-rm2-ipfix008
ora.asm
ONLINE ONLINE rat-rm2-ipfix006 Started
ONLINE ONLINE rat-rm2-ipfix007 Started
ONLINE ONLINE rat-rm2-ipfix008 Started
ora.eons new resource
ONLINE ONLINE rat-rm2-ipfix006
ONLINE ONLINE rat-rm2-ipfix007
ONLINE ONLINE rat-rm2-ipfix008
ora.gsd
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
67
Post Install Steps
• One-off patch –unlock the Grid home first
• # perl rootcrs.pl -unlock -crshome
/u01/app/11.2.0/grid
• Download and Install the latest Patch Updates
• Back Up the root.sh Script
• Install Cluster Health Management
• Install OS Watcher and RACDDT
• Check the backups of OCR and voting disks
• Lock the Grid home after patch installation
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
68
Manageability
• Grid control
• Adding/dropping nodes
• Automatically discovers services
• Policy-based cluster management
• Automated Cluster Patching
• End to end management of the cluster
11GR2 Grid Clusterware
Presented on 10/21/2010 at DOUG
meeting in Dallas, TX
69
flexibility
Scalability & Flexibility
• Sever pools of hardware available
• Consolidation of hardware and storage
• Rapid provisioning of resources to add capacity where its required
• Improved utilization of resources
• Better ROI
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
70
Summary
• 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!
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
71
References
• 11gR2Oracle® Clusterware Administration and Deployment Guide
• Metalink ID 1054902.1 for Network configuration
• RAC Assurance Support Team: RAC Starter Kit and Best Practices
(Linux)
• Metalink NOTE:887522.1 - 11gR2 Grid Infrastructure Single Client
Access Name
• Metalink NOTE:946452.1 - DNS and DHCP Setup Example for Grid
Infrastructure GNS
Metalink Pre 11.2 Database Issues in 11gR2 Grid Infrastructure
Environment [ID 948456.1]
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
72
11GR2 Grid cluster
Q & A
Email @ ramkumar.rajagopal@dbarac.com
11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG
meeting in Dallas, TX
73

More Related Content

What's hot

Integrating data stored in rdbms and hadoop
Integrating data stored in rdbms and hadoopIntegrating data stored in rdbms and hadoop
Integrating data stored in rdbms and hadoopleorick lin
 
Hadoop 3.0 - Revolution or evolution?
Hadoop 3.0 - Revolution or evolution?Hadoop 3.0 - Revolution or evolution?
Hadoop 3.0 - Revolution or evolution?Uwe Printz
 
State of Cassandra 2012
State of Cassandra 2012State of Cassandra 2012
State of Cassandra 2012jbellis
 
From docker to kubernetes: running Apache Hadoop in a cloud native way
From docker to kubernetes: running Apache Hadoop in a cloud native wayFrom docker to kubernetes: running Apache Hadoop in a cloud native way
From docker to kubernetes: running Apache Hadoop in a cloud native wayDataWorks Summit
 
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...DataStax
 
Home For Gypsies – Storage for NoSQL Databases​
Home For Gypsies – Storage for NoSQL Databases​Home For Gypsies – Storage for NoSQL Databases​
Home For Gypsies – Storage for NoSQL Databases​Atish Kathpal
 
Yarn 3.1 and Beyond in ApacheCon North America 2018
Yarn 3.1 and Beyond in ApacheCon North America 2018Yarn 3.1 and Beyond in ApacheCon North America 2018
Yarn 3.1 and Beyond in ApacheCon North America 2018Naganarasimha Garla
 
Mcitp server administrator
Mcitp server administratorMcitp server administrator
Mcitp server administrator97148881557
 
Cisco UCS Integrated Infrastructure for Big Data with Cassandra
Cisco UCS Integrated Infrastructure for Big Data with CassandraCisco UCS Integrated Infrastructure for Big Data with Cassandra
Cisco UCS Integrated Infrastructure for Big Data with CassandraDataStax Academy
 
Red Hat Storage Day Seattle: Stabilizing Petabyte Ceph Cluster in OpenStack C...
Red Hat Storage Day Seattle: Stabilizing Petabyte Ceph Cluster in OpenStack C...Red Hat Storage Day Seattle: Stabilizing Petabyte Ceph Cluster in OpenStack C...
Red Hat Storage Day Seattle: Stabilizing Petabyte Ceph Cluster in OpenStack C...Red_Hat_Storage
 
Using R on Netezza
Using R on NetezzaUsing R on Netezza
Using R on NetezzaAjay Ohri
 
Cassandra 1.1
Cassandra 1.1Cassandra 1.1
Cassandra 1.1jbellis
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
 
Deploying OpenStack Private Cloud on NEC DX1000 MicroServer Chassis
Deploying OpenStack Private Cloud on NEC DX1000 MicroServer ChassisDeploying OpenStack Private Cloud on NEC DX1000 MicroServer Chassis
Deploying OpenStack Private Cloud on NEC DX1000 MicroServer ChassisPrincipled Technologies
 
GLORIAD's New Measurement and Monitoring System
GLORIAD's New Measurement and Monitoring SystemGLORIAD's New Measurement and Monitoring System
GLORIAD's New Measurement and Monitoring SystemEd Dodds
 
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...DataStax
 
Managing user Online Training in IBM Netezza DBA Development by www.etraining...
Managing user Online Training in IBM Netezza DBA Development by www.etraining...Managing user Online Training in IBM Netezza DBA Development by www.etraining...
Managing user Online Training in IBM Netezza DBA Development by www.etraining...Ravikumar Nandigam
 
DX2000 from NEC lets you put big data to work
DX2000 from NEC lets you put big data to workDX2000 from NEC lets you put big data to work
DX2000 from NEC lets you put big data to workPrincipled Technologies
 
zahidCvFinal(Updated Jan 17)-2
zahidCvFinal(Updated Jan 17)-2zahidCvFinal(Updated Jan 17)-2
zahidCvFinal(Updated Jan 17)-2Zahid Ayub
 

What's hot (20)

Integrating data stored in rdbms and hadoop
Integrating data stored in rdbms and hadoopIntegrating data stored in rdbms and hadoop
Integrating data stored in rdbms and hadoop
 
Hadoop 3.0 - Revolution or evolution?
Hadoop 3.0 - Revolution or evolution?Hadoop 3.0 - Revolution or evolution?
Hadoop 3.0 - Revolution or evolution?
 
State of Cassandra 2012
State of Cassandra 2012State of Cassandra 2012
State of Cassandra 2012
 
From docker to kubernetes: running Apache Hadoop in a cloud native way
From docker to kubernetes: running Apache Hadoop in a cloud native wayFrom docker to kubernetes: running Apache Hadoop in a cloud native way
From docker to kubernetes: running Apache Hadoop in a cloud native way
 
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
 
Home For Gypsies – Storage for NoSQL Databases​
Home For Gypsies – Storage for NoSQL Databases​Home For Gypsies – Storage for NoSQL Databases​
Home For Gypsies – Storage for NoSQL Databases​
 
Yarn 3.1 and Beyond in ApacheCon North America 2018
Yarn 3.1 and Beyond in ApacheCon North America 2018Yarn 3.1 and Beyond in ApacheCon North America 2018
Yarn 3.1 and Beyond in ApacheCon North America 2018
 
FAQ
FAQFAQ
FAQ
 
Mcitp server administrator
Mcitp server administratorMcitp server administrator
Mcitp server administrator
 
Cisco UCS Integrated Infrastructure for Big Data with Cassandra
Cisco UCS Integrated Infrastructure for Big Data with CassandraCisco UCS Integrated Infrastructure for Big Data with Cassandra
Cisco UCS Integrated Infrastructure for Big Data with Cassandra
 
Red Hat Storage Day Seattle: Stabilizing Petabyte Ceph Cluster in OpenStack C...
Red Hat Storage Day Seattle: Stabilizing Petabyte Ceph Cluster in OpenStack C...Red Hat Storage Day Seattle: Stabilizing Petabyte Ceph Cluster in OpenStack C...
Red Hat Storage Day Seattle: Stabilizing Petabyte Ceph Cluster in OpenStack C...
 
Using R on Netezza
Using R on NetezzaUsing R on Netezza
Using R on Netezza
 
Cassandra 1.1
Cassandra 1.1Cassandra 1.1
Cassandra 1.1
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
Deploying OpenStack Private Cloud on NEC DX1000 MicroServer Chassis
Deploying OpenStack Private Cloud on NEC DX1000 MicroServer ChassisDeploying OpenStack Private Cloud on NEC DX1000 MicroServer Chassis
Deploying OpenStack Private Cloud on NEC DX1000 MicroServer Chassis
 
GLORIAD's New Measurement and Monitoring System
GLORIAD's New Measurement and Monitoring SystemGLORIAD's New Measurement and Monitoring System
GLORIAD's New Measurement and Monitoring System
 
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
 
Managing user Online Training in IBM Netezza DBA Development by www.etraining...
Managing user Online Training in IBM Netezza DBA Development by www.etraining...Managing user Online Training in IBM Netezza DBA Development by www.etraining...
Managing user Online Training in IBM Netezza DBA Development by www.etraining...
 
DX2000 from NEC lets you put big data to work
DX2000 from NEC lets you put big data to workDX2000 from NEC lets you put big data to work
DX2000 from NEC lets you put big data to work
 
zahidCvFinal(Updated Jan 17)-2
zahidCvFinal(Updated Jan 17)-2zahidCvFinal(Updated Jan 17)-2
zahidCvFinal(Updated Jan 17)-2
 

Viewers also liked

Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptSantosh Kangane
 
UTHOC2 - Under The Hood of Oracle Clusterware 2.0 - Grid Infrastructure by Al...
UTHOC2 - Under The Hood of Oracle Clusterware 2.0 - Grid Infrastructure by Al...UTHOC2 - Under The Hood of Oracle Clusterware 2.0 - Grid Infrastructure by Al...
UTHOC2 - Under The Hood of Oracle Clusterware 2.0 - Grid Infrastructure by Al...Alex Gorbachev
 
Paper: Oracle RAC and Oracle RAC One Node on Extended Distance (Stretched) Cl...
Paper: Oracle RAC and Oracle RAC One Node on Extended Distance (Stretched) Cl...Paper: Oracle RAC and Oracle RAC One Node on Extended Distance (Stretched) Cl...
Paper: Oracle RAC and Oracle RAC One Node on Extended Distance (Stretched) Cl...Markus Michalewicz
 
Oracle RAC - Standard Edition, Enterprise Edition & One Node
Oracle RAC - Standard Edition, Enterprise Edition & One NodeOracle RAC - Standard Edition, Enterprise Edition & One Node
Oracle RAC - Standard Edition, Enterprise Edition & One NodeLeighton Nelson
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slidesMohamed Farouk
 
OpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitOpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitDan Wendlandt
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsMarkus Michalewicz
 
Dba 3+ exp qus
Dba 3+ exp qusDba 3+ exp qus
Dba 3+ exp quskrreddy21
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Yury Velikanov
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RACSyed Hussain
 
Alphorm.com Support de la formation Vmware Esxi 6.0
Alphorm.com Support de la formation Vmware Esxi 6.0Alphorm.com Support de la formation Vmware Esxi 6.0
Alphorm.com Support de la formation Vmware Esxi 6.0Alphorm
 

Viewers also liked (13)

Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
 
UTHOC2 - Under The Hood of Oracle Clusterware 2.0 - Grid Infrastructure by Al...
UTHOC2 - Under The Hood of Oracle Clusterware 2.0 - Grid Infrastructure by Al...UTHOC2 - Under The Hood of Oracle Clusterware 2.0 - Grid Infrastructure by Al...
UTHOC2 - Under The Hood of Oracle Clusterware 2.0 - Grid Infrastructure by Al...
 
Paper: Oracle RAC and Oracle RAC One Node on Extended Distance (Stretched) Cl...
Paper: Oracle RAC and Oracle RAC One Node on Extended Distance (Stretched) Cl...Paper: Oracle RAC and Oracle RAC One Node on Extended Distance (Stretched) Cl...
Paper: Oracle RAC and Oracle RAC One Node on Extended Distance (Stretched) Cl...
 
Oracle RAC - Standard Edition, Enterprise Edition & One Node
Oracle RAC - Standard Edition, Enterprise Edition & One NodeOracle RAC - Standard Edition, Enterprise Edition & One Node
Oracle RAC - Standard Edition, Enterprise Edition & One Node
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
OpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitOpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack Summit
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 Internals
 
Dba 3+ exp qus
Dba 3+ exp qusDba 3+ exp qus
Dba 3+ exp qus
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RAC
 
Alphorm.com Support de la formation Vmware Esxi 6.0
Alphorm.com Support de la formation Vmware Esxi 6.0Alphorm.com Support de la formation Vmware Esxi 6.0
Alphorm.com Support de la formation Vmware Esxi 6.0
 

Similar to 11g r2 rac grid clusterware doug presentation 10 21-10

Maximum Availability Architecture with Fusion Middleware 12c and Oracle Datab...
Maximum Availability Architecture with Fusion Middleware 12c and Oracle Datab...Maximum Availability Architecture with Fusion Middleware 12c and Oracle Datab...
Maximum Availability Architecture with Fusion Middleware 12c and Oracle Datab...Nikitas Xenakis
 
DBaaS - The Next generation of database infrastructure
DBaaS - The Next generation of database infrastructureDBaaS - The Next generation of database infrastructure
DBaaS - The Next generation of database infrastructureEmiliano Fusaglia
 
Aujourd’hui la consolidation de bases de données Oracle c’est quoi ?
Aujourd’hui la consolidation de bases de données Oracle c’est quoi ? Aujourd’hui la consolidation de bases de données Oracle c’est quoi ?
Aujourd’hui la consolidation de bases de données Oracle c’est quoi ? Swiss Data Forum Swiss Data Forum
 
Mma 10g r2_936
Mma 10g r2_936Mma 10g r2_936
Mma 10g r2_936Alf Baez
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Connor McDonald
 
Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresmkorremans
 
Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Mohamed Sadek
 
Aruman Cassandra database
Aruman Cassandra databaseAruman Cassandra database
Aruman Cassandra databaseUmesh Dande
 
Yugandhar uppala oracle dba_2016
Yugandhar uppala oracle dba_2016Yugandhar uppala oracle dba_2016
Yugandhar uppala oracle dba_2016Yugandhar Uppala
 
Dimension Data Cloud Business Unit - Solution Offering
Dimension Data Cloud Business Unit - Solution OfferingDimension Data Cloud Business Unit - Solution Offering
Dimension Data Cloud Business Unit - Solution OfferingRifaHaryadi
 
Srimanta_Maji_Oracle_DBA
Srimanta_Maji_Oracle_DBASrimanta_Maji_Oracle_DBA
Srimanta_Maji_Oracle_DBASRIMANTA MAJI
 
Ajay_oracle dba
Ajay_oracle dbaAjay_oracle dba
Ajay_oracle dbaajay pat
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh
 
Postgres-XC: Symmetric PostgreSQL Cluster
Postgres-XC: Symmetric PostgreSQL ClusterPostgres-XC: Symmetric PostgreSQL Cluster
Postgres-XC: Symmetric PostgreSQL ClusterPavan Deolasee
 
Data Lake and the rise of the microservices
Data Lake and the rise of the microservicesData Lake and the rise of the microservices
Data Lake and the rise of the microservicesBigstep
 
HPC DAY 2017 | HPE Storage and Data Management for Big Data
HPC DAY 2017 | HPE Storage and Data Management for Big DataHPC DAY 2017 | HPE Storage and Data Management for Big Data
HPC DAY 2017 | HPE Storage and Data Management for Big DataHPC DAY
 

Similar to 11g r2 rac grid clusterware doug presentation 10 21-10 (20)

Maximum Availability Architecture with Fusion Middleware 12c and Oracle Datab...
Maximum Availability Architecture with Fusion Middleware 12c and Oracle Datab...Maximum Availability Architecture with Fusion Middleware 12c and Oracle Datab...
Maximum Availability Architecture with Fusion Middleware 12c and Oracle Datab...
 
DBaaS - The Next generation of database infrastructure
DBaaS - The Next generation of database infrastructureDBaaS - The Next generation of database infrastructure
DBaaS - The Next generation of database infrastructure
 
Aujourd’hui la consolidation de bases de données Oracle c’est quoi ?
Aujourd’hui la consolidation de bases de données Oracle c’est quoi ? Aujourd’hui la consolidation de bases de données Oracle c’est quoi ?
Aujourd’hui la consolidation de bases de données Oracle c’est quoi ?
 
Mma 10g r2_936
Mma 10g r2_936Mma 10g r2_936
Mma 10g r2_936
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 
Lustre at indiana university
Lustre at indiana universityLustre at indiana university
Lustre at indiana university
 
Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-features
 
Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9
 
Aruman Cassandra database
Aruman Cassandra databaseAruman Cassandra database
Aruman Cassandra database
 
Yugandhar uppala oracle dba_2016
Yugandhar uppala oracle dba_2016Yugandhar uppala oracle dba_2016
Yugandhar uppala oracle dba_2016
 
Dimension Data Cloud Business Unit - Solution Offering
Dimension Data Cloud Business Unit - Solution OfferingDimension Data Cloud Business Unit - Solution Offering
Dimension Data Cloud Business Unit - Solution Offering
 
Srimanta_Maji_Oracle_DBA
Srimanta_Maji_Oracle_DBASrimanta_Maji_Oracle_DBA
Srimanta_Maji_Oracle_DBA
 
Ajay_oracle dba
Ajay_oracle dbaAjay_oracle dba
Ajay_oracle dba
 
AbdulMateen
AbdulMateenAbdulMateen
AbdulMateen
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016
 
Postgres-XC: Symmetric PostgreSQL Cluster
Postgres-XC: Symmetric PostgreSQL ClusterPostgres-XC: Symmetric PostgreSQL Cluster
Postgres-XC: Symmetric PostgreSQL Cluster
 
Data Lake and the rise of the microservices
Data Lake and the rise of the microservicesData Lake and the rise of the microservices
Data Lake and the rise of the microservices
 
BigData Developers MeetUp
BigData Developers MeetUpBigData Developers MeetUp
BigData Developers MeetUp
 
HPC DAY 2017 | HPE Storage and Data Management for Big Data
HPC DAY 2017 | HPE Storage and Data Management for Big DataHPC DAY 2017 | HPE Storage and Data Management for Big Data
HPC DAY 2017 | HPE Storage and Data Management for Big Data
 
Kafka & Hadoop in Rakuten
Kafka & Hadoop in RakutenKafka & Hadoop in Rakuten
Kafka & Hadoop in Rakuten
 

Recently uploaded

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Recently uploaded (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

11g r2 rac grid clusterware doug presentation 10 21-10

  • 1. 11gR2 RAC/Grid Clusterware: Best Practices, Pitfalls, and Lessons Learned Presented during DOUG meeting held on 10/21/2010 at Dallas, TX Ramkumar Rajagopal Presented on 10/21/2010 at DOUG meeting in Dallas, TX 1
  • 2. Introduction DBARAC is a specialty database consulting firm with expertise in a variety of industries based at Austin, Texas. Our people are experts in Oracle Real application clustered database focused solutions for managing large database systems. We provide proactive database management services including but not limited to In-house, on-shore DBA support , remote DB support, database maintenance and backup and recovery. Our DBA Experts provide specialized services in the areas of - Root cause analysis Capacity planning Performance tuning, Database migration and consolidation Broad industry expertise High-Availability RAC database specialists End-to-end database support 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 2
  • 3. Introduction Presenter • Senior Database Consultant DBARAC • Oracle Database/Applications DBA since 1995 • Dell, JP Morgan Chase, Verizon • Presenter @ Oracle Open world 2007 • Author Dell Power Solutions articles 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 3
  • 4. AGENDA • Introduction • Node eviction issue in 10g • What is “11GR2 Grid Clusterware”? • The Challenges • What’s different today? • “We’ve 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 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 4
  • 5. Why a node is evicted? • Split brain condition • • IO fencing • CRS keeps the lowest number node up • Node eviction detection 11GR2 Grid clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 5
  • 6. Root Causes of Node Eviction Network heartbeat lost Voting disk problems cssd is not healthy Oprocd Hang check timer cssd and oclsomon race to suicide 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 6
  • 7. 11GR2 Grid Clusterware Improvements • Node eviction algorithm is enhanced • Prevent a split-brain problem without rebooting the node • Oracle High Availability Services Daemon • Will still reboot in some cases • Faster relocation of services on node failure in 11GR2 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 7
  • 8. 9i/10g RAC Scenario • Several separate versions of databases • Several servers • Space/resource issues • Lesser resources • Provisioning takes time 11GR2 Grid clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 8
  • 9. Top concerns • How many are using 11GR2 Grid clusterware? • Do you have more than one mission-critical databases within single RAC cluster? • Can you allocate resources dynamically to handle peak volumes of various application loads without downtime? • Issues on using shared infrastructure • Will my database availability and recovery suffer ? • Will my database performance suffer ? • How to manage a large clustered environment to meet sla’s for several applications? 11GR2 Grid clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 9
  • 10. Why 11GR2 Grid CRS? 11GR2 Grid Clusterware is… An Architecture An IT Strategy – Clusterware & ASM storage deployed together – Many, many Oracle Database Instances – Drives Consolidation 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 10
  • 11. Challenges • Skilled resources • Meeting SLA’s • End-to-end testing not possible • Security Controls • Capacity issues • Higher short-term costs 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 11
  • 12. What’s different today? • 11gR2 Grid CRS & ASM supports • 11GR2, 11GR1, 10gR1 and 10gR2 Single Instances • • Powerful servers, 64Bit O/s • Provisioning Framework to deploy • Grid control 11GR2 Grid clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 12
  • 13. 11GR2 RAC DB Architecture Planning 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 13
  • 14. Capacity Planning • What are the current requirements? • What are the future growth requirements in the next 6-12months? • To meet the demand – estimate the hardware requirements • Data retention requirements • Archiving and purging 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 14
  • 15. Capacity Planning metrics • Database metrics for capacity planning • CPU & memory Utilization • I/O rates • Device utilization • Queue length • Storage utilization • Response time • Transaction rate • Network Packet loss • Network Bandwidth utilization 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 15
  • 16. Capacity Planning Strategy • Examine existing engagement processes • Examine existing capacity of servers/storage • Define Hardware/database scalability • Provisioning for adding capacity • Integration testing • Large clustered database • SLA requirements • 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 16
  • 17. Comparison – 10g vs 11GR2 • Server consolidation • Database consolidation • Instance consolidation • Storage consolidation 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 17
  • 18. AGENDA so far… • Introduction • Node eviction issue in 10g • What is “11GR2 Grid clusterware”? • The Challenges • What’s different today? • “We’ve 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 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 18
  • 19. • Upgrade Paths • Out-of-place clusterware upgrade • Rolling Upgrade • Oracle 10gR2 - from 10.2.0.3 • Oracle 11gR1 - from 11.1.0.6 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 19
  • 20. Pre-installation best practices • Network Requirements • Cluster Hardware Requirements • ASM Storage Requirements • Verification Checks 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 20
  • 21. Pre-Installation best practices Network Configuration • SCAN -Single Client Access Name • Failover - Faster relocation of services • Better Load balancing • MTU package size of Network Adapter (NIC) • Forwarder, zone entries and reverse lookup • Ping tests • Two dedicated interconnect switches for redundant interconnects • Run cluvfy 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 21
  • 22. Pre install - Network - SCAN Configuration 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 22
  • 23. Pre Install Network - SCANVIP Troubleshooting • SCAN Configuration: • $GRID_HOME/bin/srvctl config scan • SCAN Listener Configuration: • $GRID_HOME/bin/srvctl config scan_listener • SCAN Listener Resource Status: • $GRID_HOME/bin/crsctl stat res -w "TYPE = ora.scan_listener.type“ • $GRID_HOME/Listener.ora • Local and remote listener parameters 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 23
  • 24. Pre Install -Cluster Hardware requirements • Os/kernel same on all servers in the cluster • Minimum 32 GB of RAM • Minimum Swap space 16GB • Minimum Grid Home free space 16GB • For each Oracle Home directory allocate 32 GB of space (for each db -32GB) • Allocate adequate disk space for centralized backups • Allocate adequate storage for ASM diskgroups – DATA and FRA 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 24
  • 25. Cluster Hardware requirements continued… Most cases: use UDP over 1 Gigabit Ethernet For large databases - Infiniband/IP or 10 Gigabit Ethernet Use OS Bonding/teaming to “virtualize” interconnect Set UDP send/receive buffers high enough Crossover cables are not supported 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 25
  • 26. Pre Install - ASM Storage configuration • In 11gR2 ASM diskgroups are used • Grid infrastructure - OCR, Voting disk and ASMspfile. • Database - DATA and FRA. • OCR and voting disks for Grid clusterware • OCR can now be stored in Automatic Storage Management (ASM). • Add Second diskgroup for ocr using • - ./ocrconfig -add +DATA02 Change the compatibility of the new diskgroup to 11.2 as follows: ALTER DISKGROUP DATA02 SET ATTRIBUTE ‘COMPATIBILITY.ASM’=’11.2’; ALTER DISKGROUP DATA02 SET ATTRIBUTE ‘COMPATIBILITY.RDBMS’=’11.2’; 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 26
  • 27. AGENDA so far… • Introduction • Node eviction issue in 10g • What is “11GR2 Grid clusterware”? • The Challenges • What’s different today? • “We’ve 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 11GR2 Grid clusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 27
  • 28. Hardware/Software details • 10gR2 architecture – 9 database servers, 25TB storage – Original Database Version: 10.2.0.5 – Original RAC cluster version : 10.2.0.1 – Original Operating System: Ret Hat Linux 5 As 64 Bit – Storage Type : ASM & RAW Storage • 11gR2 Grid architecture – 4 database servers, 40TB storage – New Database Version: 11.2.0.2 – New Grid Clusterware/ASM version: 11.2.0.2 – New Operating System : Ret Hat Linux 5 As 64Bit – Data migration steps using Rman backup and restore and data pump export dump files 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 28
  • 29. 11GR2 Migration Steps • Install 11gR2 Grid clusterware and Asm • Install 11gR2 database binaries for each database separately • Create the 11gR2 database • Add additional ASM diskgroups • Install 11GR1/10gR2 database binaries • Create 11GR1/10gR2 databases • Take backup • Restore the data 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 29
  • 30. Pre-verification checks- cluvfy • Before Clusterware installation • ./cluvfy stage -pre crsinst -n node1,node2, node3 –verbose • Before Database installation • ./cluvfy stage -pre dbinst -n node1,node2, node3 -fixup -verbose 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 30
  • 31. 11gR2 Grid Clusterware Installation – Step 1 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 31
  • 32. Step-2 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 32
  • 33. Step-3 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 33
  • 34. Step-4 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 34
  • 35. Step 5 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 35
  • 36. Step 6 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 36
  • 37. Step 7 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 37
  • 38. Step 8 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 38
  • 39. Step 8 cont.. 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 39
  • 40. Step 9 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 40
  • 41. Step 9 cont... 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 41
  • 42. Step 10 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 42
  • 43. Step 11 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 43
  • 44. Step 11 cont.. 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 44
  • 45. Step 12 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 45
  • 46. Step 12 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 46
  • 47. Step 13 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 47
  • 48. Step 14 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 48
  • 49. Runfixup.sh 11GR2 Grid Clusterware • 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) Presented on 10/21/2010 at DOUG meeting in Dallas, TX 49
  • 50. Step 15 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 50
  • 51. Step 16 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 51
  • 52. Step 16 cont.… 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 52
  • 53. ./orainstRoot.sh 11GR2 Grid Clusterware 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. Changing groupname of /home/oracle/oraInventory to oinstall. The execution of the script is complete. [root@oradb-grid1 oraInventory]# cd /u01/app/oracle [root@oradb-grid1 oracle]# ls product scripts [root@oradb-grid1 oracle]# cd product [root@oradb-grid1 product]# ls 11.2.0 [root@oradb-grid1 product]# cd 11* [root@oradb-grid1 11.2.0]# ls grid [root@oradb-grid1 11.2.0]# cd db* [root@oradb-grid1 grid]# ls root* root.sh [root@oradb-grid1 grid]# ./root.sh Running Oracle 11g root.sh script... Presented on 10/21/2010 at DOUG meeting in Dallas, TX 53
  • 54. ./orainstRoot.sh 11GR2 Grid Clusterware The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.2.0/grid Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. 2009-10-02 10:31:44: Parsing the host name 2009-10-02 10:31:44: Checking for super user privileges 2009-10-02 10:31:44: User has super user privileges Using configuration parameter file: /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params Creating trace directory LOCAL ADD MODE Presented on 10/21/2010 at DOUG meeting in Dallas, TX 54
  • 55. ./orainstRoot.sh 11GR2 Grid Clusterware Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. root wallet root wallet cert root cert export peer wallet profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert peer root cert TP profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP profile reader pa cert TP profile reader peer cert TP peer user cert pa user cert Adding daemon to inittab Presented on 10/21/2010 at DOUG meeting in Dallas, TX 55
  • 56. ./orainstRoot.sh 11GR2 Grid Clusterware CRS-4123: Oracle High Availability Services has been started. ohasd is starting CRS-2672: Attempting to start 'ora.gipcd' on 'oradb-grid1' CRS-2672: Attempting to start 'ora.mdnsd' on 'oradb-grid1' CRS-2676: Start of 'ora.gipcd' on 'oradb-grid1' succeeded CRS-2676: Start of 'ora.mdnsd' 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 CRS-2672: Attempting to start 'ora.cssd' on 'oradb-grid1' CRS-2672: Attempting to start 'ora.diskmon' on 'oradb-grid1' CRS-2676: Start of 'ora.diskmon' on 'oradb-grid1' succeeded CRS-2676: Start of 'ora.cssd' on 'oradb-grid1' succeeded CRS-2672: Attempting to start 'ora.ctssd' on 'oradb-grid1' CRS-2676: Start of 'ora.ctssd' on 'oradb-grid1' succeeded ASM created and started successfully. DiskGroup DATA created successfully. Presented on 10/21/2010 at DOUG meeting in Dallas, TX 56
  • 57. ./orainstRoot.sh 11GR2 Grid Clusterware clscfg: -install mode specified Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. CRS-2672: Attempting to start 'ora.crsd' on 'oradb-grid1' CRS-2676: Start of 'ora.crsd' on 'oradb-grid1' succeeded CRS-4256: Updating the profile Successful addition of voting disk 659585bf3a834f39bf281fd47e9ed6db. Successful addition of voting disk 762177cd6f844f25bfc677fb681a02ab. Successful addition of voting disk 154c17a0de9c4ffdbff9a3b2f22b52f6. Successfully replaced voting disk group with +DATA. CRS-4256: Updating the profile CRS-4266: Voting file(s) successfully replaced ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE 659585bf3a834f39bf281fd47e9ed6db (/dev/oracleasm/disks/VOL1) [DATA] 2. ONLINE 762177cd6f844f25bfc677fb681a02ab (/dev/oracleasm/disks/VOL2) [DATA] 3. ONLINE 154c17a0de9c4ffdbff9a3b2f22b52f6 (/dev/oracleasm/disks/VOL4) [DATA] Located 3 voting disk(s). Presented on 10/21/2010 at DOUG meeting in Dallas, TX 57
  • 58. ./orainstRoot.sh 11GR2 Grid Clusterware 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 Presented on 10/21/2010 at DOUG meeting in Dallas, TX 58
  • 59. ./orainstRoot.sh 11GR2 Grid Clusterware CRS-2672: Attempting to start 'ora.cssd' on 'oradb-grid1' CRS-2672: Attempting to start 'ora.diskmon' on 'oradb-grid1' CRS-2676: Start of 'ora.diskmon' on 'oradb-grid1' succeeded CRS-2676: Start of 'ora.cssd' on 'oradb-grid1' succeeded CRS-2672: Attempting to start 'ora.ctssd' on 'oradb-grid1' CRS-2676: Start of 'ora.ctssd' on 'oradb-grid1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'oradb-grid1' CRS-2676: Start of 'ora.asm' on 'oradb-grid1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'oradb-grid1' CRS-2676: Start of 'ora.crsd' on 'oradb-grid1' succeeded CRS-2672: Attempting to start 'ora.evmd' on 'oradb-grid1' CRS-2676: Start of 'ora.evmd' on 'oradb-grid1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'oradb-grid1' CRS-2676: Start of 'ora.asm' on 'oradb-grid1' succeeded CRS-2672: Attempting to start 'ora.DATA.dg' on 'oradb-grid1' CRS-2676: Start of 'ora.DATA.dg' on 'oradb-grid1' succeeded CRS-2672: Attempting to start 'ora.registry.acfs' on 'oradb-grid1' CRS-2676: Start of 'ora.registry.acfs' on 'oradb-grid1' succeeded Presented on 10/21/2010 at DOUG meeting in Dallas, TX 59
  • 60. ./orainstRoot.sh 11GR2 Grid Clusterware oradb-grid1 2009/10/02 10:37:08 /u01/app/oracle/product/11.2.0/grid/cdata/oradb- grid1/backup_20091002_103708.olr Preparing packages for installation... cvuqdisk-1.0.7-1 Configure Oracle Grid Infrastructure for a Cluster ... succeeded Updating inventory properties for clusterware Starting Oracle Universal Installer... 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 :- [root@oradb-grid2 oraInventory]# pwd /home/oracle/oraInventory [root@oradb-grid2 oraInventory]# ./orainstRoot.sh Changing permissions of /home/oracle/oraInventory. Presented on 10/21/2010 at DOUG meeting in Dallas, TX 60
  • 61. Step 16 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 61
  • 62. Step 16 cont.… 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 62
  • 63. Grid CRS Startup sequence 11GR2 Grid Clusterware OHASD oraRootAgent oraAgent cssdAgent cssdMonitor crsd ctssd Diskmon ACFS mdnsd gipcd gpnpd evmd crsdRootAgent GCS VIP ASM crsdOraAgent networkResource SCAN VIPs Node VIPs ACFS Reg DB Resource SCAN Listener Services ONS Presented on 10/21/2010 at DOUG meeting in Dallas, TX 63
  • 64. Clusterware verification Clusterware processes – $ ps -ef|grep -v grep |grep d.bin oracle 9824 1 0 Jul14 ? 00:00:00 /u01/app/grid11gR2/bin/oclskd.bin root 22161 1 0 Jul13 ? 00:00:15 /u01/app/grid11gR2/bin/ohasd.bin reboot oracle 24161 1 0 Jul13 ? 00:00:00 /u01/app/grid11gR2/bin/mdnsd.bin oracle 24172 1 0 Jul13 ? 00:00:00 /u01/app/grid11gR2/bin/gipcd.bin oracle 24183 1 0 Jul13 ? 00:00:03 /u01/app/grid11gR2/bin/gpnpd.bin oracle 24257 1 0 Jul13 ? 00:01:26 /u01/app/grid11gR2/bin/ocssd.bin root 24309 1 0 Jul13 ? 00:00:06 /u01/app/grid11gR2/bin/octssd.bin root 24323 1 0 Jul13 ? 00:01:03 /u01/app/grid11gR2/bin/crsd.bin reboot root 24346 1 0 Jul13 ? 00:00:00 /u01/app/grid11gR2/bin/oclskd.bin oracle 24374 1 0 Jul13 ? 00:00:03 /u01/app/grid11gR2/bin/evmd.bin 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 64
  • 65. Clusterware verification Clusterware checks – $ crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online $ crsctl check has CRS-4638: Oracle High Availability Services is online $ crsctl query crs activeversion Oracle Clusterware active version on the cluster is [11.2.0.2.0] 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 65
  • 66. Clusterware verification 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 ************************************************************** 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 66
  • 67. Clusterware verification $ crsctl status resource -t NAME TARGET STATE SERVER STATE_DETAILS ------------------------------------------------ ora.DATA.dg ASM disk group (new resource) ONLINE ONLINE rat-rm2-ipfix006 ONLINE ONLINE rat-rm2-ipfix007 ONLINE ONLINE rat-rm2-ipfix008 ora.LISTENER.lsnr ONLINE ONLINE rat-rm2-ipfix006 ONLINE ONLINE rat-rm2-ipfix007 ONLINE ONLINE rat-rm2-ipfix008 ora.asm ONLINE ONLINE rat-rm2-ipfix006 Started ONLINE ONLINE rat-rm2-ipfix007 Started ONLINE ONLINE rat-rm2-ipfix008 Started ora.eons new resource ONLINE ONLINE rat-rm2-ipfix006 ONLINE ONLINE rat-rm2-ipfix007 ONLINE ONLINE rat-rm2-ipfix008 ora.gsd 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 67
  • 68. Post Install Steps • One-off patch –unlock the Grid home first • # perl rootcrs.pl -unlock -crshome /u01/app/11.2.0/grid • Download and Install the latest Patch Updates • Back Up the root.sh Script • Install Cluster Health Management • Install OS Watcher and RACDDT • Check the backups of OCR and voting disks • Lock the Grid home after patch installation 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 68
  • 69. Manageability • Grid control • Adding/dropping nodes • Automatically discovers services • Policy-based cluster management • Automated Cluster Patching • End to end management of the cluster 11GR2 Grid Clusterware Presented on 10/21/2010 at DOUG meeting in Dallas, TX 69
  • 70. flexibility Scalability & Flexibility • Sever pools of hardware available • Consolidation of hardware and storage • Rapid provisioning of resources to add capacity where its required • Improved utilization of resources • Better ROI 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 70
  • 71. Summary • 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! 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 71
  • 72. References • 11gR2Oracle® Clusterware Administration and Deployment Guide • Metalink ID 1054902.1 for Network configuration • RAC Assurance Support Team: RAC Starter Kit and Best Practices (Linux) • Metalink NOTE:887522.1 - 11gR2 Grid Infrastructure Single Client Access Name • Metalink NOTE:946452.1 - DNS and DHCP Setup Example for Grid Infrastructure GNS Metalink Pre 11.2 Database Issues in 11gR2 Grid Infrastructure Environment [ID 948456.1] 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 72
  • 73. 11GR2 Grid cluster Q & A Email @ ramkumar.rajagopal@dbarac.com 11GR2 Grid ClusterwarePresented on 10/21/2010 at DOUG meeting in Dallas, TX 73