-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation of RELAY3 (https://issues.redhat.com/browse/JGRP-2697)
- Loading branch information
Showing
11 changed files
with
410 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
<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"> | ||
|
||
<TCP | ||
bind_addr="${jgroups.bind_addr:match-address:192.*,site_local,loopback}" | ||
bind_port="${jgroups.bind_port:8200}" | ||
|
||
thread_pool.enabled="true" | ||
thread_pool.max_threads="200" | ||
thread_pool.rejection_policy="abort"/> | ||
<MPING mcast_addr="226.0.0.3" /> | ||
<MERGE3 max_interval="120000" | ||
min_interval="30000"/> | ||
<FD_SOCK2 offset="10" /> | ||
<!--FD_ALL3 /--> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
|
||
<pbcast.NAKACK2 xmit_interval="500" | ||
use_mcast_xmit="false" /> | ||
|
||
<UNICAST3 xmit_interval="500" | ||
conn_close_timeout="60000"/> | ||
<pbcast.STABLE desired_avg_gossip="50000" | ||
max_bytes="8M"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="1000"/> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG4 frag_size="60K" /> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
<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"> | ||
|
||
<TCP | ||
bind_addr="${jgroups.bind_addr:match-address:192.*,site_local,loopback}" | ||
bind_port="${jgroups.bind_port:8000}" | ||
|
||
thread_pool.enabled="true" | ||
thread_pool.max_threads="200" | ||
thread_pool.rejection_policy="abort"/> | ||
<MPING mcast_addr="226.0.0.1" /> | ||
<MERGE3 max_interval="120000" | ||
min_interval="30000"/> | ||
<FD_SOCK2 offset="10" /> | ||
<!--FD_ALL3 /--> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
|
||
<pbcast.NAKACK2 xmit_interval="500" | ||
use_mcast_xmit="false" | ||
/> | ||
|
||
<UNICAST3 xmit_interval="500" | ||
conn_close_timeout="60000"/> | ||
<pbcast.STABLE desired_avg_gossip="50000" | ||
max_bytes="8M"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="1000"/> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG4 frag_size="60K" /> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
<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"> | ||
|
||
<TCP | ||
bind_addr="${jgroups.bind_addr:match-address:192.*,site_local,loopback}" | ||
bind_port="${jgroups.bind_port:8100}" | ||
|
||
thread_pool.enabled="true" | ||
thread_pool.max_threads="200" | ||
thread_pool.rejection_policy="abort"/> | ||
<MPING mcast_addr="226.0.0.2" /> | ||
<MERGE3 max_interval="120000" | ||
min_interval="30000"/> | ||
<FD_SOCK2 offset="10"/> | ||
<!--FD_ALL3 /--> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
|
||
<pbcast.NAKACK2 xmit_interval="500" | ||
use_mcast_xmit="false" | ||
/> | ||
|
||
<UNICAST3 xmit_interval="500" | ||
conn_close_timeout="60000"/> | ||
<pbcast.STABLE desired_avg_gossip="50000" | ||
max_bytes="8M"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="1000"/> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG4 frag_size="60K" /> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
|
||
<!-- | ||
Site-local config | ||
Author: Bela Ban | ||
--> | ||
|
||
<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"> | ||
<UDP | ||
bind_addr="192.168.1.106" | ||
bind_port="8200" | ||
ip_mcast="false" | ||
thread_pool.min_threads="0" | ||
thread_pool.max_threads="200" | ||
thread_pool.keep_alive_time="30000"/> | ||
|
||
<MPING mcast_addr="225.0.0.4" /> | ||
|
||
<MERGE3 max_interval="30000" min_interval="10000" /> | ||
<FD_SOCK/> | ||
<!--FD_ALL timeout="15000" interval="3000"/--> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
<pbcast.NAKACK2 xmit_interval="500" | ||
discard_delivered_msgs="true" /> | ||
<UNICAST3 xmit_interval="500" /> | ||
<pbcast.STABLE desired_avg_gossip="50000" | ||
max_bytes="8m"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="1000" /> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG2 frag_size="60K" /> | ||
<relay.RELAY3 site="hf" | ||
max_site_masters="1" | ||
can_become_site_master="true"> | ||
<RelayConfiguration xmlns="urn:jgroups:relay:1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:jgroups:relay:1.0 relay.xsd"> | ||
<sites> | ||
<site name="hf"> | ||
<bridges> | ||
<bridge name="bridge-net1-hf" config="/Users/bela/bridge-net1-hf.xml"/> | ||
</bridges> | ||
<forwards> | ||
<forward to=".*" gateway="net1"/> | ||
</forwards> | ||
</site> | ||
</sites> | ||
</RelayConfiguration> | ||
</relay.RELAY2> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
|
||
<!-- | ||
Site-local config | ||
Author: Bela Ban | ||
--> | ||
|
||
<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"> | ||
<UDP | ||
bind_addr="192.168.2.2" | ||
bind_port="7000" | ||
mcast_addr="225.0.0.1" | ||
|
||
thread_pool.min_threads="0" | ||
thread_pool.max_threads="200" | ||
thread_pool.keep_alive_time="30000"/> | ||
|
||
<PING /> | ||
|
||
<MERGE3 max_interval="30000" min_interval="10000"/> | ||
<FD_SOCK2 offset="10"/> | ||
<!--FD_ALL timeout="15000" interval="3000"/--> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
<pbcast.NAKACK2 xmit_interval="500" | ||
discard_delivered_msgs="true" /> | ||
<UNICAST3 xmit_interval="500" /> | ||
<pbcast.STABLE desired_avg_gossip="50000" | ||
max_bytes="8m"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="1000" /> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG2 frag_size="60K" /> | ||
<relay.RELAY3 site="net1" | ||
max_site_masters="1" | ||
can_become_site_master="true"> | ||
<RelayConfiguration xmlns="urn:jgroups:relay:1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:jgroups:relay:1.0 relay.xsd"> | ||
<sites> | ||
<site name="net1"> | ||
<bridges> | ||
<bridge name="bridge-net1-net2" config="/Users/bela/bridge-net1-net2.xml"/> | ||
<bridge name="bridge-net1-hf" config="/Users/bela/bridge-net1-hf.xml"/> | ||
</bridges> | ||
<forwards> | ||
<forward to="net3" gateway="net2"/> | ||
</forwards> | ||
</site> | ||
</sites> | ||
</RelayConfiguration> | ||
</relay.RELAY2> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
<!-- | ||
Site-local config | ||
Author: Bela Ban | ||
--> | ||
|
||
<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"> | ||
<UDP | ||
bind_addr="192.168.3.3" | ||
bind_port="7100" | ||
mcast_addr="225.0.0.2" | ||
|
||
thread_pool.min_threads="0" | ||
thread_pool.max_threads="200" | ||
thread_pool.keep_alive_time="30000"/> | ||
|
||
<PING /> | ||
|
||
<MERGE3 max_interval="30000" min_interval="10000"/> | ||
<FD_SOCK2 offset="10"/> | ||
<!--FD_ALL timeout="15000" interval="3000"/--> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
<pbcast.NAKACK2 xmit_interval="500" | ||
discard_delivered_msgs="true" /> | ||
<UNICAST3 xmit_interval="500" /> | ||
<pbcast.STABLE desired_avg_gossip="50000" | ||
max_bytes="8m"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="1000" /> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG2 frag_size="60K" /> | ||
<relay.RELAY3 site="net2" | ||
can_become_site_master="true"> | ||
<RelayConfiguration xmlns="urn:jgroups:relay:1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:jgroups:relay:1.0 relay.xsd"> | ||
<sites> | ||
<site name="net2"> | ||
<bridges> | ||
<bridge name="bridge-net1-net2" config="/Users/bela/bridge-net1-net2.xml"/> | ||
<bridge name="bridge-net2-net3" config="/Users/bela/bridge-net2-net3.xml"/> | ||
</bridges> | ||
<forwards> | ||
<forward to="hf" gateway="net1"/> | ||
</forwards> | ||
</site> | ||
</sites> | ||
</RelayConfiguration> | ||
</relay.RELAY2> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
|
||
<!-- | ||
Site-local config | ||
Author: Bela Ban | ||
--> | ||
|
||
<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"> | ||
<UDP | ||
bind_addr="192.168.4.4" | ||
bind_port="7200" | ||
mcast_addr="225.0.0.3" | ||
|
||
thread_pool.min_threads="0" | ||
thread_pool.max_threads="200" | ||
thread_pool.keep_alive_time="30000"/> | ||
|
||
<PING /> | ||
|
||
<MERGE3 max_interval="30000" min_interval="10000"/> | ||
<FD_SOCK2 offset="10" /> | ||
<!--FD_ALL timeout="15000" interval="3000"/--> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
<pbcast.NAKACK2 xmit_interval="500" | ||
discard_delivered_msgs="true" /> | ||
<UNICAST3 xmit_interval="500" /> | ||
<pbcast.STABLE desired_avg_gossip="50000" | ||
max_bytes="8m"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="1000" /> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG2 frag_size="60K" /> | ||
<relay.RELAY3 site="net3" | ||
can_become_site_master="true"> | ||
<RelayConfiguration xmlns="urn:jgroups:relay:1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:jgroups:relay:1.0 relay.xsd"> | ||
<sites> | ||
<site name="net3"> | ||
<bridges> | ||
<bridge name="bridge-net2-net3" config="/Users/bela/bridge-net2-net3.xml"/> | ||
</bridges> | ||
<forwards> | ||
<forward to=".*" gateway="net2"/> | ||
</forwards> | ||
</site> | ||
</sites> | ||
</RelayConfiguration> | ||
</relay.RELAY2> | ||
</config> |
Oops, something went wrong.