Provided by: resource-agents_3.9.7-1_amd64 bug

NAME

       ocf_heartbeat_ids - Manages an Informix Dynamic Server (IDS) instance

SYNOPSIS

       ids [start | stop | status | monitor | meta-data | validate-all]

DESCRIPTION

       OCF resource agent to manage an IBM Informix Dynamic Server (IDS) instance as an
       High-Availability resource.

SUPPORTED PARAMETERS

       informixdir
           The value the environment variable INFORMIXDIR has after a typical installation of
           IDS. Or in other words: the path (without trailing '/') where IDS was installed to. If
           this parameter is unspecified the script will try to get the value from the shell
           environment.

           (optional, string, no default)

       informixserver
           The value the environment variable INFORMIXSERVER has after a typical installation of
           IDS. Or in other words: the name of the IDS server instance to manage. If this
           parameter is unspecified the script will try to get the value from the shell
           environment.

           (optional, string, no default)

       onconfig
           The value the environment variable ONCONFIG has after a typical installation of IDS.
           Or in other words: the name of the configuration file for the IDS instance specified
           in INFORMIXSERVER. The specified configuration file will be searched at '/etc/'. If
           this parameter is unspecified the script will try to get the value from the shell
           environment.

           (optional, string, no default)

       dbname
           This parameter defines which database to use in order to monitor the IDS instance. If
           this parameter is unspecified the script will use the 'sysmaster' database as a
           default.

           (optional, string, default "sysmaster")

       sqltestquery
           SQL test query to run on the database specified by the parameter 'dbname' in order to
           monitor the IDS instance and determine if it's functional or not. If this parameter is
           unspecified the script will use 'SELECT COUNT(*) FROM systables;' as a default.

           (optional, string, default "SELECT COUNT(*) FROM systables;")

SUPPORTED ACTIONS

       This resource agent supports the following actions (operations):

       start
           Starts the resource. Suggested minimum timeout: 120.

       stop
           Stops the resource. Suggested minimum timeout: 120.

       status
           Performs a status check. Suggested minimum timeout: 60.

       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.

       usage
           Suggested minimum timeout: 5.

EXAMPLE CRM SHELL

       The following is an example configuration for a ids resource using the crm(8) shell:

           primitive p_ids ocf:heartbeat:ids \
             op monitor depth="0" timeout="30" interval="10"

EXAMPLE PCS

       The following is an example configuration for a ids resource using pcs(8)

           pcs resource create p_ids ocf:heartbeat:ids \
             op monitor depth="0" timeout="30" interval="10"

SEE ALSO

       http://www.linux-ha.org/wiki/ids_(resource_agent)

AUTHOR

       Linux-HA contributors (see the resource agent source for information about individual
       authors)