activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martk <123mar...@web.de>
Subject Re: Artemis master/slave startup results in two live broker
Date Wed, 19 Jul 2017 13:56:15 GMT
Extract of the master.xml ("check-for-live-server" set to false remains the
same results):

      <ha-policy>
         <replication>
            <master>
               <check-for-live-server>true</check-for-live-server>
            </master>
         </replication>
      </ha-policy>

      <connectors>
         <connector
name="netty-connector">tcp://192.168.0.10:61600</connector>
         <connector
name="netty-backup-connector-slave">tcp://192.168.0.11:61600</connector>
      </connectors>

      <acceptors>
         <acceptor name="netty-acceptor">tcp://0.0.0.0:61600</acceptor>
      </acceptors>

      <cluster-connections>
         <cluster-connection name="cluster">
            <connector-ref>netty-connector</connector-ref>
            <retry-interval>500</retry-interval>
            <use-duplicate-detection>true</use-duplicate-detection>
            <static-connectors allow-direct-connections-only="true">
               <connector-ref>netty-backup-connector-slave</connector-ref>
            </static-connectors>
         </cluster-connection>
      </cluster-connections>


Extract of the slave.xml

      <ha-policy>
         <replication>
            <slave>
               <allow-failback>false</allow-failback>
            </slave>
         </replication>
      </ha-policy>

      <connectors>
         <connector
name="netty-live-connector">tcp://192.168.0.10:61600</connector>
         <connector
name="netty-connector">tcp://192.168.0.11:61600</connector>
      </connectors>

      <acceptors>
         <acceptor name="netty-acceptor">tcp://0.0.0.0:61600</acceptor>
      </acceptors>

      <cluster-connections>
         <cluster-connection name="cluster">
            <connector-ref>netty-connector</connector-ref>
            <retry-interval>500</retry-interval>
            <use-duplicate-detection>true</use-duplicate-detection>
            <static-connectors allow-direct-connections-only="true">
               <connector-ref>netty-live-connector</connector-ref>
            </static-connectors>
         </cluster-connection>
      </cluster-connections>




--
View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-master-slave-startup-results-in-two-live-broker-tp4728676p4728679.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message