You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by black&white <ra...@gmail.com> on 2019/11/21 16:12:32 UTC

Master/Slave setup over Loadbalancer

Our Current setup:  https call to Loadbalancer--> LB forwards the request to
activemq node on http transport port.

We are trying to convert our setup to a HA solution using Master/slave but
we were not sure how we can use failover transport to include both the
master and slave nodes in the call as we have only Loadbalancer Hostname.

If anyone had used this setup, please let us know.




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Master/Slave setup over Loadbalancer

Posted by Tim Bain <tb...@alumni.duke.edu>.
You'd just specify the load balancer's hostname within the failover
transport's URI. When a connection is broken and a reconnect occurs, the
client will simply make a new connection request to the load balancer and
it will be the load balancer's responsibility to route the connection to
the currently active master broker, as determined by the health checks you
establish on the load balancer.

Tim

On Thu, Nov 21, 2019 at 9:33 AM Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:

> Hi,
>
> Are you talking about ActiveMQ or Artemis ?
>
> About ActiveMQ, you can take a look on one of my blog:
> http://blog.nanthrax.net/?p=936
>
> I will blog about same behavior but with active/active using network of
> brokers.
>
> Regards
> JB
>
> On 21/11/2019 17:12, black&white wrote:
> > Our Current setup:  https call to Loadbalancer--> LB forwards the
> request to
> > activemq node on http transport port.
> >
> > We are trying to convert our setup to a HA solution using Master/slave
> but
> > we were not sure how we can use failover transport to include both the
> > master and slave nodes in the call as we have only Loadbalancer Hostname.
> >
> > If anyone had used this setup, please let us know.
> >
> >
> >
> >
> > --
> > Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Master/Slave setup over Loadbalancer

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

Are you talking about ActiveMQ or Artemis ?

About ActiveMQ, you can take a look on one of my blog:
http://blog.nanthrax.net/?p=936

I will blog about same behavior but with active/active using network of
brokers.

Regards
JB

On 21/11/2019 17:12, black&white wrote:
> Our Current setup:  https call to Loadbalancer--> LB forwards the request to
> activemq node on http transport port.
> 
> We are trying to convert our setup to a HA solution using Master/slave but
> we were not sure how we can use failover transport to include both the
> master and slave nodes in the call as we have only Loadbalancer Hostname.
> 
> If anyone had used this setup, please let us know.
> 
> 
> 
> 
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com