![Page 1: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/1.jpg)
Oracle 11gR2 New Features for Oracle 11gR2 New Features for RACRAC
What's New in Clusterware!!!What's New in Clusterware!!!OTN TourOTN Tour
(Costa Rica, Ecuador, Columbia, Peru)(Costa Rica, Ecuador, Columbia, Peru)
![Page 2: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/2.jpg)
About me…Independent Oracle Consultant - Summersky Enterprisese-mail: [email protected]
![Page 3: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/3.jpg)
Oracle Clusterware Components
• HAS stack
• CRS stack
• SCAN
• Virtual (IP)
![Page 4: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/4.jpg)
Oracle Clusterware Components
Grid Infrastructure
HAS Stack
CRS Stack
CRS CSS EVM CTSS ONS ASM oraagent orarootagent
GNS mDNS GIPCD GPnPD crflogd
crfmond
New in 11.2.0.2
![Page 5: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/5.jpg)
ClusterWare Files
• Oracle Cluster Registry (OCR)
• Oracle Local Registry (OLR)
• Voting Disk
• GPnP Profile
New in 11.2.0.2
![Page 6: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/6.jpg)
ORADB2ORADB1
Cluster Interconnect
SSKY1SSKY1 SSKY2SSKY2
ORADB4
SSKY4SSKY4
ORADB3
SSKY3SSKY3
Public Network
HAS
CRS
CSS
EVM
VIPVIP VIPVIP VIPVIP VIPVIP
NM
GM
OCR
Network Switch
Interconnect Switch
SAN switch
Oracle Clusterware
© Summersky Enterprises LLC | | Murali Vallath | Slide: 6
CRS
CSS
EVM
HAS
CTSS
GPnP
DISKMON
CRS
CSS
EVM
HAS
CTSS
GPnP
DISKMON
CRS
CSS
EVM
HAS
CTSS
GPnP
DISKMON
OLR OLR OLR OLR
AA_00 AC_02AB_01 AD_03 AE_04 AF_05 AG_06 AH_07
prddb
Vote Disk
OCR
CRFMOND/LOGD
GIPCD
New in 11.2.0.2
![Page 7: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/7.jpg)
GPnPD
• Grid Plug and Play Daemon• Started before CSS• Allows easy addition and deletion of nodes• Dynamic management of VIPs• Maintains essential cluster information in an XML profile:
– Cluster name and unique cluster identifier– Public and private network interface mappings– Location for the OCR and voting disks– Location for the ASM parameter file
• Manages and distributes the profile using the GPnPdaemon
• Defines cluster name, networks and storage
New in 11.2.0.2
© Summersky Enterprises LLC | | Murali Vallath | Slide: 7
![Page 8: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/8.jpg)
GPnP ProfileNew in 11.2.0.2
© Summersky Enterprises LLC | | Murali Vallath | Slide: 8
![Page 9: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/9.jpg)
Cluster Stack Invocation
initO
HA
SD
orar
oota
gent
cssdagent
oraa
gent
ASM
EVMD
MDNSD
GPNPD
CTSSD
CRSD
CSSD Monitor
GNSD
CSSD
SCAN
Listener
DB Instance
eONS
ONS
ASM Instance
VIP
SCAN VIP
GNS VIP
Network
GNSD
© Summersky Enterprises LLC | | Murali Vallath | Slide: 9
![Page 10: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/10.jpg)
Clusterware Log Directories
GRID HOMEGRID HOME loglog<nodename>
e.g.. prddb1
<nodename>
e.g.. prddb1
evmd
agentagent
gpnpd
gnsd
client
gipcd
diskmon
srvm
ohasd
crsd
cssd
admin
ctssd
mdnsd
racgracg
ohas
doh
asd
crsd
crsd
orarootagent_root
oragent_oracle
oracssdmonitor_root
oracssdagent_root
orarootagent_root
oragent_oracle
oracssdmonitor_root
racgmain
racgevtf
racgeut
alert<nodename>.log
crscrs
diagdiag
New in 11.2.0.2
acfssec
acfsreplroot
acfsrepl
crflogd
crfmond
© Summersky Enterprises LLC | | Murali Vallath | Slide: 10
![Page 11: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/11.jpg)
Clusterware Log DirectoriesG
RID
HO
ME
GR
ID H
OM
E
loglog diag
diag
tnsl
snr
tnsl
snr
clie
nts
clie
nts
<nod
e><n
ode>
user
_roo
tus
er_r
oot
listener_scan3
listener_scan2
listener_scan1
host
_<nn
nnn>
host
_<nn
nnn>
adrci_dir.mif
crs
crs
node
node
sweep
stage
metadata
lck
incpkg
incident
cdump
alert
trace
stage
metadata
lck
incpkg
incident
cdump
alert
trace
sweep
© Summersky Enterprises LLC | | Murali Vallath | Slide: 11
![Page 12: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/12.jpg)
VIP’s
• Database VIP (also called RAC VIP)
• Application VIP
• HAIP (IC VIP)
© Summersky Enterprises LLC | 11gR2 RAC | Murali Vallath | Slide: 12
New in 11.2.0.2
![Page 13: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/13.jpg)
Cluster Interconnect
• Oracle uses the interconnect for cache synchronization
• Interconnect is also used for– Data blocks– Locks– SCN numbers– Messages
© Summersky Enterprises LLC | 11gR2 RAC | Murali Vallath | Slide: 13
New in 11.2.0.2
![Page 14: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/14.jpg)
Redundant Interconnects
• CLUSTER_INTERCONNECT
• NIC Bonding
• HAIP
© Summersky Enterprises LLC | 11gR2 RAC | Murali Vallath | Slide: 14
New in 11.2.0.2
![Page 15: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/15.jpg)
Verify Deamons$GRID_HOME/bin/crsctl stat res -t -init
-----------------------------------------------------------------------------NAME TARGET STATE SERVER STATE_DETAILS ---------------------------------------------------------------------------ora.asm 1 ONLINE ONLINE devsrv1 Startedora.cluster_interconnect.haip 1 ONLINE ONLINE devsrv1ora.crf 1 ONLINE ONLINE devsrv1ora.crsd 1 ONLINE ONLINE devsrv1ora.cssd 1 ONLINE ONLINE devsrv1ora.cssdmonitor 1 ONLINE ONLINE devsrv1ora.ctssd 1 ONLINE ONLINE devsrv1 OBSERVER
© Summersky Enterprises LLC | | Murali Vallath | Slide: 15
![Page 16: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/16.jpg)
RAC Background Process• ACMS – Atomic Controlfile to Memory Service
• GTX0-j – Global Transaction Process
• RMSn – Oracle RAC Management Processes (RMSn)
• RMSN – Remote Slave Monitor
• LMS – Global Cache Service Processes
• LMON – Global Enqueue Service Monitor
• LMD – Global Enqueue Service Daemon
• LCK – Lock Process
• DBRM – Database Resource Manager
• PING – Response time agent
© Summersky Enterprises LLC | Oracle Real Application Cluster | Murali Vallath | Slide: 16
New in 11.2.0.2
![Page 17: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/17.jpg)
SCAN
• SCAN –Single Client Access Number• Similar to a cluster alias available on Tru64 and VMS
clusters• Helps load balance across the database cluster• Clients do not require VIP information• Removes the requirement to change the client connection
if cluster changes • Must resolve to atleast one address on the public network• Best practice .. resolve to 3 addresses for the entire cluster
![Page 18: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/18.jpg)
SCAN
• Allows clients to use EZConnect or simple JDBC connections
• Each cluster will have 3 SCAN listeners, each having a SCAN VIP defined as cluster resources on network 1
• A SCAN VIP/LISTENER will failover to another node in the cluster
• Instance registers with local listener on its node• Database “REMOTE_LISTENER” registers
instances with all SCAN listeners
![Page 19: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/19.jpg)
Advanced Installation
![Page 20: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/20.jpg)
SCAN/GNS Configuration
GNS configuration
SCAN configuration
![Page 21: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/21.jpg)
Server Pools
Node 5 Node 6 Node 7 Node 8 Node 9 Node 10
oltp5 oltp6 oltp7 dwh8 dwh9 dwh10
Node 1 Node 2 Node 3 Node 4
ssky1 ssky2 ssky3 ssky4
sskypool2Min=3Max=3
sskypool3Min=3Max=3
sskypool1Min=2Max=4
![Page 22: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/22.jpg)
Server Pools
• Logical division of the cluster into pools of servers • Applications (e.g. databases) can be configured to
run in one or more server pools• Managed by crsctl (applications), srvctl
(Oracle) • Defined by 3 attributes:
– MIN - minimum number of servers (default 0)– MAX – maximum number of servers (default 0 or -1) – IMPORTANCE – 0 (least important) to 1000
![Page 23: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/23.jpg)
Server Pools
• One-to-one mapping between a database service and server pool
• A database service can only be defined to operate in one pool – UNIFORM – all servers in the pool– SINGLETON – one server in the pool
• Resources are contained in logical groups of server pools
![Page 24: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/24.jpg)
Types of Server Pools
• System defined– Free– Generic
• User defined
![Page 25: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/25.jpg)
Server Pools
![Page 26: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/26.jpg)
Server Pools
![Page 27: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/27.jpg)
Server Pools
Node 5 Node 6 Node 7 Node 8 Node 9 Node 10
oltp5 oltp6 oltp7 dwh8 dwh9 dwh10
Node 1 Node 2 Node 3 Node 4
ssky1 ssky2 ssky3 ssky4
sskypool2Min=3Max=3
sskypool3Min=3Max=3
sskypool1Min=2Max=4
Node 4
oltp5
![Page 28: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/28.jpg)
Server Pools
Node 5 Node 6 Node 7 Node 8 Node 9 Node 10
oltp5 oltp6 oltp7 dwh8 dwh9 dwh10
Node 1 Node 2 Node 3 Node 4
ssky1 ssky2 ssky3 ssky4
sskypool2Min=3Max=3Importance = 20
sskypool3Min=3Max=3Importance = 30
sskypool1Min=3Max=4Importance = 10
Node 4
oltp5
Node 8
dwh8
![Page 29: Oracle 11gR2 New Features for RAC - PEOUG · Oracle 11gR2 New Features for RAC What's New in Clusterware!!! OTN Tour (Costa Rica, Ecuador, Columbia, Peru) About me… Independent](https://reader030.vdocuments.net/reader030/viewer/2022040202/5e69929f28585d0be8397bdd/html5/thumbnails/29.jpg)
Q U E S T I O N SQ U E S T I O N SA N S W E R SA N S W E R S
Complete your evaluations