Oracle RAC user isolate network connectivity for privet interconnect.
Bellow steps will describe how to change privet interconnect.
Make sure full cluster or service downtime
Step 1: Determine current private IP address
[grid@rac1 ~]$ oifcfg getif
eth0 192.168.20.0 global public
eth1 10.0.0.0 global cluster_interconnect
Step 2: Determine current configure Ethernet/NIC card name
[grid@rac1 ~]$ oifcfg iflist
eth0 192.168.20.0
eth1 10.0.0.0
Step 3: Add new interface Subnet ID:
[grid@rac1 ~]$ oifcfg setif -global eth1/172.20.0.0:cluster_interconnect
Step 4 : Verify the modification:
[grid@rac1 ~]$ oifcfg getif
eth0 192.168.20.0 global public
eth1 10.0.0.0 global cluster_interconnect
eth1 172.20.0.0 global cluster_interconnect
Step 5: Stop cluster on all node:
[grid@rac1 ~]# su - root
[root@rac1 ~]# cd /u01/app/11.2.0/grid/bin/
[root@rac1 ~]# ./crsctl stop cluster -all
Step 6: Modify netwrok address on network adapter of each box:
[root@rac1 ~]# ifconfig eth1 172.20.0.10 netmask 255.255.0.0 broadcast 172.20.255.255
[root@rac2 ~]# ifconfig eth1 172.20.0.11 netmask 255.255.0.0 broadcast 172.20.255.255
Step 7: Change /etc/hosts file on each node.
[root@rac1 ~]# 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.10 rac1-priv
172.16.0.10 rac1-priv
#10.10.10.11 rac2-priv
172.20.0.11 rac2-priv
Step 8: Start cluster all node
[grid@rac1 ~]# su - root
[root@rac1 ~]# cd /u01/app/11.2.0/grid/bin/
[root@rac1 ~]# ./crsctl start cluster -all
Step 9: Remove old private interconnect entry from cluster registry
[grid@rac1 ~]$ oifcfg delif -global eth1/10.0.0.0:cluster_interconnect
Step 10: Verify the changes:
[grid@rac1 ~]$ oifcfg getif
eth0 192.168.20.0 global public
eth1 172.20.0.0 global cluster_interconnect
[grid@rac1 ~]$ ping rac1-priv
PING test1-priv.localdomain (172.20.0.10) 56(84) bytes of data.
64 bytes from test1-priv.localdomain (172.20.0.10): icmp_seq=1 ttl=64 time=0.026 ms
64 bytes from test1-priv.localdomain (172.20.0.10): icmp_seq=2 ttl=64 time=0.018 ms
No comments:
Post a Comment