ocf_pacemaker_attribute(7)

ocf_pacemaker_attribute7

Manages a node attribute

Usage

[OCF_RESKEY_state=string] [OCF_RESKEY_name=string] [OCF_RESKEY_active_value=string] [OCF_RESKEY_inactive_value=string]

attribute [start | stop | monitor | reload | migrate_to | migrate_from | validate-all | meta-data]

Overview

This resource agent controls a node attribute for the node it's running on. It sets the attribute one way when started, and another way when stopped, according to the configuration parameters.

Supported parameters

OCF_RESKEY_state = string [/run/opa-RESOURCENAME.state]

State file

Full path of a temporary file to store the resource state in

OCF_RESKEY_name = string [opa-RESOURCENAME]

Attribute name

Name of node attribute to manage

OCF_RESKEY_active_value = string [1]

Attribute value when active

Value to use for node attribute when resource becomes active (empty string is discouraged, because monitor cannot distinguish it from a query error)

OCF_RESKEY_inactive_value = string [0]

Attribute value when inactive

Value to use for node attribute when resource becomes inactive

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Andrew Beekhof <[email protected]>

Author.

From pacemaker-resource-agents 3.0.0-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.