Basic configuration
- Data Fabric
- MDM Platform
Procedure
- 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.1
The properties are explained in the table below:Property
Description
hz.group.name Defines the name of a cluster group.
hz.group.password Defines the password of a cluster group.
The password will be encrypted during the MDM server startup.
hz.network.port Specifies the port that Hazelcast will use to communicate between cluster members.
hz.network.port-auto-increment Indicates whether to enable the auto increment feature of the port specified by hz.network.port.
According to the above example, Hazelcast will try to find free ports between 5705 and 5805.
hz.multicast.enabled Indicates whether the multicast discovery is enabled or not. Its value can be true or false.
hz.tcp-ip.enabled Indicates whether the TCP/IP discovery is enabled or not. Its value can be true or false.
hz.members 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.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!