3 minutes
End-of-Life Technology: How to Drive Innovation Without Compromising Stability
When legacy systems approach end-of-life (EOL), enterprise IT teams typically face the choice of moving forward at all costs […]
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.
{{cta(‘4c7626f5-1e53-418e-90c8-add6e4af19c9’)}}
Share:
3 minutes
When legacy systems approach end-of-life (EOL), enterprise IT teams typically face the choice of moving forward at all costs […]
3 minutes
Working with enterprise Java databases can sometimes feel like swimming upstream. Jakarta EE 11’s Jakarta Data helps developers glide […]
5 minutes
Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]
Link to https://docs.payara.fish/documentation/payara-server/hazelcast/discovery.html inside the text is broken.
Hi Krzysctof – thanks! I fixed the link and it should work for you now.