OCF_Functions(3pm)

OCF_Functions3pm

Helper subroutines for ocf agent

Usage

  use FindBin;
  use lib "$FindBin::RealBin/../../lib/heartbeat/";
  
  use OCF_Functions;

Overview

This module has been ported from the ocf-shellfuncs shell script of the resource-agents project. See <https://github.com/ClusterLabs/resource-agents/>.

Variable

The only variable exported by this module is "__OCF_ACTION".

Subroutines

Here are the subroutines ported from ocf-shellfuncs and exported by this module:

ha_debug
ha_log
hadate
ocf_is_clone
ocf_is_ms
ocf_is_probe
ocf_is_root
ocf_is_true
ocf_is_ver
ocf_local_nodename
ocf_log
ocf_exit_reason
ocf_maybe_random
ocf_ver2num
ocf_ver_complete_level
ocf_ver_level
ocf_version_cmp
set_logtag

Here are the subroutines only existing in the perl module but not in the ocf-shellfuncs script:

ocf_notify_env

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11–12
  3. 13

From resource-agents-paf 2.3.0-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.