ocf_pacemaker_Dummy

Langue: en

Version: 10/05/2010 (fedora - 01/12/10)

Section: 7 (Divers)

NAME

ocf_pacemaker_Dummy - Example stateless resource agent

SYNOPSIS

OCF_RESKEY_state=string [OCF_RESKEY_fake=string]

Dummy [start | stop | monitor | reload | migrate_to | migrate_from | validate-all | meta-data]

DESCRIPTION

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.

SUPPORTED PARAMETERS

OCF_RESKEY_state = string [/var/run//Dummy-{OCF_RESOURCE_INSTANCE}.state]

State file
Location to store the resource state in.

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

AUTHOR

Andrew Beekhof <andrew@beekhof.net>

Author.