{{announcement.body}}
{{announcement.title}}

Hazelcast Mancenter: Manage Your Cache

DZone 's Guide to

Hazelcast Mancenter: Manage Your Cache

Check out an easy way to manage your caches. A pre-built GUI provided by Hazelcast itself to monitor and mange your data in a cluster.

· Java Zone ·
Free Resource

In my last article,  Hazelcast Setup using Java, we learned about how to set up the Hazelcast cluster and client using Spring Boot (Java). Continuing from there today, we will learn about the Hazelcast Management Center. This tool helps us:

  • To monitor caches.
  • To take thread dumps.
  • To update maps.
  • To check maps structure.
  • To update maps configurations.

Manage users

Hazelcast Management Center Setup

To set up the Hazelcast Management center download the Hazelcast WAR file from https://hazelcast.org/imdg/download/ or for versions lower than 3.8, it is usually packaged with the Hazelcast IMDG. To start with the management center:

  • Extract the downloaded file.
  • Open a terminal and move to the path till the start script file in man center
    cd ~/<path where mancenter file is extracted>/hazelcast-management-center-
    3.11
  • Run the start script by ./start.sh command
  • Your management center will start running by default on port 8080/mancenter.
    you can change the port at the start.sh file.

 



0
 Advanced issue found

 

localhost:8080/hazelcast-mancenter

Configuration in the Application

In the configuration file, add these two lines to enable the management center and describe the port

Java


Woosh! the Hazelcast management center setup has been done. We can now check our maps online at the localhost:8080/mancenter. Do try this if you have already configured your Hazelcast server to view your data in the cache.

Topics:
ambari, cache, hazelcast, hdfs, java, spring boot

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}