> >> >> No Section:
> >> >> Is there a reason, why the environment variable
> >> >> 'OCF_RESKEY_CRM_meta_role', which is set in the monitor action,
> >> >> isn't mentioned anywhere ?
> >> >
> >> > Make a good case for it to be explained, and convince me that it
won't
> >> > just serve to confuse everybody, and I'll include it. My best
guess,
> >> > however, is that once I do include it, we'll see a lot of
> >> >
> >> > monitor() {
> >> > if [ "$OCF_RESKEY_CRM_meta_role" = "Master" ]; then
> >> > return $OCF_RUNNING_MASTER
> >> > fi
> >> > ...
> >> > }
> >> >
> >> > ... and that's clearly nonsense.
> >>
> >> And a good way to ensure i strip it from the environment :-)
> >
> > OK, I'll try to convince you :
> >
> > Having the variable in the environment and not naming it's meanings
> > in the guide, will lead exactly to what you can read above. I think
> > others could came to the same conclusions.
> >
> > Second my example, why it might be usefull:
> >
.... removed nonsens you shouldn't read ....
> >
> > The point is: If monitoring is quite expensive, in some resource
> > agents it might make sense to try the expected status first.
>
> Thats what OCF_CHECK_LEVEL is for.
> The above would be frowned upon.
So, best thing would be, as you already said: remove it from the
environment. I could just save your time answering stupid questions.
@Florian: Isn't OCF_CHECK_LEVEL also missing in the guide ?
And thank you very much for section 9.4 (fits to my questions
from yesterday) :-)
Regards,
Alex
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/