1OCF_PACEMAKER_SYSINF(7)     Pacemaker Configuration    OCF_PACEMAKER_SYSINF(7)
2
3
4

NAME

6       ocf_pacemaker_SysInfo - SysInfo resource agent
7

SYNOPSIS

9       [OCF_RESKEY_pidfile=string] [OCF_RESKEY_delay=string]
10       [OCF_RESKEY_disks=string] [OCF_RESKEY_disk_unit=select]
11       [OCF_RESKEY_min_disk_free=string]
12
13       SysInfo [start | stop | monitor | reload-agent | meta-data |
14       validate-all]
15

DESCRIPTION

17       This is a SysInfo Resource Agent. It records (in the CIB) various
18       attributes of a node Sample Linux output: arch: i686 os:
19       Linux-2.4.26-gentoo-r14 free_swap: 1999 cpu_info: Intel(R) Celeron(R)
20       CPU 2.40GHz cpu_speed: 4771.02 cpu_cores: 1 cpu_load: 0.00 ram_total:
21       513 ram_free: 117 root_free: 2.4 #health_disk: red Sample Darwin
22       output: arch: i386 os: Darwin-8.6.2 cpu_info: Intel Core Duo cpu_speed:
23       2.16 cpu_cores: 2 cpu_load: 0.18 ram_total: 2016 ram_free: 787
24       root_free: 13 #health_disk: green Units: free_swap: MB ram_*: MB
25       cpu_speed (Linux): bogomips cpu_speed (Darwin): GHz *_free: GB (or
26       user-defined: disk_unit)
27

SUPPORTED PARAMETERS

29       OCF_RESKEY_pidfile = string [/SysInfo-]
30           PID file
31
32       OCF_RESKEY_delay = string [0s]
33           Dampening Delay
34
35           Interval to allow values to stabilize
36
37       OCF_RESKEY_disks = string
38           List of Filesytems/Paths to query for free disk space
39
40           Filesystems or Paths to be queried for free disk space as a SPACE
41           separated list - e.g "/dev/sda1 /tmp". Results will be written to
42           an attribute with leading slashes removed, and other slashes
43           replaced with underscore, and the word 'free' appended - e.g for
44           /dev/sda1 it would be 'dev_sda1_free'. Note: The root filesystem
45           '/' is always queried to an attribute named 'root_free'
46
47       OCF_RESKEY_disk_unit = select [G]
48           Unit to report disk free space in
49
50           Unit to report disk free space in. Can be one of: B, K, M, G, T, P
51           (case-insensitive)
52
53       OCF_RESKEY_min_disk_free = string []
54           minimum disk free space required
55
56           The amount of free space required in monitored disks. If any of the
57           monitored disks has less than this amount of free space, , with the
58           node attribute "#health_disk" changing to "red", all resources will
59           move away from the node. Set the node-health-strategy property
60           appropriately for this to take effect. If the unit is not
61           specified, it defaults to disk_unit.
62

AUTHOR

64       Andrew Beekhof <andrew@beekhof.net>
65           Author.
66
67
68
69Pacemaker Configuration           12/08/2022           OCF_PACEMAKER_SYSINF(7)
Impressum