[Pacemaker] Upgrading a master salve resource agent, Maintenance best practices
David Vossel
dvossel at redhat.com
Mon Nov 19 18:55:28 UTC 2012
----- Original Message -----
> From: "Jesse Hathaway" <jesse.hathaway at getbraintree.com>
> To: pacemaker at 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 at 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
>
More information about the Pacemaker
mailing list