天天看點

在XP下使用vsphere client 5.5 通路vCenter

在XP下安裝vsphere client 5.5後,連接配接VCENTER 5.5或esxi5.5 出現錯誤如下:

vSphere Client could not connect to “FQDN or IP Address”

An unknown connection error occurred. (The Client could not send a complete request to the server. (The underlying connection was closed: An unexpected error occurred on a send.

在XP下使用vsphere client 5.5 通路vCenter

出現該問題的原因是新版本vSphere Cient中增強了加密強度,而Windows XP和Windows Server 2003未能達到所需加密強度,因為 ESXi 停用了較不安全的 cipher suite

而 XP/2003 正是使用了不夠安全的 cipher suite 去連線

由于微軟已經停止對XP支援并未釋出相應更新檔

解決方法:

修改VCenter Server配置檔案vpxd.cfg

檔案路徑:c:\programdata\vmware\vmware virtual center\  或 /etc/vmware-vpx/ 

找到如下内容:<ssl>

<useCompression>true</useCompression>

</ssl>

修改為下面内容:

<ssl>

<cipherList>ALL</cipherList>

<useCompression>true</useCompression>

</ssl>

然後重新開機VC服務即可正常通路

對于esxi主機,解決方法如下:

  1. ssh 連線到 ESXi
  2. 移動到設定檔的位置:cd /etc/vmware/rhttpproxy/
  3. 先做個備份:cp config.xml config_bak.xml
  4. 修改 config.xml :vi config.xml
  5. 找到 <vmacore> 裡面的 <ssl> 區塊
  6. 在裡面加上一行:<cipherList>ALL</cipherList>
  7. 存檔後重啟服務:/etc/init.d/rhttpproxy restart

修改後的 ssl 區塊應該長成這樣:

<

ssl

>

<

doVersionCheck

> false </

doVersionCheck

>

<

useCompression

>true</

useCompression

>

<

libraryPath

>/lib/</

libraryPath

>

<

handshakeTimeoutMs

>120000</

handshakeTimeoutMs

>

<

cipherList

>ALL</

cipherList

>

</

ssl

>

上述步驟做完後我就可以正常連線了。

繼續閱讀