JBoss AS6 Clustering w/o multicast ServerPeerID trouble
bzumbrunnen Apr 17, 2011 3:42 PMHi Folks,
I'm new to JBoss, and am quite impressed with the thought given to the app server. I'm trying to set up a cluster of 2 nodes on a single AIX server. UDP multicast is not an option on the networks I play in, and with time, I now have the nodes starting without error on the tcp channel.
The good news is, they appear to have found each other. The bad news is, I'm getting a repeating log message:
There are more than one servers on the network broadcasting the same node id.
I think the
-Djboss.messaging.ServerPeerID=1 and -Djboss.messaging.ServerPeerID=2 command-line options are not being respected somehow. I've verified the JVM did add them to the System.getProperties.
Is there a configuration file I can hit to force the server peer id? Any other suggestions?
My command lines:
$JBOSS_HOME/bin/run.sh \
-c cluster_1 \
-g DEV_JBOSS \
-b localhost \
-Djava.awt.headless=true \
-Djboss.service.binding.set=ports-02 \
-Djboss.default.jgroups.stack=tcp \
-Djboss.jgroups.tcp.tcp_port=7800 \
-Djboss.jgroups.enable_diagnostics=false \
-Djboss.jgroups.diagnostics_port=7750 \
-Djboss.jgroups.tcp.tcpping.initial_hosts=localhost\[7800\],localhost\[7900\] \
-Djboss.jgroups.tcp.fd_sock_port=57800 \
-Djboss.messaging.ServerPeerID=1
$JBOSS_HOME/bin/run.sh \
-c cluster_2 \
-g DEV_JBOSS \
-b localhost \
-Djava.awt.headless=true \
-Djboss.messaging.ServerPeerID=2 \
-Djboss.service.binding.set=ports-03 \
-Djboss.default.jgroups.stack=tcp \
-Djboss.jgroups.tcp.tcp_port=7900 \
-Djboss.jgroups.enable_diagnostics=false \
-Djboss.jgroups.diagnostics_port=7850 \
-Djboss.jgroups.tcp.tcpping.initial_hosts=localhost\[7800\],localhost\[7900\] \
-Djboss.jgroups.tcp.fd_sock_port=57900
Thanks!
--Ben