Configure memory-to-memory replication for peer-to-peer functions with remote/isolated replicators

 

Overview

To configure the session management facility for memory-to-memory replication for peer-to-peer functions with remote replicators, complete the following steps:

  1. Create an application cluster.This cluster is used to deploy the application.

    1. Go to the Server Cluster page. Click Servers > Clusters.

    2. Click New.

    3. Type a cluster name for the application cluster.

    4. Click Next.

    5. Define each cluster member server. Type a cluster member name.

    6. Click Apply.Complete steps e and f for each server created in this cluster.

    7. Click Next and review the summary of changes.

    8. Click Finish to complete the configuration.
    You have now created a cluster that contains the deployed application.

  2. Create a replicator cluster. The replication domain is defined in this replicator cluster.

    1. Go to the Server Cluster page. Click Servers > Clusters.

    2. Click New.

    3. Type a cluster name for this replicator cluster.

    4. Define a replication domain. Select the Create Replication Domain for this cluster check box.

    5. Click Next.

    6. Associate replicators for each server. Select the Create Replication Entry in this Server check box.

    7. Click Apply.Complete steps f and g for each server created in this cluster.

    8. Click Next and review the summary of changes.

    9. Click Finish to complete the configuration.
    You have now created a cluster that contains the replication domain. Do not deploy the application on this cluster.

  3. Enable memory-to-memory session replication for each server.

    1. Go to the appropriate level of Session Management for the Web container level. Click Application Servers > Server_Name > Web Container > Session Management

    2. Click Distributed Environment Settings under Additional Properties.

    3. If a replicator is already created and associated with this or another server, select Memory to Memory Replication. If no replicator has been created for any server, a note appears. In this case, click Memory to Memory Replication. The Internal Replication Domain panels appear. These panels lead you through the process of creating a replication domain and a replicator. After you create a replication domain and a replicator, begin again with step 3a.

    4. Click Apply.

    5. Repeat these steps for each server. Click OK.

  4. If you want to change the tuning parameters, click Custom Tuning Parameters and select a setting or customize one.

    Note: Using the default tuning parameter custom settings, which specifies time based write interval of 10 seconds, may result in data loss when an appserver in your cluster fails. However, this is just a small opportunity for lost data when compared to the significant improvement in performance.

    1. Click Apply.

    2. Click Save.

Related concepts
Memory-to-memory topology: Peer-to-peer function with a local replicator
Memory-to-memory topology: Peer-to-peer function with remote/isolated replicators
Memory-to-memory topology: Client/server function with isolated replicators
Memory-to-memory topology: Client/server function with remote replicators
Related tasks
Configuring memory-to-memory replication for the peer-to-peer function with a local replicator (default memory-to-memory replication)
Configuring memory-to-memory replication for the client/server function using isolated replicators
Configuring memory-to-memory replication for the client/server function using remote replicators