[Linux-HA] 'monitor' action/operation on the resource

Andrew W. Nosenko andrew.w.nosenko at gmail.com
Wed Oct 3 08:21:49 MDT 2007


Some questions about 'monitor' operation on the resource (heartbeat-2.1.2).

1. Resource is controlled by OCF-style Resource Agent.  Meta-data have
'monitor' action.  Whether I should to explicitly add 'monitor'
operation to the CIB in some way (e.g. using hb_gui) for allow
heartbeat to restart resource if it failed (e.g. resource-process is
killed by signal)?

2. Assuming that 'monitior' operation exists in CIB, but 'on_fail'
attribute there is undefined (just absent in the "<op .../>" node.
What things heartbeat will do in this case (restart resource? reboot
node?  migrate resource to another node?  Something else?)

-- 
Andrew W. Nosenko <andrew.w.nosenko at gmail.com>


More information about the Linux-HA mailing list