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:
1 | SQL> 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" |
2 | eth3 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" |
6 | root@kowalsky's password: |
7 | eth3 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 |
13 | eth0 192.168.56.0 global public |
14 | eth1 10.0.0.0 global cluster_interconnect |
15 | eth3 10.1.0.0 global cluster_interconnect |
Now the restart of the CRS on all nodes is required for changes to be effective.
1 | SQL> 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 |