* debian/design.md: Discuss DCS setup.

This commit is contained in:
Michael Banck 2018-10-22 18:21:45 +02:00
parent 9bdeaf8613
commit 56e243eacd

12
debian/design.md vendored
View file

@ -209,6 +209,18 @@ ExecStart=/usr/bin/patroni /etc/patroni/%i.yml
This makes it possible to e.g. start patroni for the '10/main' instance with
`systemctl start patroni@10/main`.
DCS setup
---------
One outstanding issue with providing a general Patroni configuration template
and possibly a program that creates a Patroni configuration file per pg-common
instance is the distributed consensus store, which also needs to be configured
in the Patroni YAML file.
One possibility would be to introduce a file `/etc/default/patroni` where the
DCS and it's ip-address(es) could be configured which could be sourced by the
configuration file generator.
Making `patronictl` pg-common aware
-----------------------------------