1OCF_HEARTBEAT_SYSINF(7) OCF resource agents OCF_HEARTBEAT_SYSINF(7)
2
3
4
6 ocf_heartbeat_SysInfo - Records various node attributes in the CIB
7
9 SysInfo [start | stop | monitor | meta-data | validate-all]
10
12 This is a SysInfo Resource Agent. It records (in the CIB) various
13 attributes of a node Sample Linux output: arch: i686 os:
14 Linux-2.4.26-gentoo-r14 free_swap: 1999 cpu_info: Intel(R) Celeron(R)
15 CPU 2.40GHz cpu_speed: 4771.02 cpu_cores: 1 cpu_load: 0.00 ram_total:
16 513 ram_free: 117 root_free: 2.4
17
18 Sample Darwin output: arch: i386 os: Darwin-8.6.2 cpu_info: Intel Core
19 Duo cpu_speed: 2.16 cpu_cores: 2 cpu_load: 0.18 ram_total: 2016
20 ram_free: 787 root_free: 13
21
22 Units: free_swap: Mb ram_*: Mb root_free: Gb cpu_speed (Linux):
23 bogomips cpu_speed (Darwin): Ghz
24
26 pidfile
27 PID file
28
29 (optional, string, default
30 "/run/resource-agents/SysInfo-RESOURCE_ID")
31
32 delay
33 Interval to allow values to stabilize
34
35 (optional, string, default "0s")
36
38 This resource agent supports the following actions (operations):
39
40 start
41 Starts the resource. Suggested minimum timeout: 20s.
42
43 stop
44 Stops the resource. Suggested minimum timeout: 20s.
45
46 monitor
47 Performs a detailed status check. Suggested minimum timeout: 20s.
48 Suggested interval: 60s.
49
50 meta-data
51 Retrieves resource agent metadata (internal use only). Suggested
52 minimum timeout: 5s.
53
54 validate-all
55 Performs a validation of the resource configuration. Suggested
56 minimum timeout: 20s.
57
59 The following is an example configuration for a SysInfo resource using
60 the crm(8) shell:
61
62 primitive p_SysInfo ocf:heartbeat:SysInfo \
63 op monitor timeout="20s" interval="60s"
64
66 The following is an example configuration for a SysInfo resource using
67 pcs(8)
68
69 pcs resource create p_SysInfo ocf:heartbeat:SysInfo \
70 op monitor timeout="20s" interval="60s"
71
73 http://clusterlabs.org/
74
76 ClusterLabs contributors (see the resource agent source for information
77 about individual authors)
78
79
80
81resource-agents UNKNOWN 11/03/2021 OCF_HEARTBEAT_SYSINF(7)