Discussion:
[jboss-user] [Beginner's Corner] - Running several JBOSS 7_1_1 clusters on the same network
Siddhartha De
2013-08-01 12:41:44 UTC
Permalink
Siddhartha De [https://community.jboss.org/people/sid_de] created the discussion

"Running several JBOSS 7_1_1 clusters on the same network"

To view the discussion, visit: https://community.jboss.org/message/830943#830943

--------------------------------------------------------------
Hi Guys :)

   Ok ... so I need to run more than one JBOSS cluster on the same network .

  1>  Now from what I understand the UDP Multicast address needs to be unique for each of the clusters ... am I right ?
   2> Also instead of having different addresses for different clusters , will having different ports suffice ? 
   3> In the standalone-ha.xml file I see the following line :- 

                          <socket-binding name="jgroups-udp" *port="55200"* multicast-address="${jboss.default.multicast.address:230.0.0.4}" *multicast-port="45688"*/>                                                                               
Wolf-Dieter Fink
2013-08-01 18:44:46 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Running several JBOSS 7_1_1 clusters on the same network"

To view the discussion, visit: https://community.jboss.org/message/831015#831015

--------------------------------------------------------------
1> Yes
2> Yes, but there was a JDK bug in the past where the port was not respected. But I think this is not an issue ATM and the combination address-port must be unique
3> one port is related to the multicast and one is used together with the real-ip, so it depends on the configuration
     if you use MCast you can change the m-cast port only
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831015#831015]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Siddhartha De
2013-08-02 09:16:32 UTC
Permalink
Siddhartha De [https://community.jboss.org/people/sid_de] created the discussion

"Re: Running several JBOSS 7_1_1 clusters on the same network"

To view the discussion, visit: https://community.jboss.org/message/831120#831120

--------------------------------------------------------------
Hi Wolf ,

  Thank you for your answers . 

Could you kindly elaborate on point 3  . I understand that the multicast-port is used for multicast messages which form the foundations of the cluster , but am still unclear as to what we need the port 55200 for .  

Also a few further add-on questions :-

4> Let us say that I have 2 clusters running with different multicast address + port combinations ... in case the cluster names  are  the same , will there be an issue ?  
5> The cluster names are the same as the names ( output of the hostname command ... assuming a Unix box ) of the first node starting the cluster right ?

6> Assuming that running more than 1 JBOSS cluster on the same network is a common requirement , what are the default methods that are generally used to guarantee unique multicast-address + port combinations ? 
  In our case we were thinking about setting the last 3 octets of the multicast address as the same as the last 3 octets of the IP address of the first node of  the cluster   ( assuming locally assignable multicast addresses belong to the range 239.0.0.0  -  239.255.255.255  )     .  
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831120#831120]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Loading...