1 Reply Latest reply on Jan 30, 2012 9:11 AM by Wolf-Dieter Fink

    Clustering issue

    navuri prasad Newbie

      Hi guys,


                     I'm able to run two different nodes in same system and its working fine.i'm  using below commands to run different nodes



      run.sh  node1 -Djboss.service.binding.set=ports-01  -u -c all -b -Djboss.messaging.ServerPeerID=1




      run.sh  node2 -Djboss.service.binding.set=ports-default -u -c all -b -Djboss.messaging.ServerPeerID=2



      I have tested sending request its working fine if and only if change the port number in URL.







      Manually I'm changing port numbers.Please let me know any another approach is there.


      Thanks in advance.

        • 1. Re: Clustering issue
          Wolf-Dieter Fink Master

          Hello again,


          you have only one other option. You can use IP binding instead of change port numbers with offset.


          Your start command are like this:

          run.sh  node1 -u -c all -b -Djboss.messaging.ServerPeerID=1

          run.sh  node2 -u -c all -b -Djboss.messaging.ServerPeerID=2


          In this case you have to add the virtual IP address to the system network configuration


          i.e. add simple virtual IP address for Linux:

          # ifconfig             ( query configuration)

          em1      inet addr: ....

                      UP BROADCAST RUNNING MULTICAST ....


          ifconfig em1:0     (add *.10 to the configuration)

          ifconfig em1:1


          You can access with: