-
1. Jboss-6.0 Clustering question RedHat SELinux
wdfink Apr 9, 2011 2:14 PM (in response to pkondaka1)If you start the first you should find
'Number of cluster members: 1'
in you boot.log file.
If you start additional a message should logged that the number of Members is 2,3,4 ...
IF you want to see more you might change the category 'org.jgroups' to INFO/DEBUG/TRACE.
Also you can follow the example in .../deploy/jboss-logging.xml and log the cluster messages into a cluster logfile.
-
2. Jboss-6.0 Clustering question RedHat SELinux
pkondaka1 Apr 12, 2011 12:24 PM (in response to wdfink)As i mentioned in my post, i am starting jboss in cluster using 3 servers. I didnot see adding up members to 2, 3. always see "Number of cluster members:1" in three servers boot log.
this is how i am starting up.
./run.sh -c node1 -g <default> -u 224.0.3.61 -b X.X.X.61 -Djboss.messaging.ServerPeerID=1
./run.sh -c node1 -g <default> -u 224.0.3.61 -b X.X.X.62 -Djboss.messaging.ServerPeerID=2
./run.sh -c node1 -g <default> -u 224.0.3.61 -b X.X.X.63 -Djboss.messaging.ServerPeerID=3
DO i need to use same multicast IP address? Do i need to open up any ports, since it is behind the firewall?
Please help me.
Thanks
-
3. Jboss-6.0 Clustering question RedHat SELinux
wdfink Apr 12, 2011 1:54 PM (in response to pkondaka1)Yes, you need the same mcast address for the -u option.
The cluster is controlled by the JGroups framework.
I suppose you have problems with multicast, are your systems within the same sub-net?
You might check the multicast function with the JGroups itselve.
See http://http://community.jboss.org/wiki/TestingJBoss
Best is to check and see the function if you start two instances at the same system.
The third on the second should join in the test-cluster.
Did this work?