2 Replies Latest reply on Aug 12, 2003 12:14 PM by belaban

    Jboss clustering on linux

      I'm trying to do some initial testing of clustering on jboss on linux and I'm having trouble getting the nodes to see each other. I've checked and multicast is enabled on the NIC and I have added the route for multicast as well, but the nodes still don't see each other. (Yes, I have purchased the clustering documentation).

      Details:
      PartitionName: DevJbossPartition
      Multicast IP: 228.1.2.9
      Multicast port: 45566

      In the server.log I can see that all the partition and clustering initialization goes fine, but both servers (jboss01, jboss02) say that there are no other nodes in the cluster.

      Looking at kernel routing table:
      Destination Gateway Genmask Flags Metric Ref Use Iface
      10.80.254.0 * 255.255.255.0 U 0 0 0 eth0
      127.0.0.0 * 255.0.0.0 U 0 0 0 lo
      224.0.0.0 * 240.0.0.0 U 0 0 0 eth0
      default gw.ebiz-randd.c 0.0.0.0 UG 0 0 0 eth0

      output of `cat /proc/net/igmp`
      [root@jboss02 deploy]# cat /proc/net/igmp
      Idx Device : Count Querier Group Users Timer Reporter
      1 lo : 0 V2
      090201E4 1 0:FFF9E81F 1
      010000E0 1 0:FFF9254A 0
      2 eth0 : 2 V2
      040000E6 1 0:FFFFE525 1
      010000E0 1 0:FFF9254B 0

      Does anyone know where I may be going wrong with this?

        • 1. Re: Jboss clustering on linux
          heartbit

          I'm not sure that this could be helpful though...

          Check your /etc/hosts and make sure that 127.0.0.1 has localhost and <real IP address> get some <human readable name> like following. (at every node)

          --
          127.0.0.1 localhost
          172.16.100.100 jboss1 jboss1.mydomain.com


          ,
          If it still dosen't work
          try allmulti set to your network interface.
          ifconfig eth0 allmulti


          ,
          Please let us know, if one of above solves your problem.

          GOOD LUCK!

          • 2. Re: Jboss clustering on linux
            belaban

            Is your box multi-homed ? If so, use UDP(bind_addr=XXX) and define XXX to be your eth0 device.
            Bela