ocf_pacemaker_Stateful(7)

ocf_pacemaker_Stateful7

Example stateful resource agent

Usage

[OCF_RESKEY_state=string] [OCF_RESKEY_envfile=string] [OCF_RESKEY_notify_delay=string]

Stateful [start | stop | monitor | monitor | promote | demote | notify | meta-data | reload-agent | validate-all]

Overview

This is an example resource agent that implements Promoted and Unpromoted roles

Supported parameters

OCF_RESKEY_state = string [/Stateful-.state]

State file

Location to store the resource state in

OCF_RESKEY_envfile = string []

Environment dump file

If this is set, the environment will be dumped to this file for every call.

OCF_RESKEY_notify_delay = string []

Notify delay in seconds

The notify action will sleep for this many seconds before returning, to simulate a long-running notify.

Releases

6 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Andrew Beekhof <[email protected]>

Author.

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