[pgpool-general: 3552] Reg Failover Script in pgpool

Gurunadh Venkata gurunadh.venkata at gmail.com
Thu Mar 19 19:22:24 JST 2015


Hi all,

I have setup the pgpool for streaming replication failover in PostgreSQL.

I have two PostgreSQL servers 10.0.0.80(master) & 10.0.0.81(slave) and
pgpool running on 10.0.0.81 with port 9999.

Now i want to write a failover script where if my master pg server fails
then slave server should take the role of Master server.

Please help me in creating a failover script. I have already tried with
different failover scripts but none of them are working fine .

Please find the attached pgpoog.conf, pgpool logs failover script files and
please let me Know if any changes required.

Thanks for your time..

Thanks & Regards,
G V Gurunadh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20150319/cea86ed3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpool.conf
Type: application/octet-stream
Size: 30828 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20150319/cea86ed3/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failover.sh
Type: application/x-sh
Size: 793 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20150319/cea86ed3/attachment-0001.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failover.sh1
Type: application/octet-stream
Size: 389 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20150319/cea86ed3/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppas-pgpool-enterprisedb.log
Type: application/octet-stream
Size: 130627 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20150319/cea86ed3/attachment-0005.obj>


More information about the pgpool-general mailing list