- Browse to the <$INSTALLDIR>/conf/mdm.conf file and open it.
Edit the basic Hazelcast settings according to your needs.
By default, the member discovery mechanism by TCP/IP is configured for Hazelcast. You do not need to list all of these cluster members' hostnames and IP addresses, but at least one of the listed members has to be active in the cluster when a new member joins.
hz.group.name=dev hz.group.password=password hz.network.port=5705 hz.network.port-auto-increment=true hz.multicast.enabled=false hz.tcp-ip.enabled=true #Write comma-separated IP addresses, i.e., 192.168.100.10, 192.168.100.11 hz.members=127.0.0.1The properties are explained in the table below:
Defines the name of a cluster group.
Defines the password of a cluster group.
The password will be encrypted during the MDM server startup.
Specifies the port that Hazelcast will use to communicate between cluster members.
Indicates whether to enable the auto increment feature of the port specified by
According to the above example, Hazelcast will try to find free ports between 5705 and 5805.
Indicates whether the multicast discovery is enabled or not. Its value can be
Indicates whether the TCP/IP discovery is enabled or not. Its value can be
Lists IP address(es) of one or more well known members. Once members are connected to these well known ones, all member addresses will be communicated with each other.
- Save your changes to the file.