[ClusterLabs] PAF not starting resource successfully after node reboot (was: How to set up fencing/stonith)
Andrei Borzenkov
arvidjaar at gmail.com
Mon Jun 4 13:03:15 EDT 2018
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.
More information about the Users
mailing list