Tanzu GemFire Management Console 1.2

Installation

Last Updated February 19, 2025

This topic describes installing the VMware Tanzu GemFire Management Console.


Prerequisites

To run the VMware Tanzu GemFire Management Console, you must have the following:

  • A Broadcom Customer Support Portal account.

  • Operating System:

    • macOS
    • Windows 10, Windows 11
  • If installing from a JAR file, JDK 11 or JDK 17.

    Java 8 is not supported.

    When using Java 17, Tanzu GemFire Management Console requires the following access flags (in the example below we use version 1.2.1 of the Management Console):

    java --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED \
    -jar vmware-gemfire-management-console-1.2.1.jar --server.port=7077
    
  • Browser:

    • Chrome
    • Firefox
    • Safari
  • A running Tanzu VMware GemFire environment:

    • Tanzu GemFire 9.15.x, 10.0.x, 10.1.x
    • Tanzu GemFire on Cloud Foundry 1.14.5+
    • Tanzu GemFire on Kubernetes 2.1+
  • Access to the VMware Tanzu GemFire Documentation.

Installation

Tanzu GemFire Management Console can be installed from a JAR, an OVA, or as an OCI Image.


JAR File Installation

To run the Tanzu GemFire Management Console JAR file:

  1. Log in to Broadcom Customer Support Portal with your customer credentials. For more information, see the Download Broadcom products and software article.
  2. Go to the VMware Tanzu GemFire Management Console downloads page. Select VMware Tanzu GemFire Management Console, and select a version.
  3. Click I agree to Terms and Conditions. Click the HTTPS Download icon next to VMware Tanzu GemFire Management Console.
  4. After the download has completed, move the JAR file into the file directory from which you intend to run it. The application will create a folder called VMware_GemFire_Management_Console in the directory where the application is started.
  5. In a terminal window, run the JAR file. For example, run:

    java -jar /Path/to/jar/file/vmware-gemfire-management-console-1.2.1.jar
    

    By default, the app starts at http://localhost:8080. If you use SSL/TLS for the Management Console, use the --server.port property to change the port number to 443 when starting the app.

    java -jar /Path/to/jar/file/vmware-gemfire-management-console-1.2.1.jar --server.port=443
    
  6. When you run this command, you should see output in your terminal that shows the Spring Boot app starting.
  7. Once the Spring Boot app has started, open a web browser and navigate to the host and port that you defined when you started the app.

OVA Installation

To use the Tanzu GemFire Management Console OVA:

  1. Log in to Broadcom Customer Support Portal with your customer credentials. For more information, see the Download Broadcom products and software article.
  2. Go to the VMware Tanzu GemFire Management Console downloads page. Select VMware Tanzu GemFire Management Console, and select a version.
  3. Click I agree to Terms and Conditions. Click the HTTPS Download icon next to VMware Tanzu GemFire Management Console OVA.
  4. To deploy the downloaded OVA, follow the instructions in Deploy an OVF or OVA Template in the VMware vSphere product documentation.

OCI Image Installation

To run the Tanzu GemFire Management Console OCI Image:

  1. In a terminal window, run the docker login command. Enter your customer credentials when prompted:

    docker login registry.packages.broadcom.com
    
  2. Pull the image from the Tanzu Network by running the following command:

    docker pull registry.packages.broadcom.com/gemfire-management-console/gemfire-management-console:1.2.2
    
  3. Run the image that you pulled from Docker by using the docker run command and map the port for the web browser to 8080. For example, in the command below we map the host’s port 8080 to the container’s 8080 port, where the app is running. If you use SSL/TLS for the Management Console, set the port number to 443

    docker run -p 8080:8080 registry.packages.broadcom.com/gemfire-management-console/gemfire-management-console:1.2.2
    
  4. Once the Spring Boot app has started, open a web browser and navigate to the host and port that you defined when you started the app. For the example above, you would navigate to http://localhost:8080.


Enabling SSL/TLS for Tanzu GemFire Management Console

It is recommended that you encrypt the traffic between your users browsers and the Tanzu GemFire Management Console using SSL/TLS. Tanzu GemFire Management Console builds on Spring Boot, and the SSL/TLS configuration follows the same patterns as for any Spring Boot application.

If you enable SSL/TLS for Tanzu GemFire Management Console, set the server port to 443.

server.port=443

If you leave the server port set to 8080, the Management Console runs on https://HOSTNAME:8080, and when logging out in LDAP and OAuth, Spring redirects the logout to port 8443. If you set the server port to 443, the logout redirection works as expected.

The other relevant server properties are in Server Properties in Common Application Properties in the Spring Boot product documentation. They are namespaced under server.ssl.*. You can save an application.properties file in the same directory as the Tanzu GemFire Management Console JAR file and the Java process will pick it up automatically.

Example application.properties:

server.port=443
server.ssl.enabled=true
server.ssl.key-store=file:./keystore.p12
server.ssl.key-store-type=PKCS12
server.ssl.key-store-password=password123
server.ssl.key-alias=gmc

Enable/Disable Hostname Verification

To connect to TLS-enabled GemFire clusters, users must upload keystore and truststore files and passwords. By default, Tanzu GemFire Management Console verifies that the cluster host is present in the Subject Alternative Names. However, for specific use cases where users need to disable hostname verification in their keystore and truststore files for all clusters, they can follow the instructions below.

  • JAR File Deployment:

    • Configure the property gmc.ssl-hostname-verification-enabled=false in the application.properties file.
    • Place the application.properties file in the same directory as the JAR file.
    • Restart the JAR.
  • OVA Deployment:

    • Configure the property gmc.ssl-hostname-verification-enabled=false in the application.properties file.
    • Place the application.properties file in the /opt/gemfire directory.
    • Restart the VM.
  • OCI Image Deployment:

    • Configure the property gmc.ssl-hostname-verification-enabled=false in the application.properties file.
    • Mount the application.properties file when starting the container.
    • Example command:
      docker run -it -v ./application.properties:/opt/gemfire/application.properties -p 8080:8080 gemfire-management-console:1.2.2