原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。
深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40782379
CentOS6.4下安装Oracle11G集群
前提:使用图形化完成ssh配置,如下图:
错误现象:
安装grid软件时报错INS-41112错误,如下图所示:
两节点进行ping测试,分别ping“公有IP”和“私有IP”,两节点ping通正常后,按如下方式配置:
节点1:
[grid@test1 ~]$ ssh rac2priv date
--验证节点2私有IP
The authenticity of host ‘rac2priv (192.168.56.73)‘ can‘t be established.
RSA key fingerprint is a3:ab:da:a3:f1:0a:40:02:97:0c:96:2b:ad:43:60:b7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘rac2priv,192.168.56.73‘ (RSA) to the list of known hosts.
Wed Oct 29 17:04:12 CST 2014
[grid@test1 ~]$ ssh rac2priv date
Wed Oct 29 17:04:14 CST 2014
[grid@test1 ~]$ ssh rac1priv date
--验证节点1私有IP
The authenticity of host ‘rac1priv (192.168.56.72)‘ can‘t be established.
RSA key fingerprint is 48:3b:19:c1:d6:5d:fb:9e:32:09:3a:82:4f:2e:ad:81.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘rac1priv,192.168.56.72‘ (RSA) to the list of known hosts.
Wed Oct 29 16:40:47 CST 2014
[grid@test1 ~]$ ssh rac1priv date
Wed Oct 29 16:40:48 CST 2014
[grid@test2 ~]$ ssh test1 date
--验证节点1公有IP
Wed Oct 29 17:04:14 CST 2014
[grid@test2 ~]$ ssh test2 date
--验证节点2公有IP
Wed Oct 29 17:04:14 CST 2014
节点2:
[grid@test2 ~]$ ssh rac1priv date
The authenticity of host ‘rac1priv (192.168.56.72)‘ can‘t be established.
RSA key fingerprint is 48:3b:19:c1:d6:5d:fb:9e:32:09:3a:82:4f:2e:ad:81.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘rac1priv,192.168.56.72‘ (RSA) to the list of known hosts.
Wed Oct 29 16:41:59 CST 2014
[grid@test2 ~]$ ssh rac1priv date
Wed Oct 29 16:42:01 CST 2014
[grid@test2 ~]$ ssh rac2priv date
The authenticity of host ‘rac2priv (192.168.56.73)‘ can‘t be established.
RSA key fingerprint is a3:ab:da:a3:f1:0a:40:02:97:0c:96:2b:ad:43:60:b7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘rac2priv,192.168.56.73‘ (RSA) to the list of known hosts.
Wed Oct 29 17:05:47 CST 2014
[grid@test2 ~]$ ssh rac2priv date
Wed Oct 29 17:05:48 CST 2014
[grid@test2 ~]$ ssh rac1priv date
Wed Oct 29 16:46:32 CST 2014
[grid@test2 ~]$ ssh test1 date
--验证节点1公有IP
Wed Oct 29 16:46:48 CST 2014
[grid@test2 ~]$ ssh test2 date
--验证节点2公有IP
Wed Oct 29 17:10:46 CST 2014
节点1:
[root@test1 /]# chkconfig NetworkManager off
[root@test1 /]# sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/‘ /etc/selinux/config
[root@test1 /]# chkconfig iptables off
节点2:
[root@test2 ~]# chkconfig NetworkManager off
[root@test2 ~]# sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/‘ /etc/selinux/config
[root@test2 ~]# chkconfig iptables off
重新执行grid安装,正常通过了。
原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。
深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40782379
原文地址:http://blog.csdn.net/huangyanlong/article/details/40782379