Antonio Xavier Annasamy

Greenhorn
+ Follow
since May 11, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Antonio Xavier Annasamy

Hi All

I have managed to create a horizontal JBOSS cluster over TCP in our environment. The files which needed the cluster config changes are:

1. $JBOSS_HOME/server/<instance name>/deploy/cluster-service.xml
2. $JBOSS_HOME/server/<instance name>/deploy/ejb3-clustered-sfsbcache-service.xml
3. $JBOSS_HOME/server/<instance name>/deploy/ejb3-entity-cache-service.xml
4. $JBOSS_HOME/server/<instance name>/deploy/jboss-web-cluster.sar/META-INF/jboss-service.xml

(Please let me know, if I have missed out any other files.)

Now in all the above files when I used port number 7800. The cluster is formed, but there are messages which get generated about packets being dropped.
For example
cluster-service.xml from one node tries to connect to ejb3-clustered-sfsbcache-service.xml or ejb3-entity-cache-service.xml or META-INF/jboss-service.xml of the second node.
But the second node denies this request due to a different name and drops the request. (The cluster is still intact. Same files across different nodes are in communication, but cross file communication is dropped)
Is this normal? Is this how it should be?

To avoid these messages I have configured different ports for the above files across the cluster.
For example:
Port number in cluster-service.xml across all nodes is 7800
Port number in ejb3-clustered-sfsbcache-service.xml across all nodes is 7900
Port number in ejb3-entity-cache-service.xml across all nodes is 7950
Port number in META-INF/jboss-service.xml across all nodes is 8000

Is this approach correct? I haven't tested this setup with any application yet, but will be doing it later.

Please let me know if I am doing this wrong

Regards

Antonio





14 years ago
Thank you...

Nope sorry....the .zip extension wasnt accepted either!!!

Regards

Antonio
14 years ago
Hi

I am trying to create a jboss cluster of 2 nodes. Here is the setup required.

1. NodeA is on server1 on VLAN1
2. NodeB is on server2 on VLAN2.
3. No UDP Multicast traffic allowed.

What I have tried so far is ... in cluster-service.xml on both the servers

in server1


and in server2, the bind_addr="server2" and TCPPING initial_hosts="server1[7800]" port_range="3"

This didnt work...
More info on the servers.... I can ping server1 from server2 and vice versa
I am connecting to server2 from server1 via ssh and vice versa is also possible.

I tied the following config as well...instead of using the multicast over UDP, I tried multicast over TCP


The same config on both the servers. But this config gives me errors while starting. I have attached the error file for that.(Hmm ... I am not able to attach files to the post!!! Getting the following err message...."Files with the extension .txt are not allowed as attachment in the message")

More info 224.0.0.1 is the only multicast IP working in our environment. i can ping this IP from both server1 & server2. I dont know if I am missing something or doing something wrong.
Are there any other files which needs to be changed? is it possible to cluster 2 nodes across different VLAN's??

I would greatly appreciate any help.

Regards

Antonio
14 years ago