[Pacemaker] OCF_RESKEY_CRM_meta* envars

Andrew Beekhof andrew at beekhof.net
Tue Jun 2 05:15:02 EDT 2009


On Tue, Jun 2, 2009 at 10:24 AM, Florian Haas <florian at linbit.com> wrote:
> Andrew,
>
> On 05/29/2009 09:52 AM, Andrew Beekhof wrote:
>> On Thu, May 28, 2009 at 10:32 PM, Florian Haas <florian at linbit.com> wrote:
>>> Andrew,
>>>
>>> would you mind pointing me to wherever in the code the
>>> OCF_RESKEY_CRM_meta* variables are set and passed into the RA
>>> environment? I'd like to understand where and how this happens, have
>>> been unable to find documentation, and a simple recursive grep in the hg
>>> checkout wasn't too enlightening either.
>>
>> Check out the action2xml() function, in particular its use of hash2metafield().
>
> Hm. I feel a wee bit smarter after looking through that, but still fail
> to understand why

Do you mean technically or conceptually?
Which vars in particular are you talking about?

> these environment variables seem to be available to
> the RA only during some operations (notify?), while unavailable in
> others (monitor?). Forgive my ignorance. Can you shed a little more
> light on that?
>
> Thanks!
> Cheers,
> Florian
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list