Skip to content

Commit

Permalink
Updated cluster argument syntax (#215)
Browse files Browse the repository at this point in the history
Updating the cluster configu documentation to match the new syntax, see PR: cadence-workflow/cadence#6658 for context
  • Loading branch information
jakobht authored Feb 7, 2025
1 parent 46086f9 commit 5aa9e52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 5aa9e52

Please sign in to comment.