Bridge Two Infinsipan Clustered Caches with RELAY2: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
* [[Infinispan Configuration#Procedures|Infinispan Configuration]]
* [[Infinispan Configuration#Procedures|Infinispan Configuration]]
* [[JGroups Protocol RELAY2|RELAY2]]
* [[JGroups Protocol RELAY2|RELAY2]]
=Relevance=
* JDG 6.6
=Procedure=
==1. JGroups Configuration==
===1.1 Declare the Bridging Cluster JGroups Stack===
===1.2 Declare the RELAY2 Protocol==
Declare the RELAY2 protocol that refers to the bridging cluster JGroups stack.
==2. Infinispan Configuration==
===2.1 Declare The Local Clusters (Sites) a Cache Wants to Relay To===
<pre>
<distributed-cache>
    <!-- Additional configuration elements here -->
    <backups>
        <backup site="{FIRSTSITENAME}" strategy="{SYNC/ASYNC}" />
        <backup site="{SECONDSITENAME}" strategy="{SYNC/ASYNC}" />
    </backups>
</distributed-cache>
</pre>
===2.2 Configure the Local Cluster Transport===

Revision as of 21:09, 7 June 2016

External

Internal

Relevance

  • JDG 6.6

Procedure

1. JGroups Configuration

1.1 Declare the Bridging Cluster JGroups Stack

=1.2 Declare the RELAY2 Protocol

Declare the RELAY2 protocol that refers to the bridging cluster JGroups stack.

2. Infinispan Configuration

2.1 Declare The Local Clusters (Sites) a Cache Wants to Relay To

<distributed-cache>
     <!-- Additional configuration elements here -->
     <backups>
        <backup site="{FIRSTSITENAME}" strategy="{SYNC/ASYNC}" />
        <backup site="{SECONDSITENAME}" strategy="{SYNC/ASYNC}" />
     </backups>
</distributed-cache>

2.2 Configure the Local Cluster Transport