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 variable INFORMIXDIR has 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 variable INFORMIXSERVER has 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 variable ONCONFIG has after a typical IDS install. translation: the name of the config file for the IDS instance named in INFORMIXSERVER. 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