[Pacemaker] node trying to run resource even in standby mode

Lars Marowsky-Bree lmb at suse.com
Tue Oct 15 06:33:57 EDT 2013


On 2013-10-10T14:41:49, Lev Sidorenko <levs at securemedia.co.nz> wrote:

> When I create resource like:
> # pcs resource create myres lsb:myres
> it is created and can see straight away in crm_mon:
> ---------------------------------
> myres	(lsb:myres):	Started node3 (unmanaged) FAILED
> Failed actions:
>     myres_stop_0 (node=node3, call=34, rc=5, status=complete): not
> installed
> ---------------------------------
> 
> Of course it failed because myres does not exists on node3
> The behaviour the same even node3 in a standby mode!
> 
> So, why cluster trying to run myres on node3 and how to prevent  that?

It's not trying to run it there. It's trying to *stop* it there. That
very likely means that a "monitor" (LSB: "status") found the resource to
be active (or at least not cleanly stopped).

So pacemaker tried to correct for that and make sure the node is really
in "standby" mode.

The fix is to not have resources active where they shouldn't be; or if
scripts report the wrong status, to fix that.


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde





More information about the Pacemaker mailing list