Management Center
Hazelcast Management Center enables you to monitor and manage your cluster members running Hazelcast. In addition to monitoring the overall state of your clusters, you can also analyze and browse your data structures in detail, update map configurations and take thread dumps from members. You can run scripts (JavaScript, Groovy, etc.) and commands on your members with its scripting and console modules.
See the Management Center documentation for its usage details.
Toggle Scripting Support
The support for script execution is disabled by default. The reason is security. Script engines allow to access the underlying system on the members (files and other resources). Scripts access the system, on which the member runs, with permissions of the running user.
Scripting can be allowed or prevented by specifying the scripting-enabled
attribute of
the management-center
element within the Hazelcast member configuration file, as shown below:
<hazelcast>
...
<management-center scripting-enabled="false" />
...
</hazelcast>
hazelcast:
management-center:
scripting-enabled: false
Note that the JSR 223 API is used in Hazelcast IMDG to support scripting.
Limiting Source Addresses
It’s possible to restrict the source IP addresses from which Management Center operations are allowed. By default all source connections are allowed.
Defining these source addresses is possible through the trusted-interfaces
configuration element. The wildcard (*
) and ranges can be used.
See the following example:
Clustered JMX and REST via Management Center
Hazelcast IMDG Enterprise
See the Hazelcast Management Center Documentation for information on Clustered JMX and Clustered REST (via Management Center) features.