Did You Know? Payara Platform Can Cluster By DNS

Payara

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:

 

hzcluster_domainnam1

 

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:

{{cta(‘4c7626f5-1e53-418e-90c8-add6e4af19c9’)}}

Comments (2)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

  1. Krzysztof Wolf
    1. Debbie Hoffman

      Hi Krzysctof – thanks! I fixed the link and it should work for you now.

Related Posts

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]

Payara promotional graphic showing transition from Spring to Jakarta EE, including technology logos, a code icon and arrows leading from Spring to Jakarta EE. 6 minutes
Jakarta EE

From Spring Boot To Jakarta EE 11: How Payara Starter Eases The Transition

If you’ve been living in the Spring ecosystem, you’re used to fast project setup. Spring Initializr gives you a […]

Promotional graphic for a podcast episode titled “Why Open Source is the Future of Business Innovation - A conversation with Arun Gupta”. The podcast is hosted by Payara Community. The right side features a photo of the speaker, Arun Gupta, labeled as a “VP, Developer Experience at JetBrains”. The design uses dark blue and teal backgrounds with coral and fish illustrations. 2 minutes
Community

Payara Podcast – Why Open Source is the Future of Business Innovation – A Conversation with Arun Gupta

Open source is no longer a developer-only concern — it’s at the heart of how modern businesses innovate, build […]