11.2.0.4 grid 安裝時 ssh 過不去問題分析

paulyibinyi發表於2016-05-09
環境: 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<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]                       ====>> 這裡轉換成小寫
---------------------------------



$ 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



解決方法:

$ <OLD_GI_HOME>/oui/bin/runInstaller -updateNodelist ORACLE_HOME=<OLD_GI_HOME> "CLUSTER_NODES={racnode1,racnode2}" CRS=true

目前只有在11.2.0.4 版本上有這個問題。



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-2096411/,如需轉載,請註明出處,否則將追究法律責任。

相關文章