1OCF_PACEMAKER_SYSINF(7) Pacemaker Configuration OCF_PACEMAKER_SYSINF(7)
2
3
4
6 ocf_pacemaker_SysInfo - SysInfo resource agent
7
9 OCF_RESKEY_pidfile=string [OCF_RESKEY_delay=string]
10 [OCF_RESKEY_disks=string] [OCF_RESKEY_disk_unit=string]
11 [OCF_RESKEY_min_disk_free=string]
12
13 SysInfo [start | stop | monitor | meta-data | validate-all]
14
16 This is a SysInfo Resource Agent. It records (in the CIB) various
17 attributes of a node Sample Linux output: arch: i686 os:
18 Linux-2.4.26-gentoo-r14 free_swap: 1999 cpu_info: Intel(R) Celeron(R)
19 CPU 2.40GHz cpu_speed: 4771.02 cpu_cores: 1 cpu_load: 0.00 ram_total:
20 513 ram_free: 117 root_free: 2.4 #health_disk: red Sample Darwin
21 output: arch: i386 os: Darwin-8.6.2 cpu_info: Intel Core Duo cpu_speed:
22 2.16 cpu_cores: 2 cpu_load: 0.18 ram_total: 2016 ram_free: 787
23 root_free: 13 #health_disk: green Units: free_swap: MB ram_*: MB
24 cpu_speed (Linux): bogomips cpu_speed (Darwin): GHz *_free: GB (or
25 user-defined: disk_unit)
26
28 OCF_RESKEY_pidfile = string [/SysInfo-]
29 PID file
30
31 OCF_RESKEY_delay = string [0s]
32 Dampening Delay
33
34 Interval to allow values to stabilize
35
36 OCF_RESKEY_disks = string
37 List of Filesytems/Paths to query for free disk space
38
39 Filesystems or Paths to be queried for free disk space as a SPACE
40 separated list - e.g "/dev/sda1 /tmp". Results will be written to
41 an attribute with leading slashes removed, and other slashes
42 replaced with underscore, and the word 'free' appended - e.g for
43 /dev/sda1 it would be 'dev_sda1_free'. Note: The root filesystem
44 '/' is always queried to an attribute named 'root_free'
45
46 OCF_RESKEY_disk_unit = string [G]
47 Unit to report disk free space in
48
49 Unit to report disk free space in. Can be one of: B, K, M, G, T, P
50 (case-insensitive)
51
52 OCF_RESKEY_min_disk_free = string []
53 minimum disk free space required
54
55 The amount of free space required in monitored disks. If any of the
56 monitored disks has less than this amount of free space, , with the
57 node attribute "#health_disk" changing to "red", all resources will
58 move away from the node. Set the node-health-strategy property
59 appropriately for this to take effect. If the unit is not
60 specified, it defaults to disk_unit.
61
63 Andrew Beekhof <andrew@beekhof.net>
64 Author.
65
66
67
68Pacemaker Configuration 05/05/2021 OCF_PACEMAKER_SYSINF(7)