----- Original Message ----- > From: "Jesse Hathaway" <jesse.hatha...@getbraintree.com> > To: pacemaker@oss.clusterlabs.org > Sent: Monday, November 19, 2012 9:03:57 AM > Subject: [Pacemaker] Upgrading a master salve resource agent, Maintenance > best practices > > > We need to change a parameter in our Postgres Master Slave resource. > Unfortunately the version of the resource agent we are running does > not support a reload action. As a consequence Pacemaker wants to > restart the resource. This is not acceptable as it will try to > demote the master as well as restart the slave.
I do not have much experience managing pacemaker deployments, but this is what I would try. Set the resource option, is-managed, to false. http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-options.html Go in and make whatever changes you need to make to both the cib and the active resource. After you are done, set the resource's is-managed option back to true, or remove it from the config entirely since the default is true. Alternatively you could set the entire cluster in maintenance mode by setting the cluster option, maintenance-mode, to true. This will automatically make all the resources un-managed until maintenance mode is turned off again. Hope that helps. -- Vossel > Are there any methods to upgrade a resource agent in this type of > situation without necessitating a restart? > > More broadly what tools or documentation should we look towards for > these types of surgical maintenance operations on our pacemaker > clusters? > > -- > Jesse Hathaway, Systems Engineer > Braintree > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org