We have static cluster with replication (master and slave instance / 1 host ,
3 hosts ) when I test shutting down 1 or more slaves topology is not
updated. Is this normal behavior, master notices that replicating fails and
stops that but thats it? When I try shutting down master instances
everything works fine including failback of slave when i start master node
again....

Master ha config:
    ...
    <ha-policy>
          <replication>
            <master>
              <check-for-live-server>true</check-for-live-server>
            </master>
         </replication>
      </ha-policy>
    ....
    slave ha config:
    ...
    <ha-policy>
         <replication>
            <slave>
               <allow-failback>true</allow-failback>
            </slave>
         </replication>
     </ha-policy>
      
      Cluster config is similar in all nodes ... (all master cluster
connections listed)

      ...
      <cluster-connections>
        <cluster-connection name="test-cluster">
            <connector-ref>netty-connector</connector-ref>
            <retry-interval>5000</retry-interval>
            <use-duplicate-detection>true</use-duplicate-detection>
            <message-load-balancing>ON_DEMAND</message-load-balancing>
            
            <max-hops>1</max-hops>
            <static-connectors>
                <connector-ref>broker02_master</connector-ref>
                <connector-ref>broker03_master</connector-ref>
            </static-connectors>
        </cluster-connection>
      </cluster-connections>

      <cluster-user>ripa-cluster-user</cluster-user>
      <cluster-password>cluster-password</cluster-password>

      <connectors>
          
          <connector
name="netty-connector">tcp://xxx.18.120.133:61616</connector>
          
          <connector
name="broker02_master">tcp://xxx.18.120.137:61616</connector>
          <connector
name="broker03_master">tcp://xxx.18.120.141:61616</connector>
      </connectors>

      <acceptors>
         
         
         
         <acceptor
name="artemis">tcp://0.0.0.0:61616?useEpoll=true;?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576</acceptor>
       </acceptors>



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

Reply via email to