OCF_HEARTBEAT_ORALSN(7)
π ocf_heartbeat_oralsnr(7) β Oracle TNS listener, but make it group-chat π
okay so this page lives in the OCF resource agents manual, and it's literally all about keeping an Oracle TNS listener alive as an HA resource. no cap, it's giving βcluster babysitter for your listenerβ energy π«Ά
β¨ NAME β¨
ocf_heartbeat_oralsnr β manages an Oracle TNS listener π
π«Ά SYNOPSIS π«Ά
oralsnr [start | stop | status | monitor | meta-data | validate-all]
πΈ DESCRIPTION πΈ
Resource script for Oracle Listener. It manages an Oracle Listener instance as an HA resource. periodt π
π SUPPORTED PARAMETERS π
sidβ the Oracle SID (akaORACLE_SID). It's used for the monitor op, when alias is undefined i.e. to dotnsping SID. Metadata says:(required, string, no default)π¦homeβ the Oracle home directory (akaORACLE_HOME). If it's not specified, then the SID should be listed in/etc/oratab. Metadata says:(optional, string, no default)β¨userβ run the listener as this user. Metadata says:(optional, string, no default)πlistenerβ the listener instance to be started (as defined inlistener.ora). Defaults toLISTENER. Metadata says:(unique, optional, string, default "LISTENER")πtns_adminβ full path to the directory that contains the Oracle listenertnsnames.oraconfiguration file. The shell variableTNS_ADMINis set to the value provided. Metadata says:(optional, string, no default)πtns_svc_nameβ the TNS alias (akanet_service_name) to ping during the monitor operation. Defaults to the Oracle SID. Metadata says:(unique, optional, string, no default)π§
β SUPPORTED ACTIONS β
This resource agent supports the following actions (operations):
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). Suggested minimum timeout:5s. πmethodsβ suggested minimum timeout:5s. π
π§ͺ EXAMPLE CRM SHELL π§ͺ
The following is an example configuration for a oralsnr resource using the crm(8) shell:
primitive p_oralsnr ocf:heartbeat:oralsnr \
params \
sid=string \
op monitor depth="0" timeout="30s" interval="10s"
πΈ EXAMPLE PCS πΈ
The following is an example configuration for a oralsnr resource using pcs(8):
pcs resource create p_oralsnr ocf:heartbeat:oralsnr \
sid=string \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="10s"
π¦ SEE ALSO π¦
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors)
mwah π this page is from resource-agents version UNKNOWN, dated 10/01/2026 β that's the cute little sign-off, bestie π
π¦ 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