Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ocf_heartbeat_stateful(7) [debian man page]

OCF_HEARTBEAT_STATEF(7) 					OCF resource agents					   OCF_HEARTBEAT_STATEF(7)

NAME
ocf_heartbeat_Stateful - Example stateful resource agent SYNOPSIS
Stateful [start | stop | monitor | meta-data | validate-all] DESCRIPTION
This is an example resource agent that impliments two states SUPPORTED PARAMETERS
state Location to store the resource state in (unique, optional, string, default /var/run/resource-agents/Stateful-{OCF_RESOURCE_INSTANCE}.state) SUPPORTED ACTIONS
This 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: 20. Suggested interval: 10. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 20s. EXAMPLE
The following is an example configuration for a Stateful resource using the crm(8) shell: primitive p_Stateful ocf:heartbeat:Stateful op monitor depth="0" timeout="20" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/Stateful_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_STATEF(7)

Check Out this Related Man Page

OCF_HEARTBEAT_WAS6(7)						OCF resource agents					     OCF_HEARTBEAT_WAS6(7)

NAME
ocf_heartbeat_WAS6 - Manages a WebSphere Application Server 6 instance SYNOPSIS
WAS6 [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
Resource script for WAS6. It manages a Websphere Application Server (WAS6) as an HA resource. SUPPORTED PARAMETERS
profile The WAS profile name. (optional, string, default default) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 300. stop Stops the resource. Suggested minimum timeout: 300. status Performs a status check. Suggested minimum timeout: 30. Suggested interval: 10. monitor Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 10. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. methods Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a WAS6 resource using the crm(8) shell: primitive p_WAS6 ocf:heartbeat:WAS6 op monitor depth="0" timeout="30" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/WAS6_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_WAS6(7)
Man Page

8 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

"Off Topic" discussions....

to keep these forums a viable resource i understand that we must keep the 'chatter' to a minimum when answering or helping others, so how about an 'off topic' section where we can talk about anything? i can see though that this would entail more work for Neo to set it up, so maybe this is a bad... (3 Replies)
Discussion started by: norsk hedensk
3 Replies

2. Programming

pointer to structures

Dear friends I have a bit basic doubts in pointers and the structures inter relationships. the first one. static struct apvt { int dead; int pending; int abouttograb; }*agents=NULL; what agents pointer is... (1 Reply)
Discussion started by: tech_voip
1 Replies

3. Shell Programming and Scripting

how to set timeout?

When I run a script where the 1st parameter is ip address ftp -n -i -v $1 I hang here if the ip is wrong how to set a timeout something like if (20s not complete "ftp -n -i -v $1") then echo "error" fi Thanks a lot. (14 Replies)
Discussion started by: uativan
14 Replies

4. Shell Programming and Scripting

Replacement of text in a file

Hi , I have some data in my file(properties.txt) like this. # agent.properties agent.dmp.Location= agent.name= I need to relpace the agent.dmp.location with agent.dmp.Location = /opt/VRTS/vxvm I am using the follwing to replace the string AGENT_NAME=snmp... (2 Replies)
Discussion started by: raghu.amilineni
2 Replies

5. Shell Programming and Scripting

Explanation for interesting sed behaviour?

This is my first post so hi to you all. I have browsed these forums in the past and what a great community and resource this is! Thanks to all the contributors ... I look forward to being able to give something back. In the meantime, I have a little conundrum concerning sed. My very simple... (6 Replies)
Discussion started by: Gavster
6 Replies

6. Shell Programming and Scripting

minimum number of unique key

input a 1 a 2 a -1 b 1 b 2 b 3 output a -1 b 1 Thanx ---------- Post updated at 09:42 PM ---------- Previous update was at 09:10 PM ---------- Ok I managed it (7 Replies)
Discussion started by: repinementer
7 Replies

7. AIX

savevg via nim, only vgdata

Other then creating a exclude 'all' file. Is there a way to just create a nim savevg resource that contains just the minimum info to restore a vg. The vg's dirs and files are being backed up. -pete (0 Replies)
Discussion started by: petepdx
0 Replies

8. Shell Programming and Scripting

Perl agent which calculates CPU info and more

Hello to everyone. This is my first post. I want to make one perl agent which calculate following things from Linux Server. Actually I want to pull all this information from 2 linux client and wants to display on web interface. First I want to calculate below details 1) CPU 2) MEMORY 3)... (6 Replies)
Discussion started by: sania.mirza
6 Replies