You can configure Hybrid Cloud Manager to work with a proxy server.

Proxy Server Settings

Argument

Description

-Dhttps.proxyHost=<proxy-server>

IP address or hostname of the proxy server, if name resolution is in place

-Dhttps.proxyPort=<proxy-server-port>

IP port required for the proxy server

-Dhttp.nonProxyHosts="localhost|127.*|<other-local-IP-ranges>"

 

IP addresses, subnets, or domain names that can be accessed without going through the proxy server. You provide these values in a string, where the names or addresses are separated with the | character. Wildcards are supported. For example:

"localhost|127.*|corp.mydomain.com|192.168.*|172.16.*|10.*|<additional-host>"

Perform the manual configuration process after you register the Hybrid Cloud Manager service virtual appliance with the vCenter, and before you register the Hybrid Cloud Manager with the vCloud Air Endpoint.

To configure the proxy, modify the /etc/rc.d/init.d/app-engine and /etc/rc.d/init.d/web-engine scripts to include the proxy information, and then restart both services.

Before configuring the proxy settings, you must know:

The proxy server IP address or host name (for example, proxy.xyz.com)

The proxy port number on the proxy server (for example, 8080)

The subnets, domain names, or host IP addresses that do not need to use the proxy server. Specify both the local domain name and the private subnet to avoid using the proxy server for your local network.

1

Log in to the Hybrid Cloud Manager service virtual appliance using the console or remote SSH.

2

Supply the admin user name and password you set when you installed the Hybrid Cloud Manager. If you did not set your own login information, the default user name is admin, and the default password is vmware.

3

Switch user to root.

4

Change directory to: /etc/rc.d/init.d

5

Make copies of the original web-engine and app-engine scripts.

6

Edit /etc/rc.d/init.d/app-engine to add the proxy information, as shown in the following sample.

java -Xmx2048m -Xms2048m -XX:MaxPermSize=512m ‑Dhttps.proxyHost=myproxy.mycompany.com ‑Dhttps.proxyPort=8080 
‑Dhttp.nonProxyHosts="localhost|127.*| 192.168.* | 172.16.* | 10.*" ‑DUSE_HTTP_TUNNELING=true 
‑Djavax.xml.bind.JAXBContext=com.sun.xml.internal.bind.v2.ContextFactory ‑Djsse.enableSNIExtension=false 
‑Dext.properties.dir=/etc/hybridity/app‑engine ‑Dlogback.configurationFile=/etc/hybridity/app‑logback.xml 
‑jar /usr/local/platform‑jars/application‑engine‑1.0.jar >> $LOG_FILE 2>&1 &date >> $LOG_FILE
echo "Done."
7

Edit /etc/rc.d/init.d/web-engine to add the proxy information.

java -Xmx2048m -Xms2048m -XX:MaxPermSize=512m ‑Dhttps.proxyHost=proxy.xyz.com ‑Dhttps.proxyPort=8080 
‑Dhttp.nonProxyHosts="localhost|127.*| 10.* | *.eng.xyz.com" 
‑Djsse.enableSNIExtension=false ‑DsslEnabled=false ‑Dext.properties.dir=/etc/hybridity/web‑engine 
‑Dspring.config.location=/etc/hybridity/web‑engine/application.properties 
‑Dlogging.config=/etc/hybridity/web‑logback.xml 
‑jar /usr/local/platform‑jars/web‑server‑0.1.0.war >> $LOG_FILE 2>&1 & 
echo "Done."
8

From a browser, specify the IP address for the Hybrid Cloud Manager appliance and log in to the Hybrid Cloud Manager Management Portal.

9

Go to the Summary tab.

10

Under Hybridity Management Components, find the "Web Engine" service listed under "Hybridity Management Components."

11

Stop and start the Web engine and the application engine.

12

Go to the vSphere Web client, log out, and log back in.