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