[pgpool-general: 8822] Re: Do I have to make a node_id file on my own?

Bo Peng pengbo at sraoss.co.jp
Wed Jun 7 20:47:43 JST 2023


Hi,

On Wed, 7 Jun 2023 18:06:22 +0800
Zhaoxun Yan <yan.zhaoxun at gmail.com> wrote:

> From Pgpool-II 4.2, now all configuration parameters are identical on all
> hosts. If watchdog feature is enabled, to distingusish which host is which,
> a pgpool_node_id file is required. You need to create a pgpool_node_id file
> and specify the pgpool (watchdog) node number (e.g. 0, 1, 2 …) to identify
> pgpool (watchdog) host.
> 
> [server1]# echo 0 > /etc/pgpool-II/pgpool_node_id
> 
> So if I am not using watchdog, I do not need to make such a file called
> 'pgpool_node_id'? BTW '/etc/pgpool-II' directory is not on my server either.

Yes. If you don't use watchdog, you don't need to create pgpool_node_id file.

-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS LLC
https://www.sraoss.co.jp/


More information about the pgpool-general mailing list