How to change Cluster Interconnect Adapter IP Address in 11gR2 RAC

Oracle RAC

Cluster interconnect: Itís a private interface used for the cluster-ware to provide inter-instance or
Cache Fusion communication. This is also called as private IP address.

We can change it at any stage, it require full outage.
Step 1: Determine private IP address

[[email protected] ~]$ oifcfg getif
eth0 global public
eth1 global cluster_interconnect
Step 2: Determine Ethernet card name

[[email protected] ~]$ oifcfg iflist
Step 3: Add new interface Subnet ID specification:

[[email protected] ~]$ oifcfg setif -global eth1/
Step 4 : Verify the changes:

[[email protected] ~]$ oifcfg getif
eth0 global public
eth1 global cluster_interconnect
eth1 global cluster_interconnect
Step 5: Stop cluster on all node:

[[email protected] ~]# sudo /u01/app/11.2.0/grid/bin/crsctl stop cluster -all
Step 6: Modify netwrok address on network adapter of each box:

[[email protected] ~]# ifconfig eth1 netmask broadcast
[[email protected] ~]# ifconfig eth1 netmask broadcast
Step 7: Modify /etc/hosts file on each node.

Delete entry of old private interconnect and add new private interconnect on each node.

[[email protected] ~]# cat /etc/hosts

Do not remove the following line, or various programs

that require network functionality will fail. localhost.localdomain localhost test1-priv.localdomain test1-priv test1-priv.localdomain test1-priv test2-priv.localdomain test2-priv test2-priv.localdomain test2-priv

Step 8: Start cluster on each node

[[email protected] ~]# /u01/app/11.2.0/grid/bin/crsctl start cluster -all
Step 9: Delete old entry of private interconnect from cluster registry

[[email protected] ~]$ oifcfg delif -global eth1/
Step 10: Verify the changes:

[[email protected] ~]$ oifcfg getif
eth0 global public
eth1 global cluster_interconnect
You can also verify:

[[email protected] ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0C:29:F9:B9:26
inet addr: Bcast: Mask:
inet6 addr: fe80::20c:29ff:fef9:b926/64 Scope:Link
RX packets:397513 errors:0 dropped:0 overruns:0 frame:0
TX packets:338579 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:247976796 (236.4 MiB) TX bytes:159435440 (152.0 MiB)
Base address:0x2040 Memory:d8940000-d8960000
[[email protected] ~]$ ping test1-priv
PING test1-priv.localdomain ( 56(84) bytes of data.
64 bytes from test1-priv.localdomain ( icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from test1-priv.localdomain ( icmp_seq=2 ttl=64 time=0.015 ms
ó test1-priv.localdomain ping statistics ó
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.015/0.025/0.036/0.011 ms