JGroup properties
This topic lists the properties added or removed from the
jgroup_cluster.properties.in
file.
The Jgroup
library version is upgraded to v4.0.13.
The plain text properties for protocol stack is no longer supported in the latest version of the
library. So, Sterling B2B Integrator must
move to XML-based configuration for the following properties in
jgroups_cluster.properties
file.
You can edit the values of the properties from the Customization UI or add the customer overrides or for these properties through the Customization UI.
Note: To enable the Customization UI, you must install the Sterling B2B Integrator REST APIs. For more
information, see B2B REST APIs.
For a dynamic cluster, these values are automatically formed.
For a static cluster, you need to set the initial_hosts
property in
property_string
and distribution_property_string
from the
Customization UI.
The following properties are added to the
jgroups_cluster.properties
. The values
to these properties are already assigned and you need not change the values.jgroups.host_name
jgroups.mcast_addr
The following properties are removed from the
jgroups_cluster.properties
file
and stored in the database.property_string
distribution_property_string
lock.protocolStack
dynamic.cluster.property_string
dynamic.cluster.distribution_property_string
dynamic.cluster.lock.protocolStack
Property | XML Value |
---|---|
property_string |
<config xmlns="urn:org:jgroups"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:org:jgroups
http://www.jgroups.org/schema/jgroups.xsd"><UDP bind_addr="&HOST_ADDR;"
bind_port="&MULTICAST_NODE_PORT2;" mcast_addr="&MULTICAST_ADDR;"
mcast_port="&MULTICAST_NODE_PORT1;" ip_ttl="32" mcast_recv_buf_size="80K"
mcast_send_buf_size="150K" max_bundle_size="64K" thread_naming_pattern="cl-pl" /> <PING />
<MERGE3 max_interval="10000" min_interval="5000" /><FD_SOCK/><FD_ALL interval="5000"
timeout="20000" /><VERIFY_SUSPECT timeout="1500" /><BARRIER /><pbcast.NAKACK2
use_mcast_xmit="false" discard_delivered_msgs="true" /> <UNICAST3 conn_expiry_timeout="0" />
<pbcast.STABLE desired_avg_gossip="20000" /> <pbcast.GMS print_local_addr="true"
join_timeout="5000" /><FRAG2 frag_size="8096" /></config> |
distribution_property_string |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:org:jgroups" xsi:schemaLocation="urn:org:jgroups
http://www.jgroups.org/schema/jgroups.xsd" > <TCP bind_port="&MULTICAST_NODE_PORT1;" />
<TCPPING async_discovery="true" initial_hosts="&HOST_NAME;[&MULTICAST_NODE_PORT1;]"
port_range="0" /> <MERGE3 min_interval="3000" max_interval="5000" /> <FD_SOCK /> <FD
timeout="5000" max_tries="48" /> <VERIFY_SUSPECT timeout="1500" /> <BARRIER />
<pbcast.NAKACK2 use_mcast_xmit="false" discard_delivered_msgs="true" /> <UNICAST3 />
<pbcast.STABLE desired_avg_gossip="20000" max_bytes="0" stability_delay="1000" /> <pbcast.GMS
print_local_addr="true" join_timeout="5000" /> </config> |
lock.protocolStack |
<config xmlns="urn:org:jgroups"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:org:jgroups
http://www.jgroups.org/schema/jgroups.xsd" > <UDP bind_addr="&HOST_ADDR;"
bind_port="&MULTICAST_NODE_PORT3;" mcast_addr="&MULTICAST_ADDR;"
mcast_port="&MULTICAST_NODE_PORT10;" ip_ttl="32" mcast_recv_buf_size="80K"
mcast_send_buf_size="150K" thread_naming_pattern="cl-lk" /> <PING /> <MERGE3
max_interval="10000" min_interval="5000" /> <FD_SOCK/> <FD_ALL interval="5000" timeout="20000"
/> <VERIFY_SUSPECT timeout="1500" /> <BARRIER /> <pbcast.NAKACK2 use_mcast_xmit="false"
discard_delivered_msgs="true" /> <UNICAST3 conn_expiry_timeout="0" /> <pbcast.STABLE
desired_avg_gossip="20000" /> <pbcast.GMS print_local_addr="true" join_timeout="5000" />
<FRAG2 frag_size="8096" /> <CENTRAL_LOCK2 /> </config> |
dynamic.cluster.property_string |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:org:jgroups" xsi:schemaLocation="urn:org:jgroups
http://www.jgroups.org/schema/jgroups.xsd"> <TCP bind_addr="&HOST_ADDR;"
bind_port="&MULTICAST_NODE_PORT2;" /> <TCPPING async_discovery="true"
initial_hosts="&CLUSTER_INITIAL_HOSTS;" port_range="0" send_cache_on_join="true" /> <MERGE3
min_interval="3000" max_interval="5000" /><FD_ALL timeout="20000" interval="15000" />
<FD_SOCK/> <FD timeout="5000" max_tries="48" /> <VERIFY_SUSPECT timeout="1500" />
<BARRIER /> <pbcast.NAKACK2 use_mcast_xmit="false" discard_delivered_msgs="true" />
<UNICAST3 /> <pbcast.STABLE desired_avg_gossip="20000" max_bytes="0" stability_delay="1000"/>
<pbcast.GMS print_local_addr="true" join_timeout="15000" /> </config> |
dynamic.cluster.distribution_property_string |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:org:jgroups" xsi:schemaLocation="urn:org:jgroups
http://www.jgroups.org/schema/jgroups.xsd"><TCP bind_port="&MULTICAST_NODE_PORT1;" />
<TCPPING async_discovery="true" initial_hosts="&CLUSTER_INITIAL_HOSTS;" port_range="0"
send_cache_on_join="true" /> <MERGE3 min_interval="3000" max_interval="5000"/> <FD_SOCK/>
<FD timeout="5000" max_tries="48" /> <VERIFY_SUSPECT timeout="1500" /> <BARRIER />
<pbcast.NAKACK2 use_mcast_xmit="false" discard_delivered_msgs="true"/> <UNICAST3 />
<pbcast.STABLE desired_avg_gossip="20000" max_bytes="0" stability_delay="1000" /> <pbcast.GMS
print_local_addr="true" join_timeout="5000"/> </config> |
dynamic.cluster.lock.protocolStack |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:org:jgroups" xsi:schemaLocation="urn:org:jgroups
http://www.jgroups.org/schema/jgroups.xsd"> <TCP bind_addr="&HOST_ADDR;"
bind_port="&MULTICAST_NODE_PORT3;" /> <TCPPING async_discovery="true"
initial_hosts="&CLUSTER_INITIAL_HOSTS;" port_range="0" send_cache_on_join="true" /> <MERGE3
min_interval="3000" max_interval="5000"/> <FD_ALL timeout="20000" interval="5000" /> <FD
timeout="5000" max_tries="48" /> <VERIFY_SUSPECT timeout="1500" /> <BARRIER />
<pbcast.NAKACK2 use_mcast_xmit="false" discard_delivered_msgs="true"/> <UNICAST3 />
<pbcast.STABLE desired_avg_gossip="20000" /> <pbcast.GMS print_local_addr="true"
join_timeout="5000"/> <FRAG2 frag_size="8096" /> <CENTRAL_LOCK2 />
</config> |