[pgpool-general: 1343] Re: failover command

ning chan ninchan8328 at gmail.com
Fri Jan 25 10:28:20 JST 2013


Can someone help me on this topic?


On Wed, Jan 23, 2013 at 1:20 PM, ning chan <ninchan8328 at gmail.com> wrote:

> Hi,
> In the pgpool.conf, there is a failover command that the listed command
> can be called when a server failover.
>
> I have confusion about the parameters:
>
>  # Executes this command at failover
>                                    # Special values:
>                                    #   %d = node id
>                                    #   %h = host name
>                                    #   %p = port number
>                                    #   %D = database cluster path
>                                    #   %m = new master node id
>                                    #   %H = hostname of the new master node
>                                    #   %M = old master node id
>                                    #   %P = old primary node id
>                                    #   %r = new master port number
>                                    #   %R = new master database cluster
> path
>
> What is the difference between old primary node id and old master node id?
>
> Basically, what is the different between primary and master?
> Are they defined from postgresql perspective or from pgpool perspective?
>
> Thanks~
> Ning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20130124/a89d5864/attachment.html>


More information about the pgpool-general mailing list