OCF_HEARTBEAT_IDS(7)
π OCF_HEARTBEAT_IDS π
okay bestie, welcome to the OCF_HEARTBEAT_IDS(7) page β yes, that's a section 7 manual page from the OCF resource agents collection, and we're about to make it make sense π«Ά
β¨ NAME β¨
ocf_heartbeat_ids β manages an Informix Dynamic Server (IDS) instance. that's the whole vibe. it's the resource agent that babysits your IDS instance so your cluster can β¨do its thingβ¨
πΈ SYNOPSIS πΈ
ids [start | stop | status | monitor | meta-data | validate-all]
π¦ DESCRIPTION π¦
so like, this is an OCF resource agent whose whole job is managing an IBM Informix Dynamic Server (IDS) instance as an High-Availability resource. one instance, one agent, infinite loyalty fr fr π
π SUPPORTED PARAMETERS π
these are the knobs you can turn, bestie. turn them wisely π
informixdirβ this is the value the environment variableINFORMIXDIRhas after a typical install of IDS. or, to say it like a normal person: the path (with no trailing'/', ok, don't do it) where IDS was installed. if you don't set this param, the script will try to grab the value from the shell environment instead.
(optional, string, no default)
informixserverβ the value the environment variableINFORMIXSERVERhas after a typical IDS install. aka the name of the IDS server instance you wanna manage. leave it unset and the script goes looking in the shell environment.
(optional, string, no default)
onconfigβ the value the environment variableONCONFIGhas after a typical IDS install. translation: the name of the config file for the IDS instance named inINFORMIXSERVER. the config file you name here gets searched for at'/etc/'. and yeah, if it's unspecified the script will try to pull it from the shell environment.
(optional, string, no default)
dbnameβ which database to use for monitoring the IDS instance. not specified? the script just uses the'sysmaster'database as the default. iconic default behavior honestly β¨
(optional, string, default "sysmaster")
sqltestqueryβ the SQL test query that gets run against the database named by the'dbname'param, to monitor the IDS instance and figure out if it's functional or not. unspecified means it defaults to'SELECT COUNT(*) FROM systables;'.
(optional, string, default "SELECT COUNT(*) FROM systables;")
π₯ SUPPORTED ACTIONS π₯
this resource agent supports these actions (operations), and every single one of them has a suggested minimum timeout, so listen up π
startβ starts the resource. suggested minimum timeout:120s.stopβ stops the resource. suggested minimum timeout:120s.statusβ performs a status check. suggested minimum timeout:60s.monitorβ performs a detailed status check. suggested minimum timeout:30s. suggested interval:10s.validate-allβ performs a validation of the resource configuration. suggested minimum timeout:5s.meta-dataβ retrieves resource agent metadata (internal use only, so don't go poking at it unless you know what you're doing π). suggested minimum timeout:5s.methodsβ suggested minimum timeout:5s.usageβ suggested minimum timeout:5s.
π EXAMPLE CRM SHELL π
here's what a ids resource config looks like using the crm(8) shell. screenshot this, bestie πΈ
primitive p_ids ocf:heartbeat:ids \
op monitor depth="0" timeout="30s" interval="10s"
π EXAMPLE PCS π
and here's the same energy using pcs(8):
pcs resource create p_ids ocf:heartbeat:ids \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="10s"
π SEE ALSO π
http://clusterlabs.org/ β go forth and read, iykyk π
π§ AUTHOR π§
ClusterLabs contributors β and if you're curious about individual authors, the resource agent source has all the receipts (see the resource agent source for information about individual authors).
that's the whole page, no cap. every param, every action, every timeout, every example β all accounted for π
and that's a wrap, bestie π«Ά this lil masterpiece is from resource-agents UNKNOWN, dated 04/08/2026 β go slay your cluster, mwah πβ¨
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms