在安装RACclusterware在添加完结点后报错误:
Thespecifiednodesarenotclusterable.
Thefollowingerrorwasreturnedbytheoperatingsystem:null
以前也装过几个测试的rac的环境,该遇到的问题也都遇到过了。以前遇到这个问题是hosts文件搞的鬼,所以这次条件反射的就直接去检查这个文件:
[root@node2orcl]#more/etc/hosts
#Donotremovethefollowingline,orvariousprograms
#thatrequirenetworkfunctionalitywillfail.
127.0.0.1localhost
10.85.10.119node1
10.85.10.121node2
192.168.0.119node1prv
192.168.0.121node2prv
10.85.10.122node1vip
10.85.10.123node2vip
2个结点的hosts第一行:127.0.0.1localhost都修改过了,没有问题。
Google的结果如下,这个帮了我不少忙..
Alert:Thespecifiednodesarenotclusterable.Thiscouldbeduetooneormoreofthefollowingreasons:
1.Theuserperformingtheinstallisnotconfiguredinanequivalentmanneronallnodes.
2.sshandscparenotconfiguredproperlyonallnodes.
3.rshandrcparenotconfiguredproperlyonallnodes.
重建检查了下用户等效性。记得创建时候已经测试过,心里就认为问题不可能在这,但再次运行之后发现,问题还就是这。
node1结点:
[oracle@node1~]$sshnode1date
[oracle@node1~]$sshnode2date
[oracle@node1~]$sshnode1prvdate
[oracle@node1~]$sshnode2prvdate
Node2结点:
[oracle@node2~]$sshnode1date
[oracle@node2~]$sshnode2date
[oracle@node2~]$sshnode1prvdate
[oracle@node2~]$sshnode2prvdate
在node2结点上有2个还没有运行ssh,还是需要输入密码的。运行ssh之后问题解决。还是太粗心了.尽然少运行了2个ssh。有点杯具..
下面是建立用户等效性的操作方法:
1.groupadddbaoinstall组在两个node上,创建oracle用户,主组oinstall,附加组是dba和disk
#groupaddoinstall
#groupadddba
#useradd-goinstall-Gdbaoracle
#passwdoracle
2.建立等效用户
在node1:
[root@node1opt]#su-oracle
[oracle@node1~]$mkdir~/.ssh
[oracle@node1~]$chmod700~/.ssh
[oracle@node1~]$ssh-keygen-trsa
[oracle@node1~]$ssh-keygen-tdsa
在node2:
[root@node2opt]#su-oracle
[oracle@node2~]$mkdir~/.ssh
[oracle@node2~]$chmod700~/.ssh
[oracle@node2~]$ssh-keygen-trsa
[oracle@node2~]$ssh-keygen-tdsa
切换回node1,接着执行:
[oracle@node1~]$cat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys
[oracle@node1~]$cat~/.ssh/id_dsa.pub>>~/.ssh/authorized_keys
提示:下列命令会提示你输入node2的oracle密码,按照提示输入即可,如果失败可重新尝试执行命
令。
[oracle@node1~]$scp~/.ssh/authorized_keysnode2:~/.ssh/authorized_keys
[oracle@node1~]$sshnode2cat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys
[oracle@node1~]$sshnode2cat~/.ssh/id_dsa.pub>>~/.ssh/authorized_keys
[oracle@node2~]$scp~/.ssh/authorized_keysnode1:~/.ssh/authorized_keys
确保2个node都有相互的结点信息。
两机相互执行,看看是否还需要输入密码
[oracle@node1~]$sshnode1date
[oracle@node1~]$sshnode2date
[oracle@node1~]$sshnode1prvdate
[oracle@node1~]$sshnode2prvdate
切换至node2执行
[oracle@node2~]$sshnode1date
[oracle@node2~]$sshnode2date
[oracle@node2~]$sshnode1prvdate
[oracle@node2~]$sshnode2prvdate
建完等效性之后第一次ssh结点时需要输入密码,第二次就不需要了,所以建完等效性之后一定要把所有的相关结点都ssh一下,不会你也就杯具了...
分享到:
相关推荐
oracle rac安装个人笔记oracle rac安装个人笔记oracle rac安装个人笔记oracle rac安装个人笔记oracle rac安装个人笔记oracle rac安装个人笔记oracle rac安装个人笔记oracle rac安装个人笔记oracle rac安装个人笔记...
oracle rac安装文档
Oracle 9i RAC 安装手册
第一次安装RAC遇到了很多问题,经过5天的奋战,终于成功安装了RAC。将之整理出来,分享给大家。包括安装问题及常见问题解决方法。csdn一次只能上传一个文档,另一个文档请点击我的资源查看。
自己做的vmware环境,三台虚拟机的rac安装详细文档,oracle版本为11.2.0.1 存储为iscsi
Oracle_11gRAC数据库安装for hp unix
Oracle RAC 安装手册,非常 的详细,初学者可以参考安装一下!
oracle11gRAC模式安装详细步骤
按照上面步骤安装绝对成功 我已经完成安装测试
Oracle RAC安装配置手册。
Oracle 11g Rac安装文档
Linux__Oracle_12c_RAC安装配置
oracle rac 安装部署文档.pdf
1、oracle10 rac安装部署; 2、有详细的截图和安装步骤; 3、有详细的地址规划说明; 4、有环境说明; 5、文档非常全面系统。
Oracle11gR2 RAC安装详细文档
Oracle11GRAC安装文档,有需要的拿去
oracle10G RAC安装详解,也许对大家有用
Oracle 11g RAC--安装参考手册 pdf.zip
本文是由丰富实际操作经验的OCM大神编写的一篇oracle 12C RAC安装手册,有了它普通的oracle小白也会很快的安装oracle rac。 oracle rac安装手册