You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contrib/pg_tde/documentation/docs/replication.md
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,15 @@ This section outlines how to set up PostgreSQL streaming replication when the `p
4
4
5
5
The following steps assume:
6
6
7
-
* You have configured a global key provider for both **primary** and **standby** (see [Configure Key Management (KMS)](global-key-provider-configuration/index.md)).
8
7
* 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.
10
10
11
11
## 1. Configure the Primary
12
12
13
13
### Configure postgresql.conf
14
14
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`.
27
16
* Ensure you have configured the provider.
28
17
* Create the [principal key](functions#pg_tde_set_server_key_using_global_key_provider).
29
18
* Ensure the extension is installed where it is needed:
0 commit comments