<div dir="auto"><div dir="auto">Hello,</div><div dir="auto"><br></div><div dir="auto">Postgres version : 9.6</div><div dir="auto">OS:Rhel 7.6</div><div dir="auto"><br></div><div dir="auto">We are working on HA setup for postgres cluster of two nodes in active-passive mode. </div><div dir="auto"><br></div><div dir="auto">Installed: </div><div dir="auto">Pacemaker 1.1.19</div><div dir="auto">Corosync 2.4.3</div><div dir="auto"><br></div><div dir="auto">The pacemaker agent with this installation doesn't support automatic failback. What I mean by that is explained below:</div><div dir="auto">1. Cluster is setup like A - B with A as master. </div><div dir="auto">2. Kill services on A, node B will come up as master.</div><div dir="auto">3. node A is ready to join the cluster, we have to delete the lock file it creates on any one of the node and execute the cleanup command to get the node back as standby</div><div dir="auto"><br></div><div dir="auto">Step 3 is manual so HA is not achieved in real sense. </div><div dir="auto"><br></div><div dir="auto">Please help to check:</div><div dir="auto">1. Is there any version of the resouce agent which supports automatic failback? To avoid generation of lock file and deleting it.</div><div dir="auto"><br></div><div dir="auto">2. If there is no such support, if we need such functionality, do we have to modify existing code? </div><div dir="auto"><br></div><div dir="auto">How this can be achieved. Please suggest.</div><div dir="auto">Thanks.</div><div dir="auto"><br></div><div dir="auto">Thanks.</div></div>