ESXi4安装好后,通过访问server进去下载了VMWare vSphere Client,安装后连接ESXi服务器的IP
192.168.15.101,居然连不通,系统提示“分析服务器"192.168.15.101"的"clients.xml"文件时出错。登录将继续,请联系系统管理员。”,点出确定之后继续报错“"VirtualInfrastructure.Utils.HttpWebRequestProxy”的类型初始值设定项引发异常。”,进而无法田连接到ESXi4。原因是Win7下的默认.net是3.5版本,而VMWARE
的vShpere用的是2.0。解决方法如下:
1.将安装了.net2.0的xp或者windows2003中的C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727下的system.dll拷贝到
C:\Program
Files\Vmware\Infrastructure\Virtual Infrastructure
Client\Launcher
如果你没有把客户端安装到此目录,将文件拷贝到你指定的目录
2. 编辑该目录下文件 VpxClient.exe.config 增加如下内容(红色显示):
encoding="utf-8"?>
/>
= "https:443"/>
developerInstallation="true"/>
3.
编辑系统的环境变量,新增一个叫DEVPATH环境变量,值就是你放dotnet2.0的System.dll的目录,比如我的:
C:\Program
Files(x86)\VMware\Infrastructure\Virtual Infrastructure
Client\Launcher
现在,vSphere client 应该可以工作了。
But the Host Update Utility still won't work, so there's just
one additional steps to get that working:
5. Copy VpxClient.exe.config file (from above) to the following
location, re-naming it VIUApp.exe.config:
C:\Program
Files\VMware\Infrastructure\VIUpdate 4.0\