修改完成后,如下 :
[root@host01 ~]# ip a show eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
。。。
inet 10.0.3.101/24 brd 10.0.3.255 scope global eth1
。。。
[root@host02 ~]# ip a show eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
。。。
inet 10.0.3.102/24 brd 10.0.3.255 scope global eth1
。。。
4.2 修改域名解析
我们这里使用 /etc/hosts文件
修改hosts文件为 新的 ip
vim /etc/hosts
。。。
192.168.133.101 host01-priv.example.com host01-priv
192.168.133.102 host02-priv.example.com host02-priv
。。。
[root@host01 ~]# /u01/app/11.2.0/grid/bin/oifcfg getif -type cluster_interconnect
eth1 10.0.3.0 global cluster_interconnect
7.验证一下集群
[oracle@host01 ~]$ cluvfy comp crs -n host01,host02 -verbose
Verifying CRS integrity
Checking CRS integrity...
Clusterware version consistency passed
The Oracle Clusterware is healthy on node "host02"
The Oracle Clusterware is healthy on node "host01"
CRS integrity check passed
Verification of CRS integrity was successful.