6. Script variables

This section outlines variables typically available to resource agents, primarily for convenience purposes. For additional variables available while the agent is being executed, refer to Section 2.1, “Environment variables” and Section 3, “Return codes”.

6.1. $OCF_ROOT

The root of the OCF resource agent hierarchy. This should never be changed by a resource agent. This is usually /usr/lib/ocf.