Cluster management
Throughout this book, we have seen how to set up and use Hazelcast to support our application, but once we start using it, we will need to maintain and support our cluster. While we can gain great insight into the goings on programmatically, this will take some effort to capture and control all aspects of the cluster. A part of our downloaded archive is Hazelcast's own management center (mancenter-3.5.war
), which provides access to cluster and collection information as well as management and support capabilities. While this is a commercial product, it is currently free to be used with a cluster of up to two nodes.
JMX statistics
If we want to have more ownership of our cluster's monitoring potential integrated into our own monitoring and alerts infrastructure, we can additionally expose metrics via a JMX interface directly provided by each Hazelcast instance. We can then use the capturing capabilities provided by technologies such as collected or Munin to harvest...