ocf_heartbeat_sfex (7) - Linux Man Pages

ocf_heartbeat_sfex: Manages exclusive acess to shared storage using Shared Disk File EXclusiveness (SF-EX)

NAME

ocf_heartbeat_sfex - Manages exclusive acess to shared storage using Shared Disk File EXclusiveness (SF-EX)

SYNOPSIS

sfex [start | stop | monitor | meta-data]

DESCRIPTION

Resource script for SF-EX. It manages a shared storage medium exclusively .

SUPPORTED PARAMETERS

device

Block device path that stores exclusive control data. (required, string, no default)

index

Location in block device where exclusive control data is stored. 1 or more is specified. Default is 1. (optional, integer, default 1)

collision_timeout

Waiting time when a collision of lock acquisition is detected. Default is 1 second. (optional, integer, default 1)

monitor_interval

Monitor interval(sec). Default is 10 seconds (optional, integer, default 10)

lock_timeout

Valid term of lock(sec). Default is 20 seconds. (optional, integer, default 20)

SUPPORTED ACTIONS

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 600.

stop

Stops the resource. Suggested minimum timeout: 20s.

monitor

Performs a detailed status check. Suggested minimum timeout: 10. Suggested interval: 10.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.

EXAMPLE

The following is an example configuration for a sfex resource using the crm(8) shell:

primitive example_sfex ocf:heartbeat:sfex \
  params \
    device=string \
  op monitor depth="0" timeout="10" interval="10" 

AUTHOR

Linux-HA contributors (see the resource agent source for information about individual authors)