Change Cluster Interconnect Adapter & IP Address in 11gR2 RAC
We can change it at any stage, it require full outage.
Step 1: Determine private IP address
[oracle@Jayesh1 ~]$ oifcfg getif
eth0 192.168.1.0 global public
eth1 10.0.0.0 global cluster_interconnect
Step 2: Determine Ethernet card name
[oracle@Jayesh1 ~]$ oifcfg iflist
eth0 192.168.1.0
eth1 10.0.0.0
Step 3: Add new interface Subnet ID specification:
[oracle@Jayesh1 ~]$ oifcfg setif -global eth1/175.16.0.0:cluster_interconnect
Step 4 : Verify the changes:
[oracle@Jayesh1 ~]$ oifcfg getif
eth0 192.168.1.0 global public
eth1 10.0.0.0 global cluster_interconnect
eth1 175.16.0.0 global cluster_interconnect
Step 5: Stop cluster on all node:
[oracle@Jayesh1 ~]# sudo /u01/app/11.2.0/grid/bin/crsctl stop cluster -all
Step 6: Modify netwrok address on network adapter of each box:
[root@Jayesh1 ~]# ifconfig eth1 175.16.0.10 netmask 255.255.0.0 broadcast 175.16.255.255
[root@Jayesh2 ~]# ifconfig eth1 175.16.0.11 netmask 255.255.0.0 broadcast 175.16.255.255
Step 7: Modify /etc/hosts file on each node.
Delete entry of old private interconnect and add new private interconnect on each node.
[root@Jayesh1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#10.10.10.105 Jayesh1-priv.localdomain Jayesh1-priv
175.16.0.10 Jayesh1-priv.localdomain Jayesh1-priv
#10.10.10.107 Jayesh2-priv.localdomain Jayesh2-priv
175.16.0.11 Jayesh2-priv.localdomain Jayesh2-priv
Step 8: Start cluster on each node
[root@Jayesh1 ~]# /u01/app/11.2.0/grid/bin/crsctl start cluster -all
Step 9: Delete old entry of private interconnect from cluster registry
[oracle@Jayesh1 ~]$ oifcfg delif -global eth1/10.0.0.0:cluster_interconnect
Step 10: Verify the changes:
[oracle@Jayesh1 ~]$ oifcfg getif
eth0 192.168.1.0 global public
eth1 175.16.0.0 global cluster_interconnect
You can also verify:
[root@Jayesh1 ~]# ifconfig eth1
We can change it at any stage, it require full outage.
Step 1: Determine private IP address
[oracle@Jayesh1 ~]$ oifcfg getif
eth0 192.168.1.0 global public
eth1 10.0.0.0 global cluster_interconnect
Step 2: Determine Ethernet card name
[oracle@Jayesh1 ~]$ oifcfg iflist
eth0 192.168.1.0
eth1 10.0.0.0
Step 3: Add new interface Subnet ID specification:
[oracle@Jayesh1 ~]$ oifcfg setif -global eth1/175.16.0.0:cluster_interconnect
Step 4 : Verify the changes:
[oracle@Jayesh1 ~]$ oifcfg getif
eth0 192.168.1.0 global public
eth1 10.0.0.0 global cluster_interconnect
eth1 175.16.0.0 global cluster_interconnect
Step 5: Stop cluster on all node:
[oracle@Jayesh1 ~]# sudo /u01/app/11.2.0/grid/bin/crsctl stop cluster -all
Step 6: Modify netwrok address on network adapter of each box:
[root@Jayesh1 ~]# ifconfig eth1 175.16.0.10 netmask 255.255.0.0 broadcast 175.16.255.255
[root@Jayesh2 ~]# ifconfig eth1 175.16.0.11 netmask 255.255.0.0 broadcast 175.16.255.255
Step 7: Modify /etc/hosts file on each node.
Delete entry of old private interconnect and add new private interconnect on each node.
[root@Jayesh1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#10.10.10.105 Jayesh1-priv.localdomain Jayesh1-priv
175.16.0.10 Jayesh1-priv.localdomain Jayesh1-priv
#10.10.10.107 Jayesh2-priv.localdomain Jayesh2-priv
175.16.0.11 Jayesh2-priv.localdomain Jayesh2-priv
Step 8: Start cluster on each node
[root@Jayesh1 ~]# /u01/app/11.2.0/grid/bin/crsctl start cluster -all
Step 9: Delete old entry of private interconnect from cluster registry
[oracle@Jayesh1 ~]$ oifcfg delif -global eth1/10.0.0.0:cluster_interconnect
Step 10: Verify the changes:
[oracle@Jayesh1 ~]$ oifcfg getif
eth0 192.168.1.0 global public
eth1 175.16.0.0 global cluster_interconnect
You can also verify:
[root@Jayesh1 ~]# ifconfig eth1
Comments
Post a Comment