'\" t .\" Title: ocf_pacemaker_Dummy .\" Author: Andrew Beekhof .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 01/08/2021 .\" Manual: Pacemaker Configuration .\" Source: Pacemaker Configuration .\" Language: English .\" .TH "OCF_PACEMAKER_DUMMY" "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_Dummy \- Example stateless resource agent .SH "SYNOPSIS" .PP \fBOCF_RESKEY_state\fR=string \fBOCF_RESKEY_passwd\fR=string [\fBOCF_RESKEY_fake\fR=string] \fBOCF_RESKEY_op_sleep\fR=string [\fBOCF_RESKEY_fail_start_on\fR=string] \fBOCF_RESKEY_envfile\fR=string \fBDummy\fR [start | stop | monitor | reload | migrate_to | migrate_from | validate\-all | meta\-data] .SH "DESCRIPTION" .PP This is a dummy OCF resource agent\&. It does absolutely nothing except keep track of whether it is running or not, and can be configured so that actions fail or take a long time\&. Its purpose is primarily for testing, and to serve as a template for resource agent writers\&. .SH "SUPPORTED PARAMETERS" .PP \fBOCF_RESKEY_state\fR = string [/Dummy\-\&.state] .RS 4 State file .sp Location to store the resource state in\&. .RE .PP \fBOCF_RESKEY_passwd\fR = string [] .RS 4 Password .sp Fake password field .RE .PP \fBOCF_RESKEY_fake\fR = string [dummy] .RS 4 Fake attribute that can be changed to cause a reload .sp Fake attribute that can be changed to cause a reload .RE .PP \fBOCF_RESKEY_op_sleep\fR = string [0] .RS 4 Operation sleep duration in seconds\&. .sp Number of seconds to sleep during operations\&. This can be used to test how the cluster reacts to operation timeouts\&. .RE .PP \fBOCF_RESKEY_fail_start_on\fR = string [] .RS 4 Report bogus start failure on specified host .sp Start actions will return failure if running on the host specified here, but the resource will start successfully anyway (future monitor calls will find it running)\&. This can be used to test on\-fail=ignore\&. .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 .SH "AUTHOR" .PP \fBAndrew Beekhof\fR <\&andrew@beekhof\&.net\&> .RS 4 Author. .RE