[ClusterLabs] how to set a dedicated fence delay for a stonith agent ?

Vladislav Bogdanov bubble at hoster-ok.com
Wed May 17 08:11:08 EDT 2017


08.05.2017 22:20, Lentes, Bernd wrote:
> Hi,
>
> i remember that digimer often campaigns for a fence delay in a 2-node  cluster.
> E.g. here: http://oss.clusterlabs.org/pipermail/pacemaker/2013-July/019228.html
> In my eyes it makes sense, so i try to establish that. I have two HP servers, each with an ILO card.
> I have to use the stonith:external/ipmi agent, the stonith:external/riloe refused to work.
>
> But i don't have a delay parameter there.
> crm ra info stonith:external/ipmi:

Hi,

There is another ipmi fence agent - fence_ipmilan (part of fence-agents 
package). It has 'delay' parameter.

>
> ...
> pcmk_delay_max (time, [0s]): Enable random delay for stonith actions and specify the maximum of random delay
>     This prevents double fencing when using slow devices such as sbd.
>     Use this to enable random delay for stonith actions and specify the maximum of random delay.
> ...
>
> This is the only delay parameter i can use. But a random delay does not seem to be a reliable solution.
>
> The stonith:ipmilan agent also provides just a random delay. Same with the riloe agent.
>
> How did anyone solve this problem ?
>
> Or do i have to edit the RA (I will get practice in that :-))?
>
>
> Bernd
>
>





More information about the Users mailing list