On 2009-09-03 11:04, Raoul Bhatia [IPAX] wrote:
> hi,
> 
> i today added log_level and keepalive options to the mysql-proxy ra:
> 
> log_level (error|warning|info|message|debug|)
>   Log all messages of level (error|warning|info|message|debug|) or
>   higer. An empty value disables logging.
> 
> keepalive (true|false|):
>   Try to restart the proxy if it crashed (default: ).
> 
> please commit this patch after my previous patches.

Why not simply report $OCF_NOT_RUNNING on monitor, and let the CRM
handle the restart? That way you'll actually have the CRM keep tabs on
failures via failcount, and give it the possibility to react.

Florian


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to