[Pacemaker] Stopping/restarting pacemaker without stopping resources?

Andrew Beekhof andrew at beekhof.net
Sun Oct 26 20:09:08 EDT 2014


> On 25 Oct 2014, at 12:38 am, Andrei Borzenkov <arvidjaar at gmail.com> wrote:
> 
> On Fri, Oct 24, 2014 at 9:17 AM, Andrew Beekhof <andrew at beekhof.net> wrote:
>> 
>>> On 16 Oct 2014, at 9:31 pm, Andrei Borzenkov <arvidjaar at gmail.com> wrote:
>>> 
>>> The primary goal is to transparently update software in cluster. I
>>> just did HA suite update using simple RPM and observed that RPM
>>> attempts to restart stack (rcopenais try-restart). So
>>> 
>>> a) if it worked, it would mean resources had been migrated from this
>>> node - interruption
>>> 
>>> b) it did not work - apparently new versions of installed utils were
>>> incompatible with running pacemaker so request to shutdown crm fails
>>> and openais hung forever.
>>> 
>>> The usual workflow with one cluster products I worked before was -
>>> stop cluster processes without stopping resources; update; restart
>>> cluster processes. They would detect that resources are started and
>>> return to the same state as before stopping. Is something like this
>>> possible with pacemaker?
>> 
>> absolutely.  this should be of some help:
>> 
>> http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_disconnect_and_reattach.html
>> 
> 
> Did not work. It ended up moving master to another node and leaving
> slave on original node stopped after that.

When you stopped the cluster or when you started it after an upgrade?

> I have crm_report if this
> is not expected ...
> 
> pacemaker Version: 1.1.11-3ca8c3b
> 
> _______________________________________________
> 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