[Pacemaker] How to properly define DRBD resources

Nikita Staroverov nsforth at gmail.com
Wed Dec 18 05:05:14 UTC 2013


> Hello,
>
> I have this part above missing. So there was no patch applied. I will 
> do it manually by adding this section. Will that be enough? I mean 
> adding:
>
>         # avoid too tight pacemaker driven "recovery" loop,
>         # if promotion keeps failing for some reason
>         if [[ $rc != 0 ]] && (( $SECONDS < 15 )) ; then
>                 delay=$(( 15 - SECONDS ))
>                 ocf_log warn "promotion failed; sleep $delay # to 
> prevent tight
>                 recovery loop"
>                 sleep $delay
>         fi
>
> I am asking because my lines number are different. Patch will start at 
> line 614 not 678.
>
It will be enough probably, but the best way is  to get last ocf agent 
from 8.3 git then diff between them.  :)






More information about the Pacemaker mailing list