OCF_HEARTBEAT_WAS(7)
π ocf_heartbeat_WAS β your fave WebSphere wrangler (section 7 of the manual, bestie)
okay so this is ocf_heartbeat_WAS(7) β the whole entire manual page, and I promise it's gonna be painless. grab a boba, we're doing cluster stuff. π§β¨
β¨ NAME β¨
ocf_heartbeat_WAS β it manages a WebSphere Application Server instance. that's it, that's the vibe. π
π¦ SYNOPSIS π¦
WAS [start | stop | status | monitor | meta-data | validate-all]
like, pick one of those and go, bestie. π«Ά
πΈ DESCRIPTION πΈ
so this is the resource script for WAS. it manages a Websphere Application Server (WAS) as an HA resource. literally its whole job. main character energy, no cap. π
π SUPPORTED PARAMETERS π
these are the knobs you can turn, and ngl there are only two, so you can absolutely memorize them:
configβ the WAS-configuration file. that's the whole thing. it's optional, it's a string, and the default is"/usr/WebSphere/AppServer/config/server-cfg.xml"(yes the quotes and the full path, copy it exactly bestie π).portβ the WAS-(snoop)-port-number. optional, integer, default9080. it's giving "tiny parameter list, huge responsibility". π₯
π« SUPPORTED ACTIONS π«
okay so this resource agent supports the following actions (operations). timeouts are suggestions β the cluster's minimum patience, basically:
startβ starts the resource. suggested minimum timeout:300s. a whole five minutes of patience, slay. β³stopβ stops the resource. suggested minimum timeout:300s. same energy. πstatusβ performs a status check. suggested minimum timeout:30s. suggested interval:10s. it's checking in on you every ten seconds, that's love fr fr. π₯Ίmonitorβ performs a detailed status check. suggested minimum timeout:30s. suggested interval:10s. the detailed one, bestie, it's thorough. πvalidate-allβ performs a validation of the resource configuration. suggested minimum timeout:5s. quick little vibe check on your config. βmeta-dataβ retrieves resource agent metadata (internal use only). suggested minimum timeout:5s. don't touch, that's the resource agent's own business. πmethodsβ suggested minimum timeout:5s. that's it, that's the whole description. iconic minimalist behavior. β
π EXAMPLE CRM SHELL π
here's an example configuration for a WAS resource using the crm(8) shell. copy-paste responsibly:
primitive p_WAS ocf:heartbeat:WAS \
op monitor depth="0" timeout="30s" interval="10s"
look at that. gorgeous. no notes. π
π§ EXAMPLE PCS π§
and here's the same kind of situation but for a WAS resource using pcs(8):
pcs resource create p_WAS ocf:heartbeat:WAS \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="10s"
note the OCF_CHECK_LEVEL="0" instead of depth="0" β different tool, different syntax, same dream. π¦
π SEE ALSO π
- http://clusterlabs.org/ β go look, it's the source of all this lore. iykyk. π
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). we stan a collective. π«Ά
heads up bestie: meta-data is marked internal use only, so unless you know exactly why you're poking it, maybe let the cluster handle that one. π
and that's the whole page!! this legendary little doc shipped as resource-agents UNKNOWN, dated 10/01/2026, and you just read the entirety of OCF_HEARTBEAT_WAS(7). go forth and manage that WebSphere, bestie β you're gonna ate. π
β¨π
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms