4 Replies Latest reply on Mar 24, 2014 10:05 AM by Yohann GUILLERME

    Jboss 5.1 failover takes a lot of time

    Vyacheslav Kutyumov Newbie

      Hello Everybody

      I have 2 nodes jboss cluster running on 5.1 AS.

      I'm trying to test the cluster behaviour in the case of network failure,

      When I plug-off network cables from the first node (actually down ports on Cisco switch) I see that second node starts failover quickly:

       

      2013-09-24 13:42:53,512 INFO [org.jboss.messaging.core.impl.postoffice.MessagingPostOffice] (Incoming-18,172.21.17.139:42254) JBoss Messaging is failing over for fa  
       iled node 1. If there are many messages to reload this may take some time...
      

      But it takes about 25 minutes to complete it:

      2013-09-24 14:07:47,279 INFO [org.jboss.messaging.core.impl.postoffice.MessagingPostOffice] (Incoming-18,172.21.17.139:42254) JBoss Messaging failover completed
      

       

      Once failover is completed the system starts working properly,

      I managed to find only one parameter about failover complete in deploy/messaging/messaging-service.xml, I set it as  

      <attribute name="FailoverCompleteTimeout">90000</attribute>
      

      But it didn't help.

      Could you please advise? thank you!