VMware vSphere Client无法打开虚拟机控制台,但看到虚拟机,什么情况?怎么解决?
解决方法:
1、为登录vSphere Web Client的PC配置,以解析vCenter ServerDNS主机名的的服务器;
2、配置本地解析,即在PC的 %WINDIR%\system32\drivers\etc\hosts的文件中加入vCenter Server的主机名和IP的对应关系。
原因分析
1. 能够ping通主机,说明防火墙对ICMP之类的协议是比较宽松的,不像TCP协议那样必须通过状态过滤机制。
2. 尽管vsphere client连接的是vcenter Server,而VCS的网络(网关是核心交换机)是正常的,VCS与主机之间的通讯也是正常的。但从此现象说明,vsphere client在使用打开控制台操作时仍然需要直接ESX主机(不是虚拟机)进行基于TCP协议的网络通讯。
2024-10-23 广告
To resolve this issue, remove the environment variable from the vSphere Client machine or vCenter Server:
Click Start > Run, type sysdm.cpl, and press Enter. The System Properties window opens.
Click the Advanced tab.
Click Environment Variables.
Remove any user variable and any system variable named User .
Reboot Windows and launch vSphere Client.
If the issue persists, end any vmware-vmrc.exe processes in the Windows Task Manager:
Close all vSphere Client sessions.
Open Windows Task Manager.
Search for any vmware-vmrc.exe processes and end the process.
Start the vSphere Client and connect to the host directly or to vCenter Server.