3

I created simple pacemaker agent for managing MySQL. It works quite well, but there is 1 thing that I can't understand.

When resource is "Started", and monitor action returns one of:

  • $OCF_NOT_RUNNING
  • $OCF_ERR_GENERIC

pacemaker immediately stops resource, and run it again. Is there any way to do more than 1 monitor check, before stopping resource? E.g. 5 retries in 30 seconds timeout. Of course I can set operation timeout, but that's all.

I know that I can implement retry mechanism inside of my resource agent, but I don't feel that it's the best approach.

Any help will be appreciated

4

1 Answer 1

-1

you have to implement retry mechanism, otherwise you will not be able to retry monitor action error.

1
  • It might be worth expanding your answer a little, as it is prone to misinterpretation.
    – womble
    Apr 3, 2019 at 1:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .