1PG_AUTOCTL ENABLE SECONDARY(1) pg_auto_failover PG_AUTOCTL ENABLE SECONDARY(1)
2
3
4
6 pg_autoctl enable secondary - pg_autoctl enable secondary
7
8 pg_autoctl enable secondary - Enable secondary nodes on a formation
9
11 This feature makes the most sense when using the Enterprise Edition of
12 pg_auto_failover, which is fully compatible with Citus formations. When
13 secondary are enabled, then Citus workers creation policy is to assign
14 a primary node then a standby node for each group. When secondary is
15 disabled the Citus workers creation policy is to assign only the pri‐
16 mary nodes.
17
18 usage: pg_autoctl enable secondary [ --pgdata --formation ]
19
20 --pgdata path to data directory
21 --formation Formation to enable secondary on
22
24 --pgdata
25 Location of the Postgres node being managed locally. Defaults to
26 the environment variable PGDATA. Use --monitor to connect to a
27 monitor from anywhere, rather than the monitor URI used by a lo‐
28 cal Postgres node managed with pg_autoctl.
29
30 --formation
31 Target formation where to enable secondary feature.
32
34 Microsoft
35
37 Copyright (c) Microsoft Corporation. All rights reserved.
38
39
40
41
421.6 Aug 04, 2022 PG_AUTOCTL ENABLE SECONDARY(1)