February 2020
Intermediate to advanced
734 pages
38h 13m
English
These steps should be performed on the PgBouncer and HAProxy nodes, which will be referred to as pgha-proxy. Follow these instructions to disable the bdr_chicago node and then return it to service:
echo "disable server bk_db/bdr_chicago" | \ socat /var/run/haproxy/sock -
psql -h pgha-proxy -U pgbouncer pgbouncer -c "RECONNECT" psql -h pgha-proxy -U pgbouncer pgbouncer -c "WAIT_CLOSE"
echo "enable server bk_db/bdr_chicago" ...
Read now
Unlock full access