Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1018

When live-slave fails-back to master, it turns off everything down, even its console

XMLWordPrintable

    • Release Notes
    • In high-availability configurations, AMQ Console is now accessible when a slave broker returns control to the master broker. Previously, AMQ Console would become unavailable for the slave broker when it gave control back to the master broker.
    • Documented as Resolved Issue
    • Hide

      restart backup

      Show
      restart backup
    • Hide

      1) Set up HA pair with slave <allow-failback>true</allow-failback>
      2) Kill master
      3) Make sure slave becomes live
      4) Start master again, slave gives control to master and becomes a slave
      5) Console of slave (backup now) becomes inaccessible

      Show
      1) Set up HA pair with slave <allow-failback>true</allow-failback> 2) Kill master 3) Make sure slave becomes live 4) Start master again, slave gives control to master and becomes a slave 5) Console of slave (backup now) becomes inaccessible

      When slave goes from live back to backup, it shuts down everything. Even its own hawtio console. That should not happen. By default console is always available.

      Active backup, after master when down:
      [root@mtoth-rhel74-5 ~]# netstat -nlp |grep java | sort
      tcp6       0      0 :::1099                 :::*                    LISTEN      2449/java           
      tcp6       0      0 172.0.0.14:1883         :::*                    LISTEN      2449/java           
      tcp6       0      0 172.0.0.14:5445         :::*                    LISTEN      2449/java           
      tcp6       0      0 172.0.0.14:5672         :::*                    LISTEN      2449/java           
      tcp6       0      0 172.0.0.14:61613        :::*                    LISTEN      2449/java           
      tcp6       0      0 172.0.0.14:61616        :::*                    LISTEN      2449/java           
      tcp6       0      0 :::34259                :::*                    LISTEN      2449/java   
      >> tcp6       0      0 :::8161                 :::*                    LISTEN      2449/java                  
      udp6       0      0 231.7.7.7:9876          :::*                                2449/java           
      udp6       0      0 231.7.7.7:9876          :::*                                2449/java           
      udp6       0      0 :::56983                :::*                                2449/java           
      
      Giving control back to resurrected live broker
      [root@mtoth-rhel74-5 ~]# netstat -nlp |grep java | sort
      tcp6       0      0 :::1099                 :::*                    LISTEN      2449/java           
      tcp6       0      0 :::34259                :::*                    LISTEN      2449/java           
      udp6       0      0 231.7.7.7:9876          :::*                                2449/java 
      

      Observe console port 8161 being inaccessible (console goes down)

            sknot@redhat.com Stanislav Knot (Inactive)
            mtoth@redhat.com Michal Toth
            Michal Toth Michal Toth
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: