The /usr/lib/failsafe/common_scripts/scriptlib file contains the library of environment variables (beginning with uppercase HA_) and functions (beginning with lowercase ha_) available for use in your action scripts.
Note: Do not change the contents of the scriptlib file.
This chapter describes functions that perform the following tasks, using samples from the scriptlib file:
Linux FailSafe application interfaces
Set global definitions
Check arguments
Read an input file
Execute a command
Write status for a resource
Get the value for a field
Get resource information
Print exclusivity check messages