[pgpool-hackers: 3480] Proposal: Simplify WATCHDOG host configurations.

Bo Peng pengbo at sraoss.co.jp
Thu Dec 19 15:29:42 JST 2019


Currently the configuration parameters for WATCHDOG such as:

---
wd_hostname
wd_port
wd_heartbeat_port
heartbeat_destination
heartbeat_destination_port
other_pgpool_hostname
other_pgpool_port
---

wd_* are the host and port information about the host itself,
heartbeat_destination* and other_pgpool_* are the other pgpool information 
in the cluster.

This complicates the configuration.

To simplify WATCHDOG configurations,
I would like to use a common configuration file for each pgpool node,
and users just copy the configuration file to another node without editing.

To implement, each pgpool should detect its own information and sets it to wd_ *,
Then, set other pgpool's information to heartbeat_destination* and other_pgpool_*.

-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan


More information about the pgpool-hackers mailing list