[ClusterLabs] Antw: Is there a way to ignore a single monitoring timeout

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Sep 1 02:11:45 EDT 2017

>>> Klechomir <klecho at gmail.com> schrieb am 31.08.2017 um 17:18 in Nachricht
<2733498.Wyt05tt8L0 at bobo>:

> Hi List,
> I've been fighting with one problem with many different kinds of resources.
> While the resource is ok, without apparent reason, once in a while there is 
> no 
> response to a monitoring request, which leads to a monitoring timeout and 
> resource restart etc
> Is there any way to ignore one timed out monitoring request and react only 
> on 
> two (or more) failed requests in a row?

I think you are asking the question in the wrong way: You'll have to choose a timeout value that fails in less than 0.x of all cases when the resource is fine, while it fails in (1 - 0.x) cases when the resource has a problem (assuming the monitor just hangs if there is a problem). It's up to you to select the x (via timeout of monitor) that fits your needs.

In a nutshell: short timeouts may produce errors when there are none, long timeouts may cause extra delays when there is a problem.

BTW: Having an extra round of monitoring is equivalent to doubling the timeout value; isn't it?


More information about the Users mailing list