[openamq-dev] HA pair & Wire API

Dmitri Tsyganov dmitri.tsyganov at dowjones.com
Fri Dec 7 18:04:27 CET 2007


Thanks, Martin

Yes, I see that the failover works on the broker side as documented. 
So do you know if client side (Wire API) will implement failover or it
should be handled in applications?

Thank you,

Dmitri


On Fri, 2007-12-07 at 08:54 +0100, Martin Sustrik wrote:
> Dmitri,
> 
> No, the failover implementation is incomplete, but still functional. In 
> fact, we are using it in production.
> 
> On broker side, transition of control between the two brokers is 
> implemented. I.e. only one broker is active at time, the other one 
> refusing connections.
> 
> That way, your applications should try to connect to one broker and if 
> connecting fails - because broker is either down or it is non-active 
> backup broker - it should try to connect to the other broker in the HA pair.
> 
> Martin
> 
> > Is HA pair automatic fail-over supported in Wire API?
> > 
> > According to the doc, I should be able to provide a host list -
> > 
> > Client-side Semantics
> > Our goal with high-availability is to make the client semantics very
> > simple: 
> > 
> >      1. Client applications should know both HA peer addresses. In the
> >         client APIs we allow the "hostname" to be specified as a list.
> >         This list would contain two server names/addresses.
> > 
> > but I am not sure how. Maybe I am missing something.
> > 
> > Second problem I have is that I can't connect to a backup server with
> > amq_shell - my connection gets rejected. I think connection from shell
> > should be allowed, according to the doc.
> > 
> > Thank you,
> > 
> > Dmitri
> > _______________________________________________
> > openamq-dev mailing list
> > openamq-dev at lists.openamq.org
> > http://lists.openamq.org/mailman/listinfo/openamq-dev
> 
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev


More information about the openamq-dev mailing list