1 Reply Latest reply on Sep 26, 2012 7:02 AM by garytully

    Is it possible to have HA with only network of brokers (no master/slave)?

    vrmy

      Hi,

       

      someone told me that it's possible to configure FUSE MQ to have HA (High availability)/Fault tolerance with just network of brokers. So there are no master-slave pairs.

      This would mean that all nodes in cluster replicates the full state to each other so when one node fails then client failover to other node and can continue to work as nothing happened and client can receive all messages (no message is lost).

       

      Is it possible to configure it in this way?

      If yes is there an example of configuration?

       

      Thank you,

       

      Mirek

        • 1. Re: Is it possible to have HA with only network of brokers (no master/slave)?
          garytully

          If you are ok with gaps in message delivery and you are using persistent messages then yes.

          A network is always store and forward, so the state is not replicated, it just moves between brokers on demand.

           

          If a broker goes down, any messages on the broker (at the time that it stopps) will be unavailable until that broker restarts.

           

          From an application perspective these messages will appear as missing and other messages may be received before them (order cannot be guaranteed in a complex network scenario)

           

          A typical deployment uses master/slave pairs for netwok nodes such that a slave can take over on demand and make pending messages available very quickly.

           

          If you are using fire and forget non persistent messages, then inflight messages will be replayed, but pending messages will be lost if a broker dies before it can dispatch them. ie: normal non-persistent failover semantics