Skip to main content

Set up Multi-Cluster Replication before v1.14

View Markdown

This page covers Temporal Server versions before v1.14. For v1.14 and later, see How to set up Multi-Cluster Replication.

Before v1.14, you list every Temporal Service in the static configuration of each Temporal Service and set the same masterClusterName everywhere. Registration with the CLI isn't available.

In this layout, masterClusterName is clusterA in both files, including clusterB's. Every Temporal Service lists every other one, so they all agree on one primary. In v1.14 and later, each file lists only its own Temporal Service, so masterClusterName differs.

# clusterA
clusterMetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 100
masterClusterName: "clusterA"
currentClusterName: "clusterA"
clusterInformation:
clusterA:
enabled: true
initialFailoverVersion: 1
rpcAddress: "127.0.0.1:7233"
clusterB:
enabled: true
initialFailoverVersion: 2
rpcAddress: "127.0.0.1:8233"

# clusterB
clusterMetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 100
masterClusterName: "clusterA"
currentClusterName: "clusterB"
clusterInformation:
clusterA:
enabled: true
initialFailoverVersion: 1
rpcAddress: "127.0.0.1:7233"
clusterB:
enabled: true
initialFailoverVersion: 2
rpcAddress: "127.0.0.1:8233"