Disabling cluster replication for specific databases

In a cluster, all databases are automatically set to replicate in real time so that replicas are always synchronized. However, real-time replication is needed only for databases that require constant synchronization of data. For other databases, you can disable cluster replication.

Procedure

  1. In the Server pane of the Domino® Administrator, expand either All Servers or Clusters.
  2. Choose a server in the cluster.
  3. Click the Files tab.
  4. In the Task pane, expand Cluster Directory.
  5. Click one of the four views:
    • Databases by Filename
    • Databases by Pathname
    • Databases by Replica ID
    • Databases by Server

    The Databases by Filename view is particularly useful for disabling cluster replication on specific databases.

  6. In the Results pane, select the databases for which you want to disable cluster replication.
  7. From the Domino® Administrator, click Tools > Disable Cluster Replication on Selected Databases.

Results

Databases for which cluster replication is disabled are flagged with an "X" in the Cluster Database Directory.

Disabling cluster replication of a database prevents only replication of changes from that database to other servers in the cluster. It does not prevent replication to the database from other cluster servers. Disabling cluster replication has no effect on standard replication.

Note: To re-enable cluster replication for specific databases, in Step 7, click Tools > Enable Cluster Replication on Selected Databases from the Domino® Administrator.

Creating an agent to disable cluster replication for specific databases

About this task

As an alternate method of disabling cluster replication for specific databases, you can create an agent.

Procedure

  1. Open the Cluster Database Directory (CLDBDIR.NSF) on any server in the cluster.
  2. Choose Create > Agent.
  3. In the Name field of the Agent properties box, type a name for the agent.
  4. In the Options section, choose Shared or Private, depending on who will use this agent.
  5. In the Trigger field of the Runtime section, choose On event.
  6. Choose Action menu selection as the trigger event.
  7. In the Target field, choose All selected documents.
  8. Click the Security tab of the Agent properties box, and specify any security options you want.
  9. Close the Agent properties box.
  10. In the Programmer's pane, click Add Action.
  11. In the Action field, choose Modify Field.
  12. In the Modify by field, choose Replacing.
  13. In the The value in field field, choose ClusterReplicate.
  14. In the With the new value field, enter 0 (zero).
  15. Click Add.
  16. Choose File > Save to save the agent.

Creating an agent to re-enable cluster replication for specific databases

About this task

If you create an agent to disable cluster replication on specific databases, you might want to create another agent to re-enable cluster replication on specific databases. To create this agent, follow the previous procedure with the following exceptions:

  • In step 3, type a different name for the agent.
  • In step 14, type 1 (one) in the With the new value field.

Running the agents

Procedure

  1. Open the Cluster Database Directory.
  2. Select the databases for which you want to disable cluster replication or enable cluster replication.
  3. Choose the appropriate agent name from the Actions menu.