I'm trying to setup a replicated failover cluster I can't seem to get them to
connect.
Can someone please review the broker.xml below and let me know if I'm doing
this right.

Thanks

Mike

Enviroment:

AWS EC2
Windows 2016
Java 1.8.0_131
Testing using Artemis.cmd run

I am able to connect using SSL to the Master using JMStoolbox on 61617

Master Server:

                <ha-policy>
                        <replication>
                                <master/>
                        </replication>
                </ha-policy>

                <connectors>
                        <connector
name="server1-ssl-connector">tcp://XXXXX01:61617?sslEnabled=true</connector>
                </connectors>
                
                <cluster-user>xxxxx</cluster-user>
                <cluster-password>xxxxx</cluster-password>
                
     <cluster-connections>
         <cluster-connection name="fmi-east1-cluster">
            <connector-ref>server1-ssl-connector</connector-ref>
            <retry-interval>500</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>server0-ssl-connector</connector-ref>
                           <connector-ref>server1-ssl-connector</connector-ref>
            </static-connectors>
         </cluster-connection>
      </cluster-connections>

          
      <acceptors>
         <acceptor
name="netty-ssl-acceptor">tcp://0.0.0.0:61617?sslEnabled=true;keyStorePath=/Apache/apache-artemis-2.0.0/bin/fmibroker/etc/key/masterbroker.ks;keyStorePassword=xxxxx</acceptor>
      </acceptors>


Slave Server:

                <ha-policy>
                        <replication>
                                <slave/>
                        </replication>
                </ha-policy>
        
                <connectors>
                        <connector
name="server1-ssl-connector">tcp://XXXXX02:61617?sslEnabled=true</connector>    
                                
                </connectors>
                
                <cluster-user>xxxxx</cluster-user>
                <cluster-password>xxxxx</cluster-password>              
                

      <cluster-connections>
         <cluster-connection name="fmi-east1-cluster">
            <connector-ref>server1-ssl-connector</connector-ref>
            <retry-interval>500</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>server0-ssl-connector</connector-ref>
                           <connector-ref>server1-ssl-connector</connector-ref>
            </static-connectors>
         </cluster-connection>
      </cluster-connections>

          
      <acceptors>
         <acceptor
name="netty-ssl-acceptor">tcp://0.0.0.0:61617?sslEnabled=true;keyStorePath=/Apache/apache-artemis-2.0.0/bin/fmibroker/etc/key/slavebroker.ks;keyStorePassword=xxxxx</acceptor>
      </acceptors>

          






--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-replicated-failover-cluster-question-tp4725551.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to