Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/03-concepts/08-cross-dc-replication.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ clusterMetadata:
After the configuration is deployed:

1. Register a global domain
`cadence --do <domain_name> domain register --global_domain true --clusters clusterDCA clusterDCB --active_cluster clusterDCA`
`cadence --do <domain_name> domain register --global_domain true --clusters clusterDCA,clusterDCB --active_cluster clusterDCA`


2. Run some workflow and failover domain from one to another
Expand Down
2 changes: 1 addition & 1 deletion docs/06-cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ cadence --do samples-domain d re
```
If your Cadence cluster has enable [global domain(XDC replication)](https://cadenceworkflow.io/docs/concepts/cross-dc-replication/), then you have to specify the replicaiton settings when registering a domain:
```bash
cadence --domains amples-domain domain register --active_cluster clusterNameA --clusters clusterNameA clusterNameB
cadence --domains amples-domain domain register --active_cluster clusterNameA --clusters clusterNameA,clusterNameB
```

- View "samples-domain" details:
Expand Down
2 changes: 1 addition & 1 deletion docs/07-operation-guide/05-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ First of all, try replicating a single domain to make sure everything work. Here

* 2.1 Assuming the domain only contain `currentCluster` in the cluster list, let's add the new cluster to the domain.
```bash
cadence --address <currentClusterAddress> --do <domain_name> domain update --clusters <currentClusterName> <newClusterName>
cadence --address <currentClusterAddress> --do <domain_name> domain update --clusters <currentClusterName>,<newClusterName>
```

Run the command below to refresh the domain after adding a new cluster to the cluster list; we need to update the active_cluster to the same value that it appears to be.
Expand Down