export OCF_ROOT=/usr/lib/ocf; $OCF_ROOT/resource.d/pacemaker/Dummy meta-data
<?xml version="1.0"?>
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
<resource-agent name="Dummy" version="0.9">
<version>1.0</version>
<longdesc lang="en-US">
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.
</longdesc>
<shortdesc lang="en-US">Dummy resource agent</shortdesc>
<parameters>
<parameter name="state" unique="1">
<longdesc lang="en-US">
Location to store the resource state in.
</longdesc>
<shortdesc lang="en-US">State file</shortdesc>
<content type="string" default="/var/run//Dummy-{OCF_RESOURCE_INSTANCE}.state" />
</parameter>
<parameter name="dummy" unique="0">
<longdesc lang="en-US">
Dummy attribute that can be changed to cause a reload
</longdesc>
<shortdesc lang="en-US">Dummy attribute that can be changed to cause a reload</shortdesc>
<content type="string" default="blah" />
</parameter>
</parameters>
<actions>
<action name="start" timeout="90" />
<action name="stop" timeout="100" />
<action name="monitor" timeout="20" interval="10" depth="0" start-delay="0" />
<action name="reload" timeout="90" />
<action name="migrate_to" timeout="100" />
<action name="migrate_from" timeout="90" />
<action name="meta-data" timeout="5" />
<action name="validate-all" timeout="30" />
</actions>
</resource-agent>