943,948 Members | Top Members by Rank

Jun 12th, 2009
0

Jboss Clustering over TCP

Expand Post »
Hi

I am not sure whether this is the right forum to post, sorry if this the wrong form....
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
<Config>
<TCP bind_addr="server1" start_port="7800" loopback="true"
tcp_nodelay="true"
recv_buf_size="20000000"
send_buf_size="640000"
discard_incompatible_packets="true"
enable_bundling="false"
max_bundle_size="64000"
max_bundle_timeout="30"
use_incoming_packet_handler="true"
use_outgoing_packet_handler="false"
down_thread="false" up_thread="false"
use_send_queues="false"
sock_conn_timeout="300"
skip_suspected_members="true"/>
<TCPPING initial_hosts="server2[7800]" port_range="3"
timeout="3000"
down_thread="false" up_thread="false"
num_initial_members="3"/>
<MERGE2 max_interval="100000"
down_thread="false" up_thread="false" min_interval="20000"/>
<FD_SOCK down_thread="false" up_thread="false"/>
<FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
<VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
<pbcast.NAKACK max_xmit_size="60000"
use_mcast_xmit="false" gc_lag="0"
retransmit_timeout="300,600,1200,2400,4800"
down_thread="false" up_thread="false"
discard_delivered_msgs="true"/>
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
down_thread="false" up_thread="false"
max_bytes="400000"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000"
down_thread="false" up_thread="false"
join_retry_timeout="2000" shun="true"
view_bundling="true"/>
<pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
</Config>

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

This didnt work... the nodes didnt see each other in this case.... Apart from cluster-service.xml , are there any other files which needs to be looked into as well???

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
<Config>
<MPING timeout="2000"
bind_to_all_interfaces="true"
mcast_addr="224.0.0.1"
mcast_port="7500"
ip_ttl="8"
num_initial_members="3"
down_thread="false" up_thread="false"/>
</Config>

The same config on both the servers. But this config gives me errors while starting. I have attached the error file for that.

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
Attached Files
File Type: doc mping-err.doc (8.0 KB, 24 views)
Similar Threads
Reputation Points: 10
Solved Threads: 6
Junior Poster in Training
xav.vijay is offline Offline
52 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: anyway to bypass squid server keyword blocking?
Next Thread in Linux Servers and Apache Forum Timeline: Redirect with SOME Querystring Parameters Maintained?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC