The ha_set_global_defs() function sets the global definitions for the environment variables shown in this section.
The HA_INFILE and HA_OUTFILE variables set the input and output files for a script. These variables do not have global definitions, and are not set by the ha_set_global_defs() function.
The output of the uname command with the -n option, which is the host name or nodename. The nodename is the name by which the system is known to communications networks.
Default: `uname -n`
Path to privileged commands (those that can only be run by root).
Default: /usr/lib/sysadm/privbin
Resource query command. This is an internal command that is not meant for direct use in scripts; use the ha_get_info() function of scriptlib instead.
Default: resourceQuery
Location of the cluster configuration database.
Default: /var/lib/failsafe/cdb/cdb.db
The value of the current logging level. ha_log will only output messages if this value is greater than or equal to HA_NORMLVL. ha_dbglog will only output messages if this value is greater than or equal to HA_DBGLVL.
Default: 2
Successful execution of the script. This variable is used by the start, stop, restart, and monitor scripts.
Default: 0
The script is not running. This variable is used by exclusive scripts.
Default: 0
A command called by the script has failed. his variable is used by the start, stop, restart, and monitor, scripts.
Default: 2
The specific action is not supported for this resource type. This is used by all scripts.
Default: 3