2 Replies Latest reply on Aug 19, 2013 7:58 AM by pnkj D.

    Cluster Standalone Jboss EAP6

    Ivan Chung Newbie

      Hello,

       

      I installed JBoss EAP6 on two physical nodes (2 different IP). I launch 1 jboss instance with standalone-ha.xml  on each node.

       

      The first instance (named jbc-poc-1) output following warning message, it seems they can failed to form a cluster group.

       

      [org.jboss.as.clustering] (MSC service thread 1-2) JBAS010238: Number of cluster members: 1

      .....

      [org.jgroups.protocols.TP$ProtocolAdapter] (Incoming-20,shared=udp) dropping unicast message to wrong destination jbc-poc-2/web; my local_addr is jbc-poc-1/web

       

       

      The second instance  (named jbc-poc-2) also output JBAS010238message but no unicast warning message

       

      [org.jboss.as.clustering] (MSC service thread 1-2) JBAS010238: Number of cluster members: 1

       

      First I though it was UDP is not availiable in our environment but I ‘ve tested UDP communication by using the Jgroup testing program and it is OK. I got the same warning message even I switch Jgroups to using TCP

       

      Is there any configuration need?

       

      Any help is appreciated!

       

      Ivan

        • 2. Re: Cluster Standalone Jboss EAP6
          pnkj D. Newbie

          For Clustering on 2 different m/c follow the below steps:

           

          Note: As both node is on different m/c so there is no need of setting offset.

           

            1. start the jboss node 1 as follows :

               ./standalone.sh -c standalone-ha.xml -u 230.0.0.4 -Djboss.node.name=node1 -b node1IP

           

            2. start the node 2 as follows :

             

               ./standalone.sh -c standalone-ha.xml -u 230.0.0.4 -Djboss.node.name=node2 -b node2IP

           

            

          Where:

          -c = is for server configuration file to be used

          -b = is for binding address

          -u = is for multicast address

          -Djboss.node.name = is for the name of the node

           

           

          3. as u can the message on both the server console that no. of cluster member=2

           

          4. in order to make clustering testing u have to deploy the application which uses <distributable/> tag in web.xml

           

          now u can test the application by hitting the url :  localhost:8080/myApp