Control: severity -1 wishlist Re: Marc Richter 2014-07-31 <20140731094417.4564.80248.reportbug@pg1> > Unfortunately, when stoping heartbeat on the standby node, heartbeat > nevertheless tries to give up resources, even it hasn't acquired them before. > Since /var/lib/postgresql wasn't mounted before on that node, issuing > "/etc/init.d/postgresql stop" on the standby node fails, since it cannot find > necessary files in /var/lib/postgresql .
The init script was never designed to be a drop-in heartbeat HA agent. The exit codes are probably simply wrong in some cases for that. Any reason you aren't using the pgsql agent provided by pacemaker? http://clusterlabs.org/wiki/PgSQL_Replicated_Cluster Christoph -- [email protected] | http://www.df7cb.de/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

