ocf_pacemaker_Stateful
Example stateful resource agent
- Provided by: pacemaker-resource-agents (Version: 3.0.1-1ubuntu2)
- Source: pacemaker
- Report a bug
Example stateful resource agent
[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]
This is an example resource agent that implements Promoted and Unpromoted roles
OCF_RESKEY_state = string [/Stateful-.state]
Location to store the resource state in
OCF_RESKEY_envfile = string []
If this is set, the environment will be dumped to this file for every call.
OCF_RESKEY_notify_delay = string []
The notify action will sleep for this many seconds before returning, to simulate a long-running notify.
Andrew Beekhof <andrew@beekhof.net>