Did You Know? Payara Platform Can Cluster By DNS
Originally published on 17 Dec 2018
Last updated on 19 Dec 2018
Hazelcast in the Payara Platform offers several ways to configure how instances cluster. One new way is by using DNS records.
This can be done when starting Payara Micro by using the command line option --clustermode dns:domainname:port i.e.
java -jar payara-micro.jar --clustermode dns:www.payara.fish:4900
Or alternatively in the Data Grid page in the admin console of Payara Server:
Payara will look up the domain name in the local hosts file and the public 'A ' records of the given domain and try to connect to those locations to cluster with. This works whether the domain names has one or several IP addresses associated with it, in which case it will try to connect to all of them, for both IPv4 and IPv6. If no port is specified then Payara will try to connect to port 4900 by default.
You can find out more about the discovery modes Payara supports in our documentation.
Download the latest Payara Platform Release:
Related Posts
Payara Platform Community 7 Alpha 2: Your Gateway to Jakarta EE 11
Published on 03 Dec 2024
by Luqman Saeed
0 Comments
What’s New In The Payara Platform November 2024 Release?
Published on 20 Nov 2024
by Luqman Saeed
0 Comments