环境: oracle 11.2.0.4 rac +aix 6.1
问题描述: 在安装oracle 11.2.0.4 grid 时,在进入到ssh 安装界面,点test 按钮时,提示以下错误:
[INS-06006] Passwordless SSH connectivity not set up between the following nodes(s)
而在二个节点手工去测试ssh成功,ssh互信关系通过
问题分析: 查看installActions.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] ====>> 这里转换成小写
---------------------------------
$ grep RACNODE /etc/hosts
10.0.0.101 RACNODE1.US.ORACLE.COM RACNODE1
10.0.0.102 RACNODE2.US.ORACLE.COM RACNODE2
--查看/etc/hosts 中是大写
根据报错信息查到metalink 是bug
Cause
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
解决方法:
$ /oui/bin/runInstaller -updateNodelist ORACLE_HOME= "CLUSTER_NODES={racnode1,racnode2}" CRS=true
目前只有在11.2.0.4 版本上有这个问题。
当前名称:11.2.0.4grid安装时ssh过不去问题分析
网址分享:
http://bzwzjz.com/article/igdidc.html