Windows 7下使用VMware vSphere Client

来源:互联网 发布:淘宝积分有什么用 编辑:程序博客网 时间:2024/05/01 13:23

      ESXi4安装好后,通过http://191.168.15.101进去下载了VMWare vSphere Client,安装后连接ESXi服务器的IP 192.168.15.101,居然连不通,系统提示"分析服务器"192.168.15.101"的"clients.xml"文件时出错。登录将继续,请联系系统管理员。",点出确定之后继续报错""VirtualInfrastructure.Utils.HttpWebRequestProxy"的类型初始值设定项引发异常。",进而无法田连接到ESXi4。经过多方努力,这一问题终得解决。原来是Win7下的Dotnet是3.5版本,而VMWARE 的vShpere用的是2.0。解决方法如下:


1. 打开文件夹: C:/Program Files(X86)/Vmware/Infrastructure/Virtual Infrastructure Client/Launcher


2. 编辑文件 VpxClient.exe.config 增加如下内容(红色显示):

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <system.net>
            <connectionManagement>
                <clear/>
                <add address="*" maxconnection="8" />
            </connectionManagement>
        </system.net>
        <appSettings>
            <add key = "protocolports" value = "https:443"/>
        </appSettings>
        
<runtime>
            <developmentMode developerInstallation="true"/>
        </runtime>

    </configuration>


3. 创建一个文件夹,放dotnet2.0的 System.dll 放到新建的文件夹中。

 

4. 编辑系统的环境变量,新增一个叫DEVPATH环境变量,值就是你放dotnet2.0的System.dll的目录,比如我的:
    C:/Program Files(x86)/VMware/Infrastructure/Virtual Infrastructure Client/Launcher/Lib

现在,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 (x86)/VMware/Infrastructure/VIUpdate 4.0/
注意一下,这个里面说到的System.dll文件可以在XP等之类的装了.net 2.0的机器上复制到,具体位置位于
%SystemRoot%/Microsoft.NET/Framework/v2.0.50727/System.dll,Win7自带的就是.net 3.5了。

 

 

原文地址 http://wenxuecn.blog.163.com/blog/static/2208345200973032136401/