Skip to content

Commit

Permalink
2dc: add config descriptions (#7796)
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jin19 authored Mar 9, 2022
1 parent a9ae1fb commit d41cd90
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions two-data-centers-in-one-city-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ cat rule.json
]
```

To use the configurations in `rule.json`, override the existing configurations by running the following command:

{{< copyable "shell-regular" >}}

```bash
pd-ctl config placement-rules rule-bundle save --in="rule.json"
```

### Enable the DR Auto-Sync mode

The replication mode is controlled by PD. When deploying a cluster, you can configure the replication mode in the PD configuration file. For example:
Expand Down

0 comments on commit d41cd90

Please sign in to comment.