Bridge Two Infinsipan Clustered Caches with RELAY2

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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