GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OCF_PACEMAKER_DUMMY(7) Pacemaker Configuration OCF_PACEMAKER_DUMMY(7)

ocf_pacemaker_Dummy - Example stateless resource agent

OCF_RESKEY_state=string OCF_RESKEY_passwd=string [OCF_RESKEY_fake=string] OCF_RESKEY_op_sleep=string [OCF_RESKEY_fail_start_on=string] OCF_RESKEY_envfile=string
Dummy [start | stop | monitor | reload | migrate_to | migrate_from | validate-all | meta-data]

This is a Dummy Resource Agent. It does absolutely nothing except keep track of whether its running or not. Its purpose in life is for testing and to serve as a template for RA writers. NB: Please pay attention to the timeouts specified in the actions section below. They should be meaningful for the kind of resource the agent manages. They should be the minimum advised timeouts, but they shouldn't/cannot cover _all_ possible resource instances. So, try to be neither overly generous nor too stingy, but moderate. The minimum timeouts should never be below 10 seconds.

OCF_RESKEY_state = string [/Dummy-.state]
State file
Location to store the resource state in.
OCF_RESKEY_passwd = string []
Password
Fake password field
OCF_RESKEY_fake = string [dummy]
Fake attribute that can be changed to cause a reload
Fake attribute that can be changed to cause a reload
OCF_RESKEY_op_sleep = string [0]
Operation sleep duration in seconds.
Number of seconds to sleep during operations. This can be used to test how the cluster reacts to operation timeouts.
OCF_RESKEY_fail_start_on = string []
Report bogus start failure on specified host
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.
OCF_RESKEY_envfile = string []
Environment dump file
If this is set, the environment will be dumped to this file for every call.

Andrew Beekhof <andrew@beekhof.net>
Author.
01/02/2019 Pacemaker Configuration

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.