deploy/ha documents PostgreSQL under Patroni with a three-member etcd, as running on the reference cluster, and the address that follows the primary. Backups read such an address as libpq host and port lists and prefer a standby, rather than resolving the list as one name. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
11 lines
554 B
Plaintext
11 lines
554 B
Plaintext
# llmgw: one member of the three that hold Patroni's leader lock (140, 149, 150).
|
|
ETCD_NAME=llmgw-pg01
|
|
ETCD_DATA_DIR=/var/lib/etcd/default
|
|
ETCD_LISTEN_PEER_URLS=http://10.0.0.149:2380
|
|
ETCD_LISTEN_CLIENT_URLS=http://10.0.0.149:2379,http://127.0.0.1:2379
|
|
ETCD_INITIAL_ADVERTISE_PEER_URLS=http://10.0.0.149:2380
|
|
ETCD_ADVERTISE_CLIENT_URLS=http://10.0.0.149:2379
|
|
ETCD_INITIAL_CLUSTER=llmgw-ctl=http://10.0.0.140:2380,llmgw-pg01=http://10.0.0.149:2380,llmgw-ctl02=http://10.0.0.150:2380
|
|
ETCD_INITIAL_CLUSTER_STATE=new
|
|
ETCD_INITIAL_CLUSTER_TOKEN=llmgw-patroni
|