Ora Net 0c
Ora Net 0c
2. A single network bandwidth cannot satisfy RAC Bandwidth requirements for databases , Increase
bandwidth .
CLUSTER_INTERCONNECTS Store the information in the cluster registry , Specifically cover the
following :
1. Stored in OCR Pass through oifcfg View the classification of network commands .
2.Oracle Default internal connection selected .
The default value of this parameter is empty , It can contain one or more IP Address , Separate... With
a colon .
CLUSTER_INTERCONNECTS It's a static parameter , In the revision
CLUSTER_INTERCONNECTS when , Each instance must be modified :
alter system set cluster_interconnects = '192.168.100.2' scope=spfile sid = 'rac1';
alter system set cluster_interconnects = '192.168.100.3' scope=spfile sid = 'rac2';
After
host1$ oifcfg getif
ce4 10.0.102.0 global public
The cluster_interconnects initialization parameter must be manually overrode its the default value
from the OCR.
Before
SQL> select * from gv$cluster_interconnects;
INST_ID NAME IP_ADDRESS IS_ SOURCE
---------- --------------- ---------------- --- -------------------------------
1 ce0 192.168.1.50 NO Oracle Cluster Repository
2 ce0 192.168.1.51 NO Oracle Cluster Repository
Update the initialization parameters in both ASM and RAC database.
alter system set cluster_interconnects = '192.168.1.50' scope=spfile sid='RAC1' ;
alter system set cluster_interconnects = '192.168.1.51' scope=spfile sid='RAC2' ;
After
SQL> select * from gv$cluster_interconnects;
INST_ID NAME IP_ADDRESS IS_ SOURCE
---------- --------------- ---------------- --- -------------------------------
1 ce0 192.168.1.50 NO cluster_interconnects parameter <== Source is changed
2 ce0 192.168.1.51 NO cluster_interconnects parameter <== Source is changed
Answer
——
This parameter is used to influence the selection of the network interface
for Global Cache Service (GCS) and Global Enqueue Service (GES) processing.
This note does not compare the other elements of 8i OPS with 9i RAC
because of substantial differences in the behaviour of both architectures.
Oracle 9i RAC has certain optimizations which attempt to transfer most of
the information required via the interconnects so that the number of disk
reads are minimized. This behaviour known as Cache fusion phase 2 is summarised
in Note 139436.1
The definition of the interconnnect is a private network which
will be used to transfer the cluster traffic and Oracle Resource directory
information and blocks to satisfy queries. The technical term for that is
cache fusion.
The following Matrix shows when the parameter was introduced on which platform.:
Operating System Available since
AIX 9.2.0
HP/UX 9.0.1
HP Tru64 9.0.1
HP OPenVMS 9.0.1
Sun Solaris 9.0.1
References
———-
Bug <2119403> ORACLE9I RAC ADMINISTRATION SAYS CLUSTER_INTERCONNECTS IS
SOLARIS ONLY.
Bug <2359300> ENHANCE CLUSTER_INTERCONNECTS TO WORK WITH 9I RAC ON IBM
Also port specific documentation may contain information about the usage of
the cluster_interconnects parameter.
The corresponding trace can be found in the user_dump_dest directory and for
example contains the following information in the last couple of lines:
When other protocols such as LLT, HMP or RDG are used, then the trace file will not
reveal an IP address.
6. Cluster_Interconnects is mentioned in the 9i RAC administration
guide as a Solaris specific parameter, is this the only platform
where this parameter is available ?
Answer
—–
This information that this parameter works on Solaris only is incorrect. Please
check the answer for question number 2 for the complete list of platforms for the same.
References:
———–
bug <2119403> ORACLE9I RAC ADMINISTRATION SAYS CLUSTER_INTERCONNECTS IS
SOLARIS ONLY.
7. Are there any side effects for this parameter, namely affecting normal
operations ?
Answer
—–
When you set CLUSTER_INTERCONNECTS in cluster configurations, the
interconnect high availability features are not available. In other words,
an interconnect failure that is normally unnoticeable would instead cause
an Oracle cluster failure as Oracle still attempts to access the network
interface which has gone down. Using this parameter you are explicitly
specifying the interface or list of interfaces to be used.
Answer
——
Yes, the parameter OPS_INTERCONNECTS was used to influence the network selection
for the Oracle 8i Parallel Server.
Reference
———
Note <120650.1> Init.ora Parameter “OPS_INTERCONNECTS” Reference Note
9. Does Cluster_interconnect allow failover from one Interconnect to another
Interconnect ?
Answer
——
Failover capability is not implemented at the Oracle level. In general this
functionality is delivered by hardware and/or Software of the operating system.
For platform. details please see Oracle platform. specific documentation
and the operating system documentation.
10. Is the size of messages limited on the Interconnect ?
Answer
——
The message size depends on the protocoll and platform.
UDP: In Oracle9i Release 2 (9.2.0.1) message size for UDP was limited to 32K.
Oracle9i 9.2.0.2 allows to use bigger UDP message sizes depending on the
platform. To increase throughput on an interconnect you have to adjust
udp kernel parameters.
TCP: There is no need to set the message size for TCP.
RDG: The recommendations for RDG are documented in
Oracle9i Administrator’s Reference – Part No. A97297-01
References
———-
Bug <2475236> RAC multiblock read performance issue using UDP IPC
11. How can you see which protocoll is being used by the instances ?
Answer
——
Please see the alert-file(s) of your RAC instances. During startup you’ll
find a message in the alert-file that shows the protocoll being used.
Answer
——
No. Cluster_interconnects is a static parameter and can only be set in the
spfile or pfile (init.ora)
stay Oracle RAC Environment ,RAC Example of Cache Fusion It's usually used Clusterware Private
heartbeat network , especially 11.2.0.2 After the version , multi-purpose HAIP technology , While
improving the bandwidth of this technology ( most 4 A heartbeat network ), It also ensures the
fault tolerance of heartbeat network , for example :RAC Node server 4 A heartbeat network , It's bad
at the same time 3 None of them will cause Oracle RAC and Clusterware Downtime .
But when a set of RAC When multiple databases are deployed in the environment , Between
different database instances Cache Fusion Activities will influence each other , Maybe some libraries
require more bandwidth , Some libraries require less bandwidth , To avoid the same set of RAC The
heartbeat of multiple databases in the environment affects each other ,Oracle At the database level, it
provides cluster_interconnects Parameters , This parameter is used to override the default heartbeat
network , Use the specified network for the database instance Cache Fusion Activities , But this
parameter is not fault tolerant , Now let's illustrate it through experiments :
Oracle RAC Environmental Science :12.1.0.2.0 standard Cluster for Oracle Linux 5.9 x64.
> node 1:
[root@rhel1 ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:56:A8:16:15 <<<< eth0 Manage the
network .
inet addr:172.168.4.20 Bcast:172.168.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13701 errors:0 dropped:522 overruns:0 frame:0
TX packets:3852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1122408 (1.0 MiB) TX bytes:468021 (457.0 KiB)
eth3 Link encap:Ethernet HWaddr 00:50:56:A8:F7:F7 <<<< eth3 Heartbeat Network , Belong
to Clusterware HAIP One of them .
inet addr:10.0.2.20 Bcast:10.0.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:347096 errors:0 dropped:500 overruns:0 frame:0
TX packets:306170 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:210885992 (201.1 MiB) TX bytes:173504069 (165.4 MiB)
node 2:
[root@rhel2 ~]# ifconfig -a <<<< Network configuration and nodes 1 Agreement .
eth0 Link encap:Ethernet HWaddr 00:50:56:A8:C2:66
inet addr:172.168.4.21 Bcast:172.168.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19156 errors:0 dropped:530 overruns:0 frame:0
TX packets:278 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4628107 (4.4 MiB) TX bytes:37558 (36.6 KiB)
V$CLUSTER_INTERCONNECTS displays one or more interconnects that are being used for cluster
communication.
Inquire about v$cluster_interconnects Find out , At present RAC The environment uses HAIP,
Please note that : What's shown here is HAIP Address , It's not the address of the system
configuration , This is different from the later display .
System altered.
System altered.
It seems that even with cluster_interconnects The network address can't exceed 4 individual , This
heel HAIP Agreement .
therefore , Get rid of the back 5 individual IP, Leave the 4 individual IP For heartbeat networks :
node 1:10.0.1.20:10.0.2.20:10.0.3.20:10.0.4.20
node 2:10.0.1.21:10.0.2.21:10.0.3.21:10.0.4.21
After restarting the instance, we found that the current RAC Use the previously specified 4 individual
IP For heartbeat networks .
Manual down Drop the node 1 One of the heartbeat network cards :
[root@rhel1 ~]# ifdown eth4 <<<< The network card is not HAIP Among them IP so .
Connected.
SQL>
This state is obviously not right .
From the log , The example does not down fall ,HANG There it is , View the database instance log of
another node , Find out RAC No error was reported in other instances of , Unaffected .
Then the instance returns to normal , The whole process instance doesn't down fall .
that HAIP Corresponding network port down Will it affect the instance ? So will eth2 down fall :
[root@rhel1 ~]# ifdown eth2
From the test , Examples remain hang live , Follow down Get rid of the wrong HAIP The network
port is the same , After the network port is restored, the instance will return to normal .
summary : From the test , Whatever the designation is HAIP so , Or not HAIP so , Set up
cluster_interconnects Parameters will make the heartbeat network not fault tolerant , There is a
problem with any of the specified network ports , Will make the instance HANG live , Until the
network port returns to normal , The instance will return to normal , meanwhile cluster_interconnects
Parameters only support 4 individual IP Address .
Although in RAC In the case of multi database environment , By setting the cluster_interconnects
Initialization parameters can override the default clusterware Heartbeat Network , The heartbeat
communication of multiple database instances is isolated from each other , But the failure of any
specified network card will cause the instance HANG live , High availability is not guaranteed .