Download pgpool-II user manual
Transcript
Configuring watchdog (pgpool.conf) Watchdog configuration parameters are described in pgpool.conf. There is sample configuration in WATCHDOG section in pgpool.conf.sample file. All following options are required to be specified in watchdog process. Enabling use_watchdog V3.2 If on, activates watchdog. Default is off. You need to restart pgpool-II if you change this value. Watchdog communication wd_hostname V3.2 Specifies the hostname or IP address of pgpool-II server. This is used for sending/receiving queries and packets, and also as identifier of watchdog. You need to restart pgpool-II if you change this value. wd_port V3.2 Specifies the port number for watchdog communication. You need to restart pgpool-II if you change this value. wd_authkey V3.3 This option specifies the authentication key used in watchdog communication. All the pgpool-II must have the same key. Packets from watchdog of wrong key will be rejects. This authentication is applied also for heatrbeat singals if lifecheck method is heartbeat mode. If this is empty (default), watchdog doesn't conduct authenticate. You need to restart pgpool-II if you change this value. Connection to up stream servers trusted_servers V3.2 -