Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ocf_heartbeat_anything(7) [suse man page]

OCF_HEARTBEAT_ANYTHI(7) 					OCF resource agents					   OCF_HEARTBEAT_ANYTHI(7)

NAME
ocf_heartbeat_anything - Manages an arbitrary service SYNOPSIS
anything [start | stop | monitor | meta-data | validate-all] DESCRIPTION
This is a generic OCF RA to manage almost anything. SUPPORTED PARAMETERS
binfile The full name of the binary to be executed. This is expected to keep running with the same pid and not just do something and exit. (required, string, no default) cmdline_options Command line options to pass to the binary (optional, string, no default) pidfile File to read/write the PID from/to. (optional, string, default /var/run//anything_default.pid) logfile File to write STDOUT to (optional, string, no default) errlogfile File to write STDERR to (optional, string, no default) user User to run the command as (optional, string, default root) monitor_hook Command to run in monitor operation (optional, string, no default) stop_timeout In the stop operation: Seconds to wait for kill -TERM to succeed before sending kill -SIGKILL. Defaults to 2/3 of the stop operation timeout. (optional, string, no default) 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: 20s. 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: 5. EXAMPLE
The following is an example configuration for a anything resource using the crm(8) shell: primitive example_anything ocf:heartbeat:anything params binfile=string op monitor depth="0" timeout="20s" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/anything_(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_ANYTHI(7)

Check Out this Related Man Page

OCF_HEARTBEAT_VIPARI(7) 					OCF resource agents					   OCF_HEARTBEAT_VIPARI(7)

NAME
ocf_heartbeat_VIPArip - Manages a virtual IP address through RIP2 SYNOPSIS
VIPArip [start | stop | monitor | validate-all | meta-data] DESCRIPTION
Virtual IP Address by RIP2 protocol. This script manages IP alias in different subnet with quagga/ripd. It can add an IP alias, or remove one. SUPPORTED PARAMETERS
ip The IPv4 address in different subnet, for example "192.168.1.1". (required, string, no default) nic The nic for broadcast the route information. The ripd uses this nic to broadcast the route informaton to others (optional, string, default eth0) zebra_binary Absolute path to the zebra binary. (optional, string, default /usr/sbin/zebra) ripd_binary Absolute path to the ripd binary. (optional, string, default /usr/sbin/ripd) 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: 20s. Suggested interval: 5s. 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: 5s. EXAMPLE
The following is an example configuration for a VIPArip resource using the crm(8) shell: primitive example_VIPArip ocf:heartbeat:VIPArip params ip=string op monitor depth="0" timeout="20s" interval="5s" SEE ALSO
http://www.linux-ha.org/wiki/VIPArip_(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_VIPARI(7)
Man Page