您的位置:首页 > Web前端 > Node.js

11gr2 RAC INS-06006 Passwordless SSH connectivity not set up between the following node(s) 解决方法

2014-04-09 09:15 417 查看
一、问题描述

在AIX操作系统上安装11gR2 11.2.0.3的RAC,在安装GRID的时,遇到INS-06006错误。错误信息如下



二、处理过程

1、测试ssh的互通性

在node1节点

date;ssh node2 date;
date;ssh node2-priv date;
date;ssh node1 date;
date;ssh node1-priv date;

在node2节点
date;ssh node1 date;
date;ssh node1-priv date;
date;ssh node2 date;
date;ssh node2-priv date;

节点间的互通性是没有问题的。
2、根据TOP Note: Solutions for Typical Grid Infrastructure/RAC Database runInstaller Issues (文档 ID 1056713.1)文档处理

P: [INS-06006] Passwordless SSH connectivity not set up between the following node(s): [node1, node2]. CVU may reports "PRVF-4007 : User equivalence check failed for user "user"" for same error

S: Possible causes:
Grid user does not have password on OS level, the fix is to set password with "passwd" command.
If OUI is able to setup passwordless SSH connectivity but still shows the error, likely "ping" command is inaccessible - grid user should be able to execute ping command.
OS command ssh or scp are not in expected location, the workaround is to either create symbolic link on all nodes or export the following environment variables before starting OUI

ln -s /usr/local/bin/ssh /usr/bin/ssh
ln -s /usr/local/bin/scp /usr/bin/scp

OR

export ORACLE_SRVM_REMOTESHELL=/usr/local/bin/ssh
export ORACLE_SRVM_REMOTECOPY=/usr/local/bin/scp

Note: /usr/local/bin is the location for ssh and scp, if ssh and scp are located in somewhere else, replace it accordingly
For other causes and solutions, refer to note 1323714.1根据上面处理完成问题依然存在。

3、重新将grid用户的配置文件重新运行一下,问题还是没有解决

. .profile

4、检查/etc/hosts文件,发现与IP匹配的主机名全部为大写。这与11.2.0.4 runInstaller: [INS-06006] Passwordless SSH connectivity not set up between the following nodes(s) (文档 ID 1597212.1)文档描述的问题一致。

将主机名称全部小写后,问题解决。
Installing 11.2.0.4 Grid Infrastructure patch set, runInstaller reports error: [INS-06006] Passwordless SSH connectivity not set up between the following nodes(s): [racnode1].

在installActions<timestamp>.log 中
INFO: Preparing to check passwordless SSH Connectivity between nodes: [RACNODE1, RACNODE2]                               ====>> "hostname" command returns upper case hostname
INFO: Testing passwordless SSH connectivity between the selected nodes. This may take several minutes, please wait...
INFO: OverallStatus of User Equivalence check using CVU is SUCCESSFUL
FINEST: oracle.install.driver.oui.OUISSHSupportManager:Checking whether RACNODE1 is a local node or not. 
FINEST: oracle.install.driver.oui.OUISSHSupportManager:Identified RACNODE1 as the local node.
INFO: Finding passwordless SSH connectivity setup on remote nodes
INFO: Preparing remote commands to check passwordless SSH connectivity setup on remote nodes
INFO: Total number of remote commands to be executed is 4
WARNING: Failed while executing remote commands to check SSH connectivity to other nodes..
Refer associated stacktrace #oracle.install.driver.oui.OUISSHSupportManager:964
INFO: Source Node: racnode1 Target Node: racnode1
INFO: Exception: null
INFO: Status log: oracle.install.driver.oui.OUISSHSupportManager$SSHSetupVerificationCommand: 0|ssh: Could not resolve hostname -o FallBackToRsh=no : Temporary failure in name resolution :failed
....
INFO: Remote node(s) not configured for passwordless SSH connectivity : [racnode1]
INFO: Details about the list of remote node(s), not configured for passwordless SSH connectivity
---------------------------------
NODE REMOTE NODES 
---------------------------------
racnode1 [racnode1, racnode2]                       ====>> converted to lower case in the code
---------------------------------

在oraInstall<timestamp>.err 文件中
---# Begin Stacktrace #---------------------------
ID: oracle.install.driver.oui.OUISSHSupportManager:569
oracle.ops.mgmt.cluster.ClusterException: ssh: -o FallBackToRsh=no : Name or service not known :failedssh: -o FallBackToRsh=no : Name or service not known :failed :successful :successful
at oracle.ops.mgmt.cluster.ClusterConfig.submit(ClusterConfig.java:578)
at oracle.ops.mgmt.cluster.ClusterCmd.submit(ClusterCmd.java:269)
at oracle.ops.mgmt.cluster.ClusterCmd.submit(ClusterCmd.java:294)
at oracle.install.driver.oui.OUISSHSupportManager.getUnconfiguredRemoteNodes(OUISSHSupportManager.java:428)
at oracle.install.driver.oui.OUISSHSupportManager.getSSHConnectivityDetails(OUISSHSupportManager.java:378)
at oracle.install.commons.net.support.SSHSupportManager.getSSHConnectivityDetails(SSHSupportManager.java:181)
at oracle.install.ivw.common.view.SSHSetupPane$8.perform(SSHSetupPane.java:305)
at oracle.install.ivw.common.view.SSHSetupPane$SSHOperation.run(SSHSetupPane.java:336)
---# End Stacktrace #-----------------------------

hostname is in mixed case (in this example upper case)

$ grep RACNODE /etc/hosts
10.0.0.101 RACNODE1.US.ORACLE.COM RACNODE1
10.0.0.102 RACNODE2.US.ORACLE.COM RACNODE2

原因分析:
Upper or mixed case hostname being used, this is being investigated in bug 17580744

Duplicates:

BUG 17666448 - INS-06006 OCCURS IF HOSTNAME IS IN CAPITAL LETTERS FOR GI INSTALLATION

BUG 17675476 - PASSWORDLESS SSH CONNECTIVITY NOT SET UP BETWEEN THE FOLLOWING NODES

参考:

11.2.0.4 runInstaller: [INS-06006] Passwordless SSH connectivity not set up between the following nodes(s) (文档 ID 1597212.1)

TOP Note: Solutions for Typical Grid Infrastructure/RAC Database runInstaller Issues (文档 ID 1056713.1)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  INS-06006 11gr2 ssh database
相关文章推荐