Cluster not forming when using customize TCP stack in RH Data-Grid 8
Issue
- All Nodes not forming cluster.
- Nodes from clusterA trying to ping to other clusterB member.
- Nodes still using MPING even TCPPING is define in Customize TCP Stack
To use Customize TCP stack, If default tcp stack is inherited using (stack name=”tcp-ping” extends=”tcp”) then adding only TCPPING will not work.
<jgroups>
<stack name="custom_tcp">
<TCP bind_port="7800" port_range="30" recv_buf_size="20000000" send_buf_size="640000"/>
<TCPPING
initial_hosts="${jgroups.tcpping.initial_hosts:x.x.x.x[7800], x.x.x.x[7800], x.x.x.x[7800],
x.x.x.x[7800], x.x.x.x[7800], x.x.x.x7800]}"
port_range="0"/>
<MERGE3 />
<FD_SOCK />
<FD_ALL timeout="3000" interval="1000" timeout_check_interval="1000" />
<VERIFY_SUSPECT timeout="1000" />
<pbcast.NAKACK2 use_mcast_xmit="false" xmit_interval="200" xmit_table_num_rows="50"
xmit_table_msgs_per_row="1024" xmit_table_max_compaction_time="30000" />
<UNICAST3 xmit_interval="200" xmit_table_num_rows="50" xmit_table_msgs_per_row="1024"
xmit_table_max_compaction_time="30000" conn_close_timeout="5000" />
<pbcast.STABLE desired_avg_gossip="2000" max_bytes="1M" />
<pbcast.GMS print_local_addr="false" join_timeout="${jgroups.join_timeout:2000}" />
<UFC max_credits="4m" min_threshold="0.40" />
<MFC max_credits="4m" min_threshold="0.40" />
<FRAG3 />
</stack>
</jgroups>
Node having above TCP stack configuration has below warning in server.log and not joining to form cluster.
WARN (MPING-5,node1address) [org.jgroups.protocols.MPING] : discarding discovery request for cluster 'CLUSTER A' from : our cluster name is ' CLUSTER A'. Please separate your clusters properly
Also In server.conf ,the system properties "-Djboss.default.jgroups.stack and -Djboss.bind.address" that are set during your startup does not take any effect in RHDG 8.x.
Environment
- Red Hat Data Grid (RHDG)
- 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.