Oracle RAC 11.2.0.4 – add another ethernet to interconnect


16.06.2014
by Kamil Stawiarski

Instead of bonding you can use Oracle cluster interconnect HAIP for using multiple ethernets.
And here is how its done 🙂

At the begining I have one interconnect – eth1:

1SQL> select * from GV$CLUSTER_INTERCONNECTS;
2 
3   INST_ID NAME        IP_ADDRESS       IS_ SOURCE
4---------- --------------- ---------------- --- -------------------------------
5     1 eth1:1      169.254.160.183  NO
6     2 eth1:1      169.254.83.127   NO

To add another one (eth3), I will use an oifcfg tool:

1[root@rico ~]# ifconfig eth3 | grep "addr"
2eth3      Link encap:Ethernet  HWaddr 08:00:27:C8:72:97 
3          inet addr:10.1.0.1  Bcast:10.1.0.255  Mask:255.255.255.0
4          inet6 addr: fe80::a00:27ff:fec8:7297/64 Scope:Link
5[root@rico ~]# ssh kowalsky "ifconfig eth3 | grep addr"
6root@kowalsky's password:
7eth3      Link encap:Ethernet  HWaddr 08:00:27:69:39:73 
8          inet addr:10.1.0.2  Bcast:10.1.0.255  Mask:255.255.255.0
9          inet6 addr: fe80::a00:27ff:fe69:3973/64 Scope:Link
10 
11[root@rico ~]# oifcfg setif -global eth3/10.1.0.0:cluster_interconnect
12[root@rico ~]# oifcfg getif
13eth0  192.168.56.0  global  public
14eth1  10.0.0.0  global  cluster_interconnect
15eth3  10.1.0.0  global  cluster_interconnect

Now the restart of the CRS on all nodes is required for changes to be effective.

1SQL> select * from GV$CLUSTER_INTERCONNECTS;
2 
3   INST_ID NAME        IP_ADDRESS       IS_ SOURCE
4---------- --------------- ---------------- --- -------------------------------
5     1 eth1:1      169.254.74.205   NO
6     1 eth3:1      169.254.228.254  NO
7     2 eth1:1      169.254.127.172  NO
8     2 eth3:1      169.254.244.158  NO

Contact us

Database Whisperers sp. z o. o. sp. k.
al. Jerozolimskie 200, 3rd floor, room 342
02-486 Warszawa
NIP: 5272744987
REGON:362524978
+48 508 943 051
+48 661 966 009
info@ora-600.pl

Newsletter Sign up to be updated