[Pkg-postgresql-public] Bug#756606: Bug#756606: postgresql-9.1: Init-Script does not work together with heartbeat
myon at debian.org
Thu Jul 31 10:34:08 UTC 2014
Control: severity -1 wishlist
Re: Marc Richter 2014-07-31 <20140731094417.4564.80248.reportbug at 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?
cb at df7cb.de | http://www.df7cb.de/
More information about the Pkg-postgresql-public