此内容没有您所选择的语言版本。
27.3. Configure Cross-Datacenter Replication
In Red Hat JBoss Data Grid's Remote Client-Server mode, cross-datacenter replication is set up as follows:
Procedure 27.1. Set Up Cross-Datacenter Replication
Set Up RELAY
Add the following configuration to thestandalone.xml
file to set upRELAY
:Copy to Clipboard Copied! Toggle word wrap Toggle overflow TheRELAY
protocol creates an additional stack (running parallel to the existingTCP
stack) to communicate with the remote site. If aTCP
based stack is used for the local cluster, twoTCP
based stack configurations are required: one for local communication and one to connect to the remote site. For an illustration, see Section 27.2, “Cross-Datacenter Replication Operations”Set Up Sites
Use the following configuration in thestandalone.xml
file to set up sites for each distributed cache in the cluster:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Configure Local Site Transport
Add the name of the local site in thetransport
element to configure transport:<transport executor="infinispan-transport" lock-timeout="60000" cluster="LON" stack="udp"/>
<transport executor="infinispan-transport" lock-timeout="60000" cluster="LON" stack="udp"/>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow