'\" t .\" Title: ocf_pacemaker_Stateful .\" Author: Andrew Beekhof .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 01/08/2021 .\" Manual: Pacemaker Configuration .\" Source: Pacemaker Configuration .\" Language: English .\" .TH "OCF_PACEMAKER_STATEF" "7" "01/08/2021" "Pacemaker Configuration" "Pacemaker Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ocf_pacemaker_Stateful \- Example stateful resource agent .SH "SYNOPSIS" .PP \fBOCF_RESKEY_state\fR=string \fBOCF_RESKEY_envfile\fR=string [\fBOCF_RESKEY_notify_delay\fR=string] \fBStateful\fR [start | stop | monitor | monitor | promote | demote | notify | meta\-data | validate\-all] .SH "DESCRIPTION" .PP This is an example resource agent that implements two states .SH "SUPPORTED PARAMETERS" .PP \fBOCF_RESKEY_state\fR = string [/Stateful\-\&.state] .RS 4 State file .sp Location to store the resource state in .RE .PP \fBOCF_RESKEY_envfile\fR = string [] .RS 4 Environment dump file .sp If this is set, the environment will be dumped to this file for every call\&. .RE .PP \fBOCF_RESKEY_notify_delay\fR = string [] .RS 4 Notify delay in seconds .sp The notify action will sleep for this many seconds before returning, to simulate a long\-running notify\&. .RE .SH "AUTHOR" .PP \fBAndrew Beekhof\fR <\&andrew@beekhof\&.net\&> .RS 4 Author. .RE