Skip to content

Commit

Permalink
update website docs for new update-primary mode (hashicorp#20302)
Browse files Browse the repository at this point in the history
  • Loading branch information
raskchanky committed Apr 21, 2023
1 parent d11f7a2 commit 5ada399
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,13 @@ docs](#generate-disaster-recovery-operation-token) for more information.
PEM-format files that the secondary can use when unwrapping the token from the
primary. If this and ca_file are not given, defaults to system CA roots.

- `update_primary_addrs` `array: []` – List of cluster addresses for potential
primary clusters. These addresses will be pinged in sequence, and if any of them
respond successfully, these will be recorded as the new primary addresses. This is
a lighter weight version of specifying a token and should result in less disruption
of replication. Note that it's invalid to specify this and `token` in the same API call.
They are mutually exclusive.

### Sample Payload

```json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,13 @@ secondary activation token. This does not wipe all data in the cluster.
PEM-format files that the secondary can use when unwrapping the token from the
primary. If this and ca_file are not given, defaults to system CA roots.

- `update_primary_addrs` `array: []` – List of cluster addresses for potential
primary clusters. These addresses will be pinged in sequence, and if any of them
respond successfully, these will be recorded as the new primary addresses. This is
a lighter weight version of specifying a token and should result in less disruption
of replication. Note that it's invalid to specify this and `token` in the same API call.
They are mutually exclusive.

### Sample Payload

```json
Expand Down

0 comments on commit 5ada399

Please sign in to comment.