On 3/10/06, Huang Zhen <[EMAIL PROTECTED]> wrote:
> Andrew Beekhof wrote:
> > On 3/9/06, [email protected]
> > <[email protected]> wrote:
> >
> >>linux-ha CVS committal
> >>
> >>Author  : zhenh
> >>Host    :
> >>Project : linux-ha
> >>Module  : cts
> >>
> >>Dir     : linux-ha/cts
> >>
> >>
> >>Modified Files:
> >>        CTSlab.py.in
> >>
> >>
> >>Log Message:
> >>make lrmadmin return everytime to avoid block
> >
> >
> > Can you explain this?  Under what circumstances is it blocking?
>
> Ok.
> lrmadmin {-E|--execute} <rscid> <operator> <timeout> <interval> 
> <target_rc|EVERYTIME|CHANGED> [<operator_parameters_list>]
>
> The <target_rc|EVERYTIME|CHANGED> parameter tell lrmd when lrmd should report 
> the result of an operation.
> When the parameter is 0, that means only the operation's result is 0, lrmd 
> reports the result to the client.
> So if the operation failed, result is not 0, lrmd would not report. so the 
> client (lrmadmin) will wait forever.
> If the parameter is EVERYTIME, whatever the result, the client can get it.

that makes sense - thanks for clarifying
_______________________________________________________
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