在第二个节点执行 root.sh时报下面的错误的解决方法:
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]
[root@node2 bin]# ./oifcfg iflist
eth1 10.10.17.0
virbr0 192.168.122.0
eth0 192.168.100.0
[root@node2 bin]# ./oifcfg setif -global eth0/192.168.100.0:public
[root@node2 bin]# ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
[root@node2 bin]# ./oifcfg getif
eth0 192.168.100.0 global public
eth1 10.10.10.0 global cluster_interconnect
这时候没有必要再返回重新执行root.sh 了,需要我们手工执行vipca命令来为两个节点添加一些必要的进程,至于在哪个节点上运行,这个就无所谓了,这里我是在RAC1上执行vipca命令。
同时这个也是解决在node2节点执行root.sh时可以遇到的错误:The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.的解决方式
1、以root用户执行vipca
# cd /oracle/crs_1/bin
# ./vipca
2、点击“Next”
3、选中“eth0”,点击“Next”
4、在空白处填写各节点对应的vip名称以及IP地址(其实只要填写RAC1的vip名称,再点其他空白处,就自动获取出来了)
5、点击“Next”,下面显示摘要信息
6、点击“Finish”开始安装
7、在这个地方安装完之后就可以点击“ok”退出。
这个步骤执行完了之后,如果成功,那么相当于我们在节点2上执行root.sh也顺利完成,下一步需要做的就是返回到节点1,执行剩下的步骤。
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]
[root@node2 bin]# ./oifcfg iflist
eth1 10.10.17.0
virbr0 192.168.122.0
eth0 192.168.100.0
[root@node2 bin]# ./oifcfg setif -global eth0/192.168.100.0:public
[root@node2 bin]# ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
[root@node2 bin]# ./oifcfg getif
eth0 192.168.100.0 global public
eth1 10.10.10.0 global cluster_interconnect
这时候没有必要再返回重新执行root.sh 了,需要我们手工执行vipca命令来为两个节点添加一些必要的进程,至于在哪个节点上运行,这个就无所谓了,这里我是在RAC1上执行vipca命令。
同时这个也是解决在node2节点执行root.sh时可以遇到的错误:The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.的解决方式
1、以root用户执行vipca
# cd /oracle/crs_1/bin
# ./vipca
2、点击“Next”
3、选中“eth0”,点击“Next”
4、在空白处填写各节点对应的vip名称以及IP地址(其实只要填写RAC1的vip名称,再点其他空白处,就自动获取出来了)
5、点击“Next”,下面显示摘要信息
6、点击“Finish”开始安装
7、在这个地方安装完之后就可以点击“ok”退出。
这个步骤执行完了之后,如果成功,那么相当于我们在节点2上执行root.sh也顺利完成,下一步需要做的就是返回到节点1,执行剩下的步骤。