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 (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 example_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 1.0.3 07/05/2010 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
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
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)
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)
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)
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)
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)
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)
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)