# llmgw: the control planes' store, kept by Patroni on llmgw-pg01 and # llmgw-ctl02, with the leader lock in etcd on 140, 149 and 150. scope: llmgw namespace: /service/ name: llmgw-pg01 restapi: listen: 10.0.0.149:8008 connect_address: 10.0.0.149:8008 etcd3: hosts: 10.0.0.140:2379,10.0.0.149:2379,10.0.0.150:2379 bootstrap: dcs: ttl: 30 loop_wait: 10 retry_timeout: 10 maximum_lag_on_failover: 1048576 postgresql: use_pg_rewind: true use_slots: true parameters: wal_level: replica hot_standby: "on" max_wal_senders: 10 max_replication_slots: 10 wal_keep_size: 1GB wal_log_hints: "on" password_encryption: scram-sha-256 initdb: - encoding: UTF8 - data-checksums postgresql: listen: 127.0.0.1,10.0.0.149:5432 connect_address: 10.0.0.149:5432 data_dir: /var/lib/postgresql/16/llmgw bin_dir: /usr/lib/postgresql/16/bin pgpass: /var/lib/postgresql/.pgpass_patroni authentication: superuser: username: postgres password: "" replication: username: replicator password: "" rewind: username: postgres password: "" parameters: unix_socket_directories: /var/run/postgresql pg_hba: - local all all peer - host all all 127.0.0.1/32 scram-sha-256 - host replication replicator 10.0.0.149/32 scram-sha-256 - host replication replicator 10.0.0.150/32 scram-sha-256 - host all postgres 10.0.0.149/32 scram-sha-256 - host all postgres 10.0.0.150/32 scram-sha-256 - host llmgw llmgw 10.0.0.140/32 scram-sha-256 - host llmgw llmgw 10.0.0.149/32 scram-sha-256 - host llmgw llmgw 10.0.0.150/32 scram-sha-256 tags: nofailover: false noloadbalance: false clonefrom: false nosync: false