1PG_AUTOCTL DISABLE SECONDARY(1)pg_auto_failoverPG_AUTOCTL DISABLE SECONDARY(1)
2
3
4

NAME

6       pg_autoctl disable secondary - pg_autoctl disable secondary
7
8       pg_autoctl disable secondary - Disable secondary nodes on a formation
9

SYNOPSIS

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 disabled, 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 disable secondary  [ --pgdata --formation ]
19
20          --pgdata      path to data directory
21          --formation   Formation to disable secondary on
22

OPTIONS

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 disable secondary feature.
32

AUTHOR

34       Microsoft
35
37       Copyright (c) Microsoft Corporation. All rights reserved.
38
39
40
41
421.6                              Nov 24, 2021  PG_AUTOCTL DISABLE SECONDARY(1)
Impressum