RAC安装时出现The specified nodes are not clusterable错误怎么办

发布时间:2021-10-26 16:03:46 作者:小新
来源:亿速云 阅读:130

这篇文章主要为大家展示了“RAC安装时出现The specified nodes are not clusterable错误怎么办”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“RAC安装时出现The specified nodes are not clusterable错误怎么办”这篇文章吧。

在安装RAC clusterware 在添加完结点后报错误:

The specified nodes are not clusterable.

The following error was returned by the operating system: null

以前也装过几个测试的rac的环境, 该遇到的问题也都遇到过了。 以前遇到这个问题是hosts 文件搞的鬼,所以这次条件反射的就直接去检查这个文件:

[root@node2 orcl]# more /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost

10.85.10.119 node1

10.85.10.121 node2

192.168.0.119 node1prv

192.168.0.121 node2prv

10.85.10.122 node1vip

10.85.10.123 node2vip

2个结点的hosts 第一行: 127.0.0.1 localhost 都修改过了,没有问题。

Google 的结果如下, 这个帮了我不少忙..

Alert: The specified nodes are not clusterable. This could be due to one or more of the following reasons:
1. The user performing the install is not configured in an equivalent manner on all nodes.
2. ssh and scp are not configured properly on all nodes.
3. rsh and rcp are not configured properly on all nodes.

重建检查了下用户等效性。 记得创建时候已经测试过,心里就认为问题不可能在这,但再次运行之后发现, 问题还就是这。

node1结点:

[oracle@node1 ~]$ ssh node1 date

[oracle@node1 ~]$ ssh node2 date

[oracle@node1 ~]$ ssh node1prv date

[oracle@node1 ~]$ ssh node2prv date

Node2结点:

[oracle@node2 ~]$ ssh node1 date

[oracle@node2 ~]$ ssh node2 date

[oracle@node2 ~]$ ssh node1prv date

[oracle@node2 ~]$ ssh node2prv date

在node2结点上有2个还没有运行ssh, 还是需要输入密码的。 运行ssh之后问题解决。 还是太粗心了. 尽然少运行了2个ssh。 有点杯具..

下面是建立用户等效性的操作方法:

1. group add dba oinstall 组在两个node上, 创建oracle 用户, 主组oinstall, 附加组是dba和disk

#groupadd oinstall

#groupadd dba

#useradd -g oinstall -G dba oracle

#passwd oracle

2. 建立等效用户

在node1:

[root@node1 opt]# su - oracle

[oracle@node1 ~]$ mkdir ~/.ssh

[oracle@node1 ~]$ chmod 700 ~/.ssh

[oracle@node1 ~]$ ssh-keygen -t rsa

[oracle@node1 ~]$ ssh-keygen -t dsa

在node2:

[root@node2 opt]# su - oracle

[oracle@node2 ~]$ mkdir ~/.ssh

[oracle@node2 ~]$ chmod 700 ~/.ssh

[oracle@node2 ~]$ ssh-keygen -t rsa

[oracle@node2 ~]$ ssh-keygen -t dsa

切换回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_keys node2:~/.ssh/authorized_keys

[oracle@node1 ~]$ ssh node2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

[oracle@node1 ~]$ ssh node2 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

[oracle@node2 ~]$ scp ~/.ssh/authorized_keys node1:~/.ssh/authorized_keys

确保2个node都有相互的结点信息。

两机相互执行,看看是否还需要输入密码

[oracle@node1 ~]$ ssh node1 date

[oracle@node1 ~]$ ssh node2 date

[oracle@node1 ~]$ ssh node1prv date

[oracle@node1 ~]$ ssh node2prv date

切换至node2 执行

[oracle@node2 ~]$ ssh node1 date

[oracle@node2 ~]$ ssh node2 date

[oracle@node2 ~]$ ssh node1prv date

[oracle@node2 ~]$ ssh node2prv date

建完等效性之后第一次ssh 结点时需要输入密码, 第二次就不需要了,所以建完等效性之后一定要把所有的相关结点都ssh 一下, 不会你也就杯具了...

以上是“RAC安装时出现The specified nodes are not clusterable错误怎么办”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!

推荐阅读:
  1. Oracle 11.2.0.4 RAC安装数据库软件无法识别主机
  2. oracle 11g rac安装之grid报错解决

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

rac

上一篇:如何结合线程池理解FutureTask及Future源码

下一篇:vuejs移动端用哪个ui框架

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》