[openamq-dev] HA pair & Wire API

Martin Sustrik sustrik at imatix.com
Fri Dec 7 08:54:46 CET 2007


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



More information about the openamq-dev mailing list