add new node 时执行 rootaddnode.sh 出错"Connection refused" (PRKC-1044)

Oracle 10.2.0.5 on Oracle Linux 5.8

Important: As documented in Metalink Note 392415.1, the rootaddnode.sh script (which is run in this section) may error out at the end with "Connection refused" (PRKC-1044) when trying to trying to add a new node to the cluster. The reason this error occurs is because the "oracle" user account on the node running the rootaddnode.sh script is setup with SSH for remote access to the new node and has a non-empty SSH passphrase. Note that for obvious security reasons, the "oracle" user account is typically setup with a non-empty pass phrase for SSH keys and would thus succumb to this error. The rootaddnode.sh script uses SSH to check remote node connectivity from linux1 to linux3. If it gives any prompt, it will consider ssh is not configured properly. The script will then use rsh instead. If rsh is not configured, then it will error out with "Connection refused". If you are using SSH for user equivalency (as I am in this article), you will need to temporarily define an empty rsa passphrase for the "oracle" user account on linux1 as follows:

[oracle@linux1 ~]$ ssh-keygen -p
Enter file in which the key is (/home/oracle/.ssh/id_rsa):
Enter old passphrase: [OLD PASSPHRASE]
Key has comment '/home/oracle/.ssh/id_rsa'
Enter new passphrase (empty for no passphrase): [JUST HIT ENTER WITHOUT ENTERING A PASSPHRASE]
Enter same passphrase again: [JUST HIT ENTER WITHOUT ENTERING A PASSPHRASE]
Your identification has been saved with the new passphrase.

Afer temporarily defining an empty rsa passphrase for the "oracle" user account, navigate to the/u01/app/crs/install directory on linux1 and run rootaddnode.sh as the "root" user account. The rootaddnode.sh script will add the new node information to the Oracle Cluster Registry (OCR) file using the srvctl utility.

After running the rootaddnode.sh script from linux1, you can set your passphrase back to the old passphrase using the same "ssh-keygen -p" command.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值