I am trying to start Jboss-6.0 installation in RedHat SELinux environment. Here is some information.
I have 3 different physical boxes with following IP addresses. 10.0.1.101, 10.0.1.102, 10.0.1.103 and have Jboss-6.0.0 unzipped in /usr/jboss-6.0.0 directory.
created node1, node2, node3 in different servers by copying /server/all to /server/node1 etc.
I am trying to start jboss using clustering with following
./run.sh -c node1 -g <partitionName> -b 10.0.1.101 -Djboss.messaging.ServerPeerID=1
./run.sh -c node2 -g <partitionName> -b 10.0.1.102 -Djboss.messaging.ServerPeerID=2
./run.sh -c node3 -g <partitionName> -b 10.0.1.103 -Djboss.messaging.ServerPeerID=3
First question, How do i know all these 3 are in clustered? I didnot see any kind of message in console saying "all are in <partitionName>" something ....
Please help me how test or make sure all these servers are in cluster.
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.
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 18.104.22.168 -b X.X.X.61 -Djboss.messaging.ServerPeerID=1
./run.sh -c node1 -g <default> -u 22.214.171.124 -b X.X.X.62 -Djboss.messaging.ServerPeerID=2
./run.sh -c node1 -g <default> -u 126.96.36.199 -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.
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.
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?