Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1/20/2012
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features
or functionality described for Oracles products remains at the sole discretion of Oracle.
Agenda
The Oracle RAC Architecture
VIPs and Networks
Listeners and SCAN
and Services
Client Connectivity
Node Membership
The Interconnect
Installation and Upgrade
Copyright 2011, Oracle and/or its affiliates. All rights reserved.
1/20/2012
Public Lan
Node 1
Node 2
Node N-1
Node N
Interconnect
with switch
SAN switch
Shared Storage
OS
OS
OS
Shared Storage
1/20/2012
OS
OS
OS
Oracle RAC
ASM Instance
OS
HA Framework
Node
Membership
OS
Control Files
etc.
1/20/2012
ASM Instance
OS
HA Framework
Node
Membership
My Oracle Support (MOS)
OS
Note 1053147.1 - 11gR2 Clusterware
and Grid Home - What You Need to Know
Note 1050908.1 - How to Troubleshoot
Grid Infrastructure Startup Issues
9
LISTENER_SCAN2
LISTENER_SCAN3
ora.oc4j
If database is deployed:
ora.SCAN1.VIP
ora.SCAN2.VIP
ora.SCAN3.VIP
ora.cvu
ora.Dbname.db
ora.node1.vip
ora.node2.vip
ora.node3.vip
ora.node4.vip
ora.asm
ora.asm
ora.asm
ora.asm
ora.dgname.dg
ora.dgname.dg
ora.dgname.dg
ora.dgname.dg
ora.listener.lsnr
ora.listener.lsnr
ora.listener.lsnr
ora.listener.lsnr
ora.ons
ora.ons
ora.ons
ora.ons
ora.gsd
ora.gsd
ora.gsd
ora.gsd
ora.net1.network
ora.net1.network
ora.net1.network
ora.net1.network
ora.registry.acfs
ora.registry.acfs
ora.registry.acfs
ora.registry.acfs
ora.Dbname.Srvcname.svc
Command to list:
crsctl stat res -t
10
OS
OS
OS
1/20/2012
11
rac2
LISTENER_SCAN1
LISTENER_SCAN2
ora.SCAN1.VIP
ora.SCAN2.VIP
ora.rac1.vip
ora.rac2.vip
ora.listener.lsnr
ora.listener.lsnr
ora.net1.network
ora.net1.network
OS
12
1/20/2012
1
2
3
CHECK_TIMEOUT=30
...
ora.rac1.vip
START_DEPENDENCIES=hard(ora.net1.network)
pullup(ora.net1.network)
ora.listener.lsnr
...
STOP_DEPENDENCIES=hard(ora.net1.network)
...
ora.net1.network
USR_ORA_VIP=rac1-vip
VERSION=11.2.0.2.0
Oracle Grid
rac2
ora.rac2.vip
ora.listener.lsnr
ora.net1.network
Infrastructure
OS
13
OS
rac2
Network exists:
1/192.168.0.0/255.255.255.0/eth0, type static
ora.rac1.vip
ora.rac2.vip
ora.listener.lsnr
ora.listener.lsnr
ora.net1.network
ora.net1.network
New in 11.2.0.2:
Direct management of the network resource
srvctl verb network
Network type support (static, dhcp, mixed)
14
rac1
OS
1/20/2012
network number
(default number is 1)
-S <subnet>/<netmask>/[if1[|if2...]]
NET address spec for network
-w <network_type>
-h
Print usage
-v
Verbose output
ora.net1.network
ora.net1.network
ora.net2.network
ora.net2.network
For example:
OS
15
OS
Node name
-A <vip_name|ip>/<netmask>/[if1[|if2...]]
VIP address spec for node applications
-k <net_num>
-h
-v
network number
(default number is 1)
ora.rac2.vip
ora.rac2-vip2.vip
Print usage
ora.net1.network
ora.net1.network
Verbose output
ora.net2.network
ora.net2.network
For example:
srvctl add vip -n rac1 -k 2 -A rac1-vip2/255.255.255.0
srvctl add vip -n rac2 -k 2 -A rac2-vip2/255.255.255.0
16
ora.rac1.vip
ora.rac1-vip2.vip
OS
1/20/2012
...
START_DEPENDENCIES=hard(ora.net2.network)
pullup(ora.net2.network)
...
STOP_DEPENDENCIES=hard(ora.net2.network)
...
ora.rac1.vip
ora.rac1-vip2.vip
ora.net1.network
ora.net1.network
ora.net2.network
ora.net2.network
USR_ORA_VIP=rac1-vip2
OS
VERSION=11.2.0.2.0
17
ora.rac2.vip
ora.rac2-vip2.vip
OS
ora.rac1.vip
ora.rac1-vip2.vip
myVIP
ora.rac2.vip
ora.rac2-vip2.vip
myNewVIP
ora.net1.network
ora.net1.network
ora.net2.network
ora.net2.network
18
OS
1/20/2012
ora.rac1.vip
ora.rac1-vip2.vip
myVIP
RESTART_ATTEMPTS=0
ora.rac2.vip
ora.rac2-vip2.vip
myNewVIP
...
USR_ORA_VIP=192.168.0.66
ora.net1.network
ora.net1.network
ora.net2.network
ora.net2.network
VERSION=11.2.0.2.0
19
OS
OS
20
10
1/20/2012
Listeners
Listeners and dependencies
In Oracle RAC 11g Release 2 there have been
three major changes regarding listeners:
1.
2.
3.
rac2
LISTENER_SCAN2
ora.SCAN1.VIP
ora.SCAN2.VIP
ora.rac1.vip
ora.rac2.vip
ora.listener.lsnr
ora.listener.lsnr
ora.net1.network
ora.net1.network
21
rac1
LISTENER_SCAN1
OS
Listeners
The default LISTENER
[GRID]> srvctl config listener
Name: LISTENER
Network: 1, Owner: oracle Grid Software Owner
Home: <CRS home>
rac1
rac2
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
22
OS
11
1/20/2012
Listeners
The default LISTENER FAQ
Can you define another port? - YES
rac1
rac2
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
23
OS
rac1
rac2
LISTENER_RAC1=(DESCRIPTION=(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip)
(PORT=1521))(ADDRESS=(PROTOCOL=TCP)
(HOST=192.168.0.51)(PORT=1521)(IP=FIRST))))
# line added by Agent
24
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
OS
12
1/20/2012
rac1
rac2
LISTENER_RAC1=(DESCRIPTION=(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip)
(PORT=1545))(ADDRESS=(PROTOCOL=TCP)
(HOST=192.168.0.51)(PORT=1545)(IP=FIRST))))
# line added by Agent
25
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
OS
[GRID]>
rac1
rac2
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
26
OS
13
1/20/2012
rac1
rac2
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
27
OS
OS
Listeners
Can I add another listener on another port? - YES
[GRID]> srvctl config listener
Name: LISTENER
Network: 1, Owner: oracle
Home: <CRS home>
rac1
rac2
Name: LISTENER2011
Network: 1, Owner: oracle
Home: <CRS home>
End points: TCP:2011
28
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.LISTENERK2.lsnr
ora.LISTENERK2.lsnr
ora.net1.network
ora.net1.network
OS
14
1/20/2012
Listeners
Can I add another listener on another network? - YES
[GRID]> srvctl add listener -l ListenerK2 -p 1544 -k 2
[GRID]> srvctl config listener
Name: LISTENER
Network: 1, Owner: oracle
rac1
Name: LISTENERK2
ora.LISTENER.lsnr
ora.LISTENER.lsnr
Ora.LISTENERK2.lsnr
ora.LISTENERK2.lsnr
ora.net1.network
ora.net1.network
ora.net2.network
ora.net2.network
rac2
OS
Listeners
Remember its just another listener
1
rac2
LISTENER_SCAN1
LISTENER_SCAN2
...
ora.SCAN1.VIP
ora.SCAN2.VIP
ora.rac1.vip
ora.rac2.vip
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
[GRID]> vi /u01/app/11.2.0/grid/network/admin/listener.ora
JUSTALISTENER=(DESCRIPTION=(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=IPC)(KEY=JUSTALISTENER))))
# line added by Agent
[GRID]> vi /u01/app/11.2.0/grid/network/admin/endpoints_listener.ora
JUSTALISTENER_RAC1=(DESCRIPTION=(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip)(PORT=1522))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.51)(PORT=1522)(IP=FIRST))))
30
rac1
OS
15
1/20/2012
Listeners
Remember its just another listener
2
[GRID]> vi /u01/app/11.2.0/grid/network/admin/listener.ora
JUSTALISTENER=(DESCRIPTION=(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=IPC)(RATE_LIMIT=10) For demonstration purposes only
(KEY=JUSTALISTENER)))) # line added by Agent
...
rac1
LISTENER_SCAN2
ora.SCAN1.VIP
ora.SCAN2.VIP
ora.rac1.vip
ora.rac2.vip
...
ora.LISTENER.lsnr
ora.LISTENER.lsnr
[GRID]> vi /u01/app/11.2.0/grid/network/admin/listener.ora
ora.net1.network
ora.net1.network
JUSTALISTENER=(DESCRIPTION=(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=IPC)(RATE_LIMIT=10)
(KEY=JUSTALISTENER)))) # line added by Agent
31
rac2
LISTENER_SCAN1
OS
SCAN
The basics and overview
In Oracle RAC 11g Release 2
SCAN Listeners were introduced
SCAN
http://www.oracle.com/technetwork/database/
clustering/overview/scan-129069.pdf
MOS Note 887522.1
11gR2 Grid Infrastructure Single Client
Access Name (SCAN) Explained
32
1.
SCAN IP
2.
rac2
rac1
rac3
LISTENER_SCAN1
LISTENER_SCAN2
LISTENER_SCAN3
ora.SCAN1.VIP
ora.SCAN2.VIP
ora.SCAN3.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
ora.net1.network
OS
OS
16
1/20/2012
SCAN
The SCAN bundle
1 3 SCANs are the default for HA and LB
SCAN
33
rac2
rac1
rac3
LISTENER_SCAN1
LISTENER_SCAN2
LISTENER_SCAN3
ora.SCAN1.VIP
ora.SCAN2.VIP
ora.SCAN3.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
ora.net1.network
OS
OS
SCAN
The SCAN bundle
2
rac2
LISTENER_SCAN1
ora.SCAN1.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
-h
Print usage
http://www.oracle.com/technetwork/database/
clustering/overview/scan-129069.pdf page 2
34
SCAN
OS
17
1/20/2012
SCAN
The SCAN bundle
3
-k <net_num>
SCAN
rac1
rac2
LISTENER_SCAN1
-S <subnet>/<netmask>/[if1[|if2...]]
NET address spec for network
ora.SCAN1.VIP
-h
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
Print usage
35
OS
SCAN
The SCAN FAQ
1 From MOS Note 220970.1
SCAN
rac1
rac2
LISTENER_SCAN1
ora.SCAN1.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
OS
18
1/20/2012
SCAN
The SCAN FAQ
2 Can you define another port? - YES
See MOS Note 220970.1
RAC: Frequently Asked Questions
37
SCAN
rac1
rac2
LISTENER_SCAN1
ora.SCAN1.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
ora.net1.network
ora.net1.network
OS
38
SCAN
rac1
rac2
DB Instance
DB Instance
LISTENER_SCAN1
ora.SCAN1.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
OS
19
1/20/2012
SCAN
rac1
rac2
DB Instance
DB Instance
LISTENER_SCAN1
ora.SCAN1.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
Name: LISTENER2011
OS
OS
SCAN
rac1
rac2
DB Instance
DB Instance
LISTENER_SCAN1
ora.SCAN1.VIP
OS
40
OS
20
1/20/2012
SCAN
rac1
rac2
41
DB Instance
DB Instance
LISTENER_SCAN1
ora.SCAN1.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
OS
rac1
rac2
DB Instance
DB Instance
LISTENER_SCAN1
ora.SCAN1.VIP
ora.LISTENER.lsnr
ora.LISTENER.lsnr
Ora.LISTENERK2.lsnr
ora.LISTENERK2.lsnr
ora.net1.network
ora.net1.network
ora.net2.network
ora.net2.network
OS
21
1/20/2012
43
SCAN
rac1
44
rac2
DB Instance
DB Instance
ora.Dbname.db
ora.Dbname.db
ora.Dbname.Srvcname.svc
ora.Dbname.Srvcname.svc
ora.LISTENER.lsnr
ora.LISTENER.lsnr
OS
22
1/20/2012
SCAN
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
...
Preferred instances: ORCL_1
Available instances:
rac2
DB Instance
DB Instance
ora.ORCL.db
ora.ORCL.db
ora.ORCL.MyService.svc
ora.Dbname.Srvcname.svc
ora.LISTENER.lsnr
ora.LISTENER.lsnr
45
OS
SCAN
rac1
rac2
DB Instance
DB Instance
ora.ORCL.db
ora.Dbname.db
ora.ORCL.MyService.svc
ora.Dbname.Srvcname.svc
ora.LISTENER.lsnr
ora.LISTENER.lsnr
OS
...
46
23
1/20/2012
Client Connectivity
47
Client Connectivity
Direct or indirect connect
Connect Time Load Balancing (CTLB)
Connect Time Connection Failover (CTCF)
Runtime Connection Load Balancing (RTLB)
Runtime Connection Failover (RTCF)
BATCH
Production
SCAN
48
Connection
Pool
24
1/20/2012
Client Connectivity
Connect Time Connection Failover
jdbc:oracle:thin:@MySCAN:1521/Email
PMRAC =
(DESCRIPTION =
(FAILOVER=ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = MySCAN)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Email)))
49
MySCAN
BATCH
Production
Connection
Pool
Client Connectivity
Runtime Time Connection Failover
PMRAC =
(DESCRIPTION =
(FAILOVER=ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = MySCAN)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Email)
...))
50
MySCAN
BATCH
Production
Connection
Pool
25
1/20/2012
Client Connectivity
Runtime Time Connection Failover
PMRAC =
(DESCRIPTION =
(FAILOVER=ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = MySCAN)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Email)
(FAILOVER_MODE= (TYPE=select)(METHOD=basic)(RETRIES=180)(DELAY=5))))
BATCH
Production
51
MySCAN
Connection
Pool
Client Connectivity
More information
If problems occur, see:
Note 975457.1 How to Troubleshoot Connectivity Issues with 11gR2 SCAN Name
For more advanced configurations, see:
Note 1306927.1 Using the TNS_ADMIN variable and changing the default port
number of all Listeners in an 11.2 RAC for an 11.2, 11.1, and 10.2 Database
52
??
?
MySCAN
BATCH
Production
Connection
Pool
26
1/20/2012
Client Connectivity
Two ways to protect the client
1.
2.
53
MySCAN
BATCH
Production
Connection
Pool
...
BATCH
Production
MySCAN
54
27
1/20/2012
Client Connectivity
Use a FAN aware connection pool
1
BATCH
Production
Connection Pool
MySCAN
55
Client Connectivity
Use a FAN aware connection pool
2
Connection Pool
MySCAN
56
28
1/20/2012
Client Connectivity
The Load Balancing (LB) cases
Connect Time Load Balancing (CTLB)
Runtime Connection Load Balancing (RTLB)
On the Client Side
On the Server Side
Email
57
MySCAN
BATCH
Production
Connection
Pool
Client Connectivity
Connect Time Load Balancing (CTLB) on the client side
PMRAC =
(DESCRIPTION =
(FAILOVER=ON)(LOAD_BALANCE=ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = MySCAN)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Email)))
58
MySCAN
BATCH
Production
Connection
Pool
29
1/20/2012
Client Connectivity
Connect Time Load Balancing (CTLB) on the server side
Traditionally, PMON dynamically registers the services to the specified listeners with:
Service names for each running instance of the database and instance names for the DB
The listener is updated with the load information for every instance and node as follows:
1-Minute OS Node Load Average all 30 secs.
Number of Connections to Each Instance
MySCAN
Connection
Pool
?
59
Client Connectivity
Use FAN for the Load Balancing cases
Connect Time Load Balancing (CTLB)
Connect Time Connection Failover (CTCF)
Runtime Connection Load Balancing (RTLB)
Runtime Connection Failover (RTCF)
30% connections
RAC
Database
Im busy
Instance1
10% connections
Im very busy
Im idle
60% connections
60
Instance2
Instance3
30
1/20/2012
Client Connectivity
Use FAN for the Load Balancing cases
Connect Time Load Balancing (CTLB)
Runtime Connection Load Balancing (RTLB)
Also via AQ (Advanced Queuing) based notifications
Background is always the Load Balancing Advisory
RAC
Database
30% connections
Im busy
Instance1
MySCAN
10% connections
Im very busy
Im idle
Instance2
60% connections
Instance3
Node Membership
62
31
1/20/2012
Public Lan
Private Lan /
Interconnect
Oracle Clusterware
CSSDMONITOR
was: oprocd
now: ora.cssdmonitor
CSSD
CSSD
SAN
Network
63
CSSD
Voting
Disk
SAN
Network
Oracle Clusterware
CSSD
Ping
CSSD
Ping
64
32
1/20/2012
Ping
CSSD-log:
[date / time] [CSSD][1111902528]
clssnmPollingThread: node mynodename
(5) at 75% heartbeat fatal, removal
in 6.770 seconds
65
CSSD
CSSD
CSSD-log:
[CSSD] [1115699552] >TRACE:
clssnmReadDskHeartbeat:
node(2) is down. rcfg(1) wrtcnt(1)
LATS(63436584) Disk lastSeqNo(1)
CSSD
CSSD
Ping
66
33
1/20/2012
E.g. Voting Disk serial number: [GRID]> crsctl query css votedisk
1.
Node information
CSSD
Ping
68
34
1/20/2012
http://www.oracle.com/goto/rac
Using standard NFS to support
CSSD
geographically dispersed
69
2.
3.
70
35
1/20/2012
71
72
36
1/20/2012
Fencing Basics
Why are nodes evicted?
Evicting (fencing) nodes is a preventive measure (its a good thing)!
Nodes are evicted to prevent consequences of a split brain:
The easiest way to prevent this is to forcibly remove a node from the cluster
CSSD
73
CSSD
Fencing Basics
How are nodes evicted? STONITH
CSSD
74
CSSD
37
1/20/2012
Fencing Basics
EXAMPLE: Network heartbeat failure
CSSD
CSSD
2
75
Fencing Basics
What happens, if CSSD is stuck?
CSSD
2
CSSDmonitor
CSSD
CSSD
76
38
1/20/2012
Fencing Basics
How can nodes be evicted?
Oracle Clusterware 11.2.0.1 and later supports IPMI (optional)
Intelligent Platform Management Interface (IPMI) drivers required
IPMI allows remote-shutdown of nodes using additional hardware
A Baseboard Management Controller (BMC) per cluster node is required
CSSD
77
CSSD
Fencing Basics
EXAMPLE: IPMI based eviction on heartbeat failure
The network heartbeat between the nodes has failed
It is determined which nodes can still talk to each other
IPMI is used to remotely shutdown the node to be evicted
CSSD
78
39
1/20/2012
Fencing Basics
Which node gets evicted?
Voting Disks and heartbeat communication is used to determine the node
In a 2 node cluster, the node with the lowest node number should survive
In a n-node cluster, the biggest sub-cluster should survive (votes based)
CSSD
79
CSSD
Fencing Basics
Cluster members can escalate a kill request
Cluster members (e.g Oracle RAC instances) can request
Oracle RAC
DB Inst. 1
Oracle RAC
DB Inst. 2
Oracle Clusterware
Inst. 1:
kill inst. 2
80
40
1/20/2012
Fencing Basics
Cluster members can escalate a kill request
Oracle Clusterware will then attempt to kill the requested member
If the requested member kill is unsuccessful, a node eviction escalation can be issued,
which leads to the eviction of the node, on which the particular member currently resides
Oracle RAC
DB Inst. 1
Oracle RAC
DB Inst. 2
Oracle Clusterware
Inst. 1:
kill inst. 2
81
Fencing Basics
Cluster members can escalate a kill request
Oracle Clusterware will then attempt to kill the requested member
If the requested member kill is unsuccessful, a node eviction escalation can be issued,
which leads to the eviction of the node, on which the particular member currently resides
Oracle RAC
DB Inst. 1
Oracle RAC
DB Inst. 2
Oracle Clusterware
Inst. 1:
kill inst. 2
82
41
1/20/2012
Fencing Basics
Cluster members can escalate a kill request
Oracle Clusterware will then attempt to kill the requested member
If the requested member kill is unsuccessful, a node eviction escalation can be issued,
which leads to the eviction of the node, on which the particular member currently resides
Oracle RAC
DB Inst. 1
Oracle Clusterware
83
Re-boots affect applications that might run an a node, but are not protected
Customer requirement: prevent a reboot, just stop the cluster implemented...
App X
RAC DB
Inst. 1
CSSD
84
App Y
RAC DB
Inst. 2
Oracle Clusterware
CSSD
42
1/20/2012
Instead of fast re-booting the node, a graceful shutdown of the stack is attempted
It starts with a failure e.g. network heartbeat or interconnect failure
App X
RAC DB
Inst. 2
RAC DB
Inst. 1
CSSD
85
App Y
Oracle Clusterware
CSSD
Instead of fast re-booting the node, a graceful shutdown of the stack is attempted
Then IO issuing processes are killed; it is made sure that no IO process remains
For a RAC DB mainly the log writer and the database writer are of concern
App X
App Y
RAC DB
Inst. 1
CSSD
86
Oracle Clusterware
CSSD
43
1/20/2012
Instead of fast re-booting the node, a graceful shutdown of the stack is attempted
Once all IO issuing processes are killed, remaining processes are stopped
IF the check for a successful kill of the IO processes, fails reboot
App X
App Y
RAC DB
Inst. 1
CSSD
87
Oracle Clusterware
CSSD
Instead of fast re-booting the node, a graceful shutdown of the stack is attempted
Once all remaining processes are stopped, the stack stops itself with a restart flag
App X
App Y
RAC DB
Inst. 1
Oracle
Clusterware
CSSD
88
OHASD
44
1/20/2012
Instead of fast re-booting the node, a graceful shutdown of the stack is attempted
OHASD will finally attempt to restart the stack after the graceful shutdown
App X
App Y
RAC DB
Inst. 1
OHASD
Oracle
Clusterware
CSSD
89
CSSD
90
App Y
RAC DB
Inst. 2
Oracle Clusterware
CSSD
45
1/20/2012
The Interconnect
91
The Interconnect
Heartbeat and memory channel between instances
Network
Public Lan
Node 1
Node 2
Node N-1
Node N
Client
Interconnect
with switch
SAN switch
92
46
1/20/2012
The Interconnect
Redundant Interconnect Usage
1 Redundant Interconnect Usage can be used as a bonding alternative
It works for private networks only; the nodeVIPs use a different approach
It enables HA and Load Balancing for up to 4 NICs per server (on Linux / Unix)
It can be used by Oracle Databases 11.2.0.2 and Oracle Clusterware 11.2.0.2
It uses so called HAIPs that are assigned to the private networks on the server
The HAIPs will be used by the database and ASM instances and processes
Node 1
93
Node 2
HAIP1
HAIP3
HAIP2
HAIP4
The Interconnect
Redundant Interconnect Usage
2 A multiple listening endpoint approach is used
The HAIPs are taken from the link-local (Linux / Unix) IP range (169.254.0.0)
To find the communication partners, multicasting on the interconnect is required
With 11.2.0.3 Broadcast is a fallback alternative (BUG 10411721)
Multicasting is still required on the public lan for MDNS for example.
Details in My Oracle Support (MOS) Note with Doc ID 1212703.1:
11.2.0.2 Grid Infrastructure Install or Upgrade may fail due to Multicasting
Node 1
94
Node 2
HAIP1
HAIP3
HAIP2
HAIP4
47
1/20/2012
The Interconnect
Redundant Interconnect Usage and the HAIPs
If a network interface fails, the assigned HAIP is failed over to a remaining one.
Redundant Interconnect Usage allows having networks in different subnet
You can either have one subnet for all networks or a different one for each
You can also use VLANs with the interconnect. For more information see:
Note 220970.1 - RAC: Frequently Asked Questions - How to use VLANs in Oracle RAC? AND
Are there any issues for the interconnect when sharing the same switch as the public network by using VLAN to separate the network?
Node 1
HAIP1
95
Node 2
HAIP1
HAIP3
HAIP2
HAIP4
HAIP3
96
48
1/20/2012
Installation
Patch Sets are also more than BUG fixe with 11.2.0.x
Upgrade + New Features
Upgrade + Full Installation
And (always) Out-of-place
Patch uses new Oracle Home
97
Installation
Installation is meant to be simpler with 11g Release 2
Oracle Universal Installer (OUI)
is the main installation instrument.
Installation tips and tricks in:
MOS note 810394.1 (generic)
See:
RAC Platform Specific Starter Kits and Best Practices
See also:
RAC Platform Generic Load Testing and System Test Plan Outline
98
49
1/20/2012
99
10
0
50