Download pgpool-II user manual

Transcript
failback_command
This parameter specifies a command to run when a node is attached. pgpool-II replaces special the following
characters with backend specific information.
Special character
Description
%d
Backend ID of an attached node.
%h
Hostname of an attached node.
%p
Port number of an attached node.
%D
Database cluster path of an attached node.
%M
Old master node
%m
New master node
%H
Hostname of the new master node.
%P
Old primary node ID.
%r
New master port number.
%R
New master database cluster directory.
%%
'%' character
You need to reload pgpool.conf if you change failback_command.
follow_master_command V3.1 This parameter specifies a command to run in master/slave streaming replication mode only after a master
failover. pgpool-II replaces the following special characters with backend specific information.
Special character
Description
%d
Backend ID of a detached node.
%h
Hostname of a detached node.
%p
Port number of a detached node.