<div dir="ltr"><div>Hi all.<br><br>After one year using Postgresql Cluster like this configuration[0], start to fail, and I don't know why :-(<br><br>In the last days, my database move to  the second machine, and always had pgsql-status: HS:SYNC, but I don't know why second server didn't wake up correctly and pacemaker moved againg to the first server.<br><br>The problem was: when come back database in the first server was down (Readonly) and data folder had recovery.conf. I don't know why, but in this moment both postgresql convert to slaves and I can't promote the server. <br><br>It's a bit hard after the problem wake up the service. I need to delete recovery.conf in server A, and start to make pg_basebackup in server 2. Now I'm trying to wake up the cluster and I always got "PSQL is down" in the syslog messages. And crm_mon get always msPostgresql slaves both nodes.<br><br>Does anyone has this problems? How can I setup Postgresql in severA as master (to restore the cluster) without problems? Any special attribute?<br><br>I got always this messages in syslog:<br>Nov 30 21:42:34 serverA pgsql(pgsql)[10431]: INFO: PostgreSQL start command sent.<br>Nov 30 21:42:34 serverA pgsql(pgsql)[10431]: INFO: PostgreSQL is down<br>Nov 30 21:42:35 serverA pgsql(pgsql)[10431]: INFO: PostgreSQL is started.<br>Nov 30 21:42:35 serverA pgsql(pgsql)[10431]: INFO: Changing pgsql-status on serverA : STOP->HS:alone.<br><br>This is my config nowadays: <br><a href="https://gist.github.com/eloycoto/c07177c63ee814c0397c">https://gist.github.com/eloycoto/c07177c63ee814c0397c</a><br><br>Can someone help me?<br>[0] <a href="http://clusterlabs.org/wiki/PgSQL_Replicated_Cluster">http://clusterlabs.org/wiki/PgSQL_Replicated_Cluster</a><br><br></div>Many thanks. <br></div>