activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Pocock (JIRA)" <>
Subject [jira] [Created] (ACTIVEMQ6-85) Add support for HA cluster / failover discovery using DNS SRV records
Date Mon, 02 Mar 2015 09:05:04 GMT
Daniel Pocock created ACTIVEMQ6-85:

             Summary: Add support for HA cluster / failover discovery using DNS SRV records
                 Key: ACTIVEMQ6-85
             Project: Apache ActiveMQ 6
          Issue Type: New Feature
    Affects Versions: 6.0.0
            Reporter: Daniel Pocock

Copied from HORNETQ-1270

The DNS SRV record provides a convenient and well known mechanism to configure active-active,
load balanced clusters and to provide failover information.

It is convenient for many people because they already have DNS servers and support staff are
usually familiar with the procedures for maintaining the DNS entries.

DNS SRV also allows port numbers to be advertised.

The clustering support using UDP multicast doesn't work for all sites, especially where the
user is more concerned with failover than load-balancing.

A specific DNS SRV implementation may involve some or all of the following:

- clients discovering a HornetQ, JNDI or STOMP host and port

- servers dynamically deciding which IPs and ports to bind to by checking DNS SRV records

- servers dynamically deciding which other servers to cluster with by checking for DNS SRV

DNS SRV records may look like this: IN SRV 1 50 5566 IN SRV 2 50 5566

A STOMP client would then be configured with just the domain name "" and
it would dynamically discover the hosts and ports from DNS

This message was sent by Atlassian JIRA

View raw message