'\" t .\" Title: ocf_pacemaker_Dummy .\" Author: Andrew Beekhof .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 03/31/2024 .\" Manual: Pacemaker Configuration .\" Source: Pacemaker Configuration .\" Language: English .\" .TH "OCF_PACEMAKER_DUMMY" "7" "03/31/2024" "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 | reload\-agent | 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 an agent reload .sp Fake attribute that can be changed to cause an agent 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, migrate_from, and reload\-agent actions will return failure if running on the host specified here, but the resource will run 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