-
1. Re: Clustering on JBOSS 5.1 over different network
rhusar Dec 20, 2012 4:40 AM (in response to abhi8889)Hi Abhijeet,
So what seems to be happening, is that these 2 subnets are not able to talk to each other over UDP multicast.
- So either get the switch to forward this traffic
- or use TCP and static configuration to do this.
To do this, open this file:
jboss-as/server/all/deploy/cluster/jgroups-channelfactory.sar/META-INF/jgroups-channelfactory-stacks.xml
and configure static configuration using TCPPING instead of MPING.
Rado
-
2. Re: Clustering on JBOSS 5.1 over different network
abhi8889 Dec 21, 2012 7:13 AM (in response to rhusar)Hi Rado,
Thanks for your concern!!!!
I configured as suggested by you but still this two nodes (172.16.X.X and192.168.X.X) are not getting added in Cluster Group/View.
To start the JBOSS 5.1 Server I run following command:
On 172.16.X.X: run.bat -c all -g DocsPartition -u 231.12.X.X -b 172.16.X.X -Djboss.messaging.ServerPeerID=1 -Djboss.vfs.forceCopy=false
On 192.168.X.X:run.bat -c all -g DocsPartition -u 231.12.X.X -b 192.168.X.X -Djboss.messaging.ServerPeerID=2 -Djboss.vfs.forceCopy=false
I have attached the TCPING configured jgroups-channelfactoru-stacks.xml of both the nodes. Please provide assistence by referring those two.
Awaiting your reply!!!!