OCF_HEARTBEAT_DUMMYP - Online Linux Manual PageSection : 7
Updated : 03/25/2021
Source : resource-agents UNKNOWN
Note : OCF resource agents

NAMEocf_heartbeat_dummypy − Example stateless resource agent

SYNOPSISdummypy [start | stop | monitor | migrate_to | migrate_from | meta−data | validate−all]

DESCRIPTIONThis 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​. This resource agent may be configured for native migration if available in the cluster manager​. For Pacemaker, the allow−migrate="true" meta attribute enables native migration​.

SUPPORTED PARAMETERSstate Location to store the resource state in​. (unique, optional, string, no default) fake Fake attribute that can be changed to cause a reload (optional, string, no default)

SUPPORTED ACTIONSThis resource agent supports the following actions (operations): start Starts the resource​. Suggested minimum timeout: 20s​. stop Stops the resource​. Suggested minimum timeout: 20s​. monitor Performs a detailed status check​. Suggested minimum timeout: 20s​. Suggested interval: 10s​. reload Suggested minimum timeout: 20s​. migrate_to Executes steps necessary for migrating the resource to the node​. Suggested minimum timeout: 20s​. migrate_from Executes steps necessary for migrating the resource away from the node​. Suggested minimum timeout: 20s​. validate−all Performs a validation of the resource configuration​. Suggested minimum timeout: 20s​. meta−data Retrieves resource agent metadata (internal use only)​. Suggested minimum timeout: 10s​.

EXAMPLE CRM SHELLThe following is an example configuration for a dummypy resource using the crm(8) shell: primitive p_dummypy ocf:heartbeat:dummypy \ meta allow−migrate="true" \ op monitor timeout="20s" interval="10s" depth="0"

EXAMPLE PCSThe following is an example configuration for a dummypy resource using pcs(8) pcs resource create p_dummypy ocf:heartbeat:dummypy \ op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"

SEE ALSO­http://clusterlabs.org/

AUTHORClusterLabs contributors (see the resource agent source for information about individual authors)
0
Johanes Gumabo
Data Size   :   11,914 byte
man-ocf_heartbeat_dummypy.7Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 261,512
Visitor ID   :     :  
Visitor IP   :   3.138.102.163   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.