[Linux-HA] how to start/stop a resource and wait until success/fail by PROGRAM?

Lars Marowsky-Bree lmb at suse.de
Mon Oct 22 08:10:40 MDT 2007


On 2007-10-22T14:10:53, Andrew Beekhof <beekhof at gmail.com> wrote:

> once you make your update, look for an lrm_rsc_op for (your resource +
> action=start + rc=0)
> 
> once you see that, then you know it has started

Might be an interesting commandline option for crm_resource -W to block
until the resource changes state, or reaches a particular one, with a
timeout ...?






More information about the Linux-HA mailing list