<div dir="ltr">Hi all,<div><br></div><div>I have setup the pgpool for streaming replication failover in PostgreSQL.</div><div><br></div><div>I have two PostgreSQL servers 10.0.0.80(master) &amp; 10.0.0.81(slave) and pgpool running on 10.0.0.81 with port 9999.</div><div><br></div><div>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.</div><div><br></div><div>Please help me in creating a failover script. I have already tried with different failover scripts but none of them are working fine .</div><div><br></div><div>Please find the attached pgpoog.conf, pgpool logs failover script files and please let me Know if any changes required.</div><div><br></div><div>Thanks for your time..<br clear="all"><div><div><div dir="ltr"><br>Thanks &amp; Regards,<br>G V Gurunadh.</div></div></div>
</div></div>