溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

RAC安裝時(shí)出現(xiàn)The specified nodes are not clusterable錯(cuò)誤怎么辦

發(fā)布時(shí)間:2021-10-26 16:03:46 來源:億速云 閱讀:136 作者:小新 欄目:建站服務(wù)器

這篇文章主要為大家展示了“RAC安裝時(shí)出現(xiàn)The specified nodes are not clusterable錯(cuò)誤怎么辦”,內(nèi)容簡(jiǎn)而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領(lǐng)大家一起研究并學(xué)習(xí)一下“RAC安裝時(shí)出現(xiàn)The specified nodes are not clusterable錯(cuò)誤怎么辦”這篇文章吧。

在安裝RAC clusterware 在添加完結(jié)點(diǎn)后報(bào)錯(cuò)誤:

The specified nodes are not clusterable.

The following error was returned by the operating system: null

以前也裝過幾個(gè)測(cè)試的rac的環(huán)境, 該遇到的問題也都遇到過了。 以前遇到這個(gè)問題是hosts 文件搞的鬼,所以這次條件反射的就直接去檢查這個(gè)文件:

[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個(gè)結(jié)點(diǎn)的hosts 第一行: 127.0.0.1 localhost 都修改過了,沒有問題。

Google 的結(jié)果如下, 這個(gè)幫了我不少忙..

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.

重建檢查了下用戶等效性。 記得創(chuàng)建時(shí)候已經(jīng)測(cè)試過,心里就認(rèn)為問題不可能在這,但再次運(yùn)行之后發(fā)現(xiàn), 問題還就是這。

node1結(jié)點(diǎn):

[oracle@node1 ~]$ ssh node1 date

[oracle@node1 ~]$ ssh node2 date

[oracle@node1 ~]$ ssh node1prv date

[oracle@node1 ~]$ ssh node2prv date

Node2結(jié)點(diǎn):

[oracle@node2 ~]$ ssh node1 date

[oracle@node2 ~]$ ssh node2 date

[oracle@node2 ~]$ ssh node1prv date

[oracle@node2 ~]$ ssh node2prv date

在node2結(jié)點(diǎn)上有2個(gè)還沒有運(yùn)行ssh, 還是需要輸入密碼的。 運(yùn)行ssh之后問題解決。 還是太粗心了. 盡然少運(yùn)行了2個(gè)ssh。 有點(diǎn)杯具..

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

1. group add dba oinstall 組在兩個(gè)node上, 創(chuàng)建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,接著執(zhí)行:

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

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

提示:下列命令會(huì)提示你輸入node2 的oracle 密碼,按照提示輸入即可,如果失敗可重新嘗試執(zhí)行命

令。

[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個(gè)node都有相互的結(jié)點(diǎn)信息。

兩機(jī)相互執(zhí)行,看看是否還需要輸入密碼

[oracle@node1 ~]$ ssh node1 date

[oracle@node1 ~]$ ssh node2 date

[oracle@node1 ~]$ ssh node1prv date

[oracle@node1 ~]$ ssh node2prv date

切換至node2 執(zhí)行

[oracle@node2 ~]$ ssh node1 date

[oracle@node2 ~]$ ssh node2 date

[oracle@node2 ~]$ ssh node1prv date

[oracle@node2 ~]$ ssh node2prv date

建完等效性之后第一次ssh 結(jié)點(diǎn)時(shí)需要輸入密碼, 第二次就不需要了,所以建完等效性之后一定要把所有的相關(guān)結(jié)點(diǎn)都ssh 一下, 不會(huì)你也就杯具了...

以上是“RAC安裝時(shí)出現(xiàn)The specified nodes are not clusterable錯(cuò)誤怎么辦”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注億速云行業(yè)資訊頻道!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

rac
AI