Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11374

Master Artemis in Wildfly 10.1.0.Final is not announcing backup when restarted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Blocker
    • None
    • 10.1.0.Final
    • JMS
    • None

    Description

      I have 2 wildfly servers acting as artemis master and slave. I am expecting failback and replication and the related configurations are done for this to work.

      This is working as expected when I have the setup in Windows. Failing in linux RHEL 7.3 machine.

      master in standalone-full-ha.xml - refer master.xml

      slave in standalone-full-ha.xml - refer slave.xml

      In the startup script, I am passing all the values for placeholders of my server host ip's accordingly.

      Test scenario -

      1. Bring master up.

      2. Bring slave up.

      3. slave will announce the backup. (AMQ221031: backup announced).

      4. Make master down.

      5. Replication is success.

      6. Slave is acting as master/live.

      7. Make master up.

      Issue - master is unable to announce the backup and starts normally as a standalone wildfly.

      This backup announcement works fine in windows and failover also works as expected.

      Please let me know if anything specific required along with this details.

      Artemis jar version - artemis-*****-1.1.0.wildfly-017.jar
      in path - /opt/aor/${my project}/wildfly/modules/system/layers/base/org/apache/activemq/artemis/main

      Few logs I found which may be impacting and I am not clear -

      1.2018-11-21 14:28:07,238 TRACE [org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionBridge] (Thread-18 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@38e819b6-2112524495)) Setting up bridge between TransportConfiguration(name=http-connector, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?httpUpgradeEnabled=true&httpPpgradeEndpoint=http-acceptor&port=12080&host=135-250-139-30 and ServerLocatorImpl [initialConnectors=[TransportConfiguration(name=http-connector, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?httpUpgradeEnabled=true&httpPpgradeEndpoint=http-acceptor&port=12080&host=135-250-139-41], discoveryGroupConfiguration=null]: java.lang.Exception: trace
      at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionBridge.<init>(ClusterConnectionBridge.java:129)
      at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl.createNewRecord(ClusterConnectionImpl.java:778)
      at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl.nodeUP(ClusterConnectionImpl.java:698)
      at org.apache.activemq.artemis.core.client.impl.Topology$1.run(Topology.java:264)
      at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:103)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

      2.

      Attachments

        1. active standalone full ha.xml
          5 kB
        2. master.xml
          5 kB
        3. master and slave log samples on startup.txt
          8 kB
        4. master restart.txt
          10 kB
        5. master-server-linux.log
          166 kB
        6. master-server-windows.log
          113 kB
        7. master shutdown.txt
          5 kB
        8. rotateserver_active.log
          232 kB
        9. rotateserver_active.log
          145 kB
        10. rotateserver_backup.log
          61 kB
        11. rotateserver_slave.log
          113 kB
        12. slave.xml
          5 kB
        13. slave-server-linux.log
          128 kB
        14. slave-server-windows.log
          69 kB
        15. slave standalone full ha.xml
          5 kB

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            ev.srinivas@gmail.com Srinivas ev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: