ocf_pacemaker_Stateful7
Example stateful resource agent
Usage
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.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 7 (Wheezy)