8000 Update replication.md · percona/postgres@f704afa · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f704afa

Browse files
committed
Update replication.md
updated based on feedback
1 parent 2652ab2 commit f704afa

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

contrib/pg_tde/documentation/docs/replication.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,15 @@ This section outlines how to set up PostgreSQL streaming replication when the `p
44

55
The following steps assume:
66

7-
* You have configured a global key provider for both **primary** and **standby** (see [Configure Key Management (KMS)](global-key-provider-configuration/index.md)).
87
* You have enabled `pg_tde` and you have setup at least one active key on the **primary**.
9-
* Both primary and standby run the **same** Percona PostgreSQL version.
8+
* You have configured a global key provider for the **primary**, see [Configure Key Management (KMS)](global-key-provider-configuration/index.md) for more information.
9+
* Ensure the certificate files are accessible for the standby, and that `pg_tde` is added to the shared preload libraries.
1010

1111
## 1. Configure the Primary
1212

1313
### Configure postgresql.conf
1414

15-
* Ensure you set the following replication settings in `postgresql.conf`:
16-
17-
```ini
18-
# Example of WAL and replication settings
19-
wal_level = replica
20-
max_wal_senders = 5
21-
max_replication_slots = 10 # the default value
22-
wal_keep_size = '1GB'
23-
# Enable TDE in WAL pipeline
24-
shared_preload_libraries = 'pg_tde' # Loads TDE hooks at server start.
25-
```
26-
15+
* Ensure you have configured `postgresql.conf`.
2716
* Ensure you have configured the provider.
2817
* Create the [principal key](functions#pg_tde_set_server_key_using_global_key_provider).
2918
* Ensure the extension is installed where it is needed:
@@ -68,6 +57,7 @@ pg_basebackup \
6857
-U example_replicator \
6958
--wal-method=stream \
7059
--slot=tde_slot \
60+
-C \
7161
-c fast \
7262
-v -P
7363
```

0 commit comments

Comments
 (0)
0