6.4 (Optional) Simplifying the Cloud Manager URL

The URL to access the Cloud Manager console is:

http://domain:HTTP_port (non-secure)

or

https://domain:secure_HTTP_port (secure)

where domain is the domain name of the server, and HTTP_port and secure_HTTP_port are the ports assigned when running the Cloud Manager configuration utility (see Section 6.1, Configuring GlassFish and the Database Connection).

Example URLs using the default ports might be:

http://cloudmanager.novell.com:8080

or

https://cloudmanager.novell.com:8181

The non-secure URL redirects automatically to the secure URL if the Cloud Manager Server is configured to support secure connections for the console.

If desired, you can eliminate the need to specify the ports by using ports 80 and 443. Because the GlassFish application server used by Cloud Manager does not bind to ports below 1024, you must configure the firewall on the Cloud Manager Server to redirect the ports to the standard 80 and 443 ports.

  1. On the Cloud Manager Server, open the /etc/sysconfig/SuSEfirewall2 file:

  2. Locate the FW_REDIRECT command and change it to:

    FW_REDIRECT="0/0,0/0,tcp,80,8080 0/0,0/0,tcp,443,8181"

    If the Cloud Manager Server is not using the default ports (8080 and 8181), substitute the used ports in the command.

  3. Locate the FW_SERVICES_EXT_TCP command and change it to:

    FW_SERVICES_EXT_TCP="443 80 8080 8181"

    If the Cloud Manager Server is not using the default ports (8080 and 8181), substitute the used ports in the command.

  4. In YaST > Firewall, start the firewall and configure it to start automatically at computer startup.

If you go to http://domain:80, you are still redirected to https://domain:8181 because of the GlassFish application server configuration. However, if you go to https://domain you never see the port redirection in the URL.