Setting
|
Value
|
Description
|
---|---|---|
use_watchdog
|
on
|
Turns on watchdog within Pgpool-II
|
wd_hostname
|
'10.91.9.101'
or
’10.91.9.102’
|
Host name or IP address of this watchdog
|
wd_port
|
9000
|
Port number of this watchdog
|
delegate_IP
|
'10.91.9.100'
|
Virtual IP address that clients use to access PostgreSQL (through Pgpool-II)
|
ifconfig_path
|
'/etc/pgpool2'
|
The absolute path of the directory that contains the if_up_cmd and if_down_cmd commands or scripts
|
if_up_cmd
|
'ifup.sh $_IP_$ <eni id of Pgpool node>'
|
The command issued when Pgpool-II attempts to bring up the virtual IP interface with the delegate_IP address. You can retrieve the eni ID of the Pgpool-II node by logging into the EC2 administration console and going to your Pgpool-II instance. In its description in the console, locate the Network interfaces entry, click eth0, and locate the interface ID. Use it for the $<eni id of Pgpool node>.
|
if_down_cmd
|
ifdown.sh $_IP_$ <eni id of Pgpool node>
|
The command issued when Pgpool-II attempts to bring down the virtual IP interface with the delegate_IP address. See if_up_cmd to obtain the eni ID of the Pgpool-II node.
|
arping_path
|
'/usr/bin'
|
Path of the install iputils-arping package
|
arping_cmd
|
'arping -U $_IP_$ -w 1'
|
The arping command used to verify the IPs.
|
heartbeat_destination0
|
'10.91.9.102'
or
’10.91.9.101’
|
The IP address against which the heartbeat check is made; the value of the other_pgpool_hostname0 setting
|
heartbeat_destination_port0
|
9694
|
Use the default value.
|
heartbeat_device
|
'eth0'
|
The NIC device for the IP address for heartbeat communication
|
other_pgpool_hostname0
|
'10.91.9.102'
or
’10.91.9.101’
|
The IP address of the other Pgpool-II server instance
|
other_pgpool_port0
|
5432
|
The port to which the other Pgpool-II node listens
|
other_wd_port0
|
9000
|
The port to which the other Pgpool-II watchdog feature listens
|
|
Permission Denied messages related to keys will occur during failover.
|