Ssh – Unable to connect to ESXi 5.1 after upgrading to 5.1 U2

sshvmware-esxivmware-vsphere

I upgraded my ESXi 5.1 U1 to ESXi 5.1 U2 using SSH, after upgrade complete and I restart the server I couldn't connect to the Server using vSphere Client but I could connect to it using SSH after few Hours also the SSH stop working but all of my VMs work correctly.

I Tried to restart the server but the situation repeat I'm unable to connect using vSphere Client and Just for few Hours I can use SSH.

Because the server located in a data center I have limited access to my Server Screen and Keyboard (it is possible but have cost).

Part of vmkernel.log is:

2014-02-24T23:45:01.296Z cpu5:521314)ALERT: hostd detected to be non-responsive
2014-02-24T23:50:01.297Z cpu1:521473)WARNING: Tcpip: 1304: socreate(type=2, proto=0) failed with error No buffer space available (55)
2014-02-24T23:52:07.996Z cpu2:519491)WARNING: LinScsi: SCSILinuxQueueCommand:1193:queuecommand failed with status = 0x1056 Unknown status 
vmhba33:0:0:0 (driver name: ahci) - Message repeated 2194 times
2014-02-24T23:52:09.421Z cpu0:6262)ScsiDeviceIO: 2318: Cmd(0x4124007a2140) 0x2a, CmdSN 0x800000e4 from world 6549 to dev "t10.ATA_____TOSH
IBA_DT01ACA300_________________________________33815YEAS" failed H:0x0 D:0x8 P:0x0 Possible sense data: 0x0 0x0 0x0.

Best Answer

Windows XP not supported by vSphere Client >5.1U1

I had the very same issue. The log file on ESXi stated that the cliend closed the connection.

After upgrading to ESXi 5.5 I obviously had to install the new client as well. During installation there was an notice that there might be a problem connecting to ESX server due to the operating system (Windows XP SP 3). In fact, I could not connect to my ESXi 5.5 with the exact same error message.

So I set up an Windows 8.1 box and installed the vSphere Client 5.5 there and could successfully connect to my ESXi 5.5U1 (build 1746018).

Note: if you cannot update your client OS to something above XP you might consider the following workarounds:

  • Use remote CLI commands to manage your VMs on the given host
  • downgrade to ESXi 5.1U1 with the following command:
esxcli software profile install -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.1.0-20131004001-standard --ok-to-remove

(This command is issued on the ESXi console. It can also be run remotely using something like "esxcli.exe -s vm.host.fqdn -u root ...". Be aware that the ESXi firewall must allow httpClient connections or use a local repository. For more information see e.g. @v-front

Related Topic