[Pacemaker] Primitive stuck after resource agent failure?

Lars Marowsky-Bree lmb at novell.com
Mon Feb 21 12:30:53 UTC 2011


On 2011-02-18T12:28:31, Jody McIntyre <jodym at trustcentric.com> wrote:

> I considered this, but unfortunately it would take a lot of effort.  The
> existing "pgsql" resource agent is designed to start and stop postgres,
> whereas in this mode I want to switch an already running postgres into
> master mode.  Even worse, once postgres is in master mode, there is no
> automated way to switch it back to standby mode (and writing one would
> require considerable effort.)

Well, you don't need it. I assume there's still a way to stop it,
though, and a failed demote will result in a stop.

So adding the master/slave functionality to the pg agent seems to make
sense still.

However, if there are fundamental conceptual problems with the m/s
implementation of our RA and the PG approach (and perhaps mysql?) we may
want to also extent the design of the m/s. Got any thoughts on that?


Regards,
    Lars

-- 
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde





More information about the Pacemaker mailing list