Wednesday, April 16, 2008

Configuring http protocol for Vmware ESX Server 3.5 Plug in for OEM

Both ESX Server 3.5 and VirtualCenter 2.5 handle connections to Web-based services, including the API and the Managed Object Browser (MOB), through an Http Reverse Proxy service. This service has its own
configuration file, proxy.xml, that can be modified to support HTTP connections to the ESX Server. See the ESX Server 3 Configuration Guide for complete details. Figure 2-1 shows a proxy.xml file that has been
modified to support HTTP for both the MOB and the SDK.

To modify the Web proxy service on ESX Server 3.5 to support HTTP
1 Log in to the service console as the root user.
2 Change directories to /etc/vmware/hostd.
3 Use a text editor to open the proxy.xml file.
4 Navigate to the list of endpoints in the file (identified by the tag) that contains settings for
the Web service supporting the SDK. The nested tags may look something like this:


5 Change the accessMode to httpAndHttps. Alternatively, to completely disable HTTPS, you can set to httpOnly.
6 Optionally, change the setting for the MOB as well.
7 Save your settings and close the file.
8 Restart the vmware-hostd process by entering the following command:
service mgmt-vmware restart


No comments: