04.06.2018 18:53, Casey & Gina пишет:
>> There are different code paths when RA is called automatically by
>> resource manager and when RA is called manually by crm_resource. The
>> latter did not export this environment variable until 1.1.17. So
>> documentation is correct in that you do not need 1.1.17 to use RA
>> normally, as part of pacemaker configuration.
> 
> Okay, got it.
> 
>> You should be able to workaround it (should you ever need to manually
>> trigger actions with crm_resource) by manually exporting this
>> environment variable before calling crm_resource.
> 
> Awesome, thanks!  How would I know what to set the variable value to?
> 

That's the value of crm_feature_set CIB attribute; like:

<cib crm_feature_set="3.0.7" validate-with="pacemaker-1.2"
admin_epoch="1" epoch="0" num_updates="0">
...

You can use cibadmin -Q to display current CIB.
_______________________________________________
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to