文章标签 ‘VMware’

使用vSphere底层搭建XenDesktop时需要对vcenter server配置文件进行修改,具体修改内容如下:

配置XenDesktop 5通过HTTP方式连接vCenter方法:

1、使用管理员登录到Center服务器;

2、修改vCenter的proxy.xml文件,文件路径如下:

Server 2003:

C:/Documents and Settings/All Users/Application Data/VMware/VMware VirtualCenter/proxy.xml

Server 2008:

C:/Users/All Users/VMware/VMware VirtualCenter/proxy.xml

Server 2008 R2:

C:/ProgramData/VMware/VMware VirtualCenter/proxy.xml

3、修改proxy.xml文件中的"/"和"/sdk"两节的内容

注意:这里就是注意的内容,XenDesktop 5相对于XenDesktop 4会需要多修改“/”节点的内容

4、修改accessMode的内容为httpAndHttps(默认值为httpsWithRedirect

1)、修改"/":
查找

1
<serverNamespace>/</serverNamespace>

在上方会有accessMode字段,修改内容为:

1
<accessMode>httpAndHttps</accessMode>

修改后如下图:

2)、修改"/sdk":
查找

1
<serverNamespace>/sdk</serverNamespace>

在上方会有accessMode字段,修改内容为:

1
<accessMode>httpAndHttps</accessMode>

修改后如下图:

5、修改完成后保存,并重启VMware VirtualCenter Server服务即可。

2012年5月2日15:36 | 评论关闭
分类: 虚拟化

隐藏VMware虚拟机中“安全删除硬件”图标可以用下面两种方法:
1、To disable the HotPlug capability using vSphere Client:
Connect vSphere Client to ESX or vCenter Server.使用vSphere客户端连接ESX主机或者vCenter.
Power off the virtual machine.关闭要更改的虚拟机.
Right-click the virtual machine and click Edit Settings.鼠标右键选择虚拟机并点击“编辑设置”.
Click the Options tab.选择“选项”标签.
Click General > Configuration Parameters > Add Row.依次点击“常规” > “配置参数” > “添加行”.
Insert a new row with the name devices.hotplug and value false.在新行中名称输入“devices.hotplug”,值输入“false”确定.
Power on the virtual machine.重启虚拟机.

2、To disable the HotPlug capability by editing the .vmx file:
Power off the virtual machine.关闭虚拟机
Access the ESX service console using an SSH client.使用SSH客户端连接到ESX主机
Open the virtual machine configuration file (.vmx) in a text editor. The default location is /vmfs/volumes///.vmx.打开虚拟机的配置文件.
Add the line:添加一行

devices.hotplug = "false"

Note: This setting does not interfere with HotPlug CPU/memory.
Save the file.保存文件
Power on the virtual machine.启动虚拟机.

2012年4月30日02:23 | 评论关闭
分类: 虚拟化
标签: , ,

开启ESXi主机的SSH功能后,在主机上会有警告标志:

ESXi主机进行设置后可以让主机不显示警告图标。
阅读全文...

2012年3月12日20:39 | 评论关闭
分类: 虚拟化
标签: , ,

首先运行Virtual Network Editor,修改VMnet所对应的Loopback接口:

然后修改虚拟机中的硬件配置,网卡使用“Custom”方式选择相应的VMnet网络:

虚拟中的网卡IP和对应的Loopback虚拟网卡IP地址设成相同网段即可通信。

2009年4月9日22:22 | 评论关闭
分类: 虚拟化
标签: ,