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 (optional, string, default
28 /var/run/heartbeat/rsctmp/SysInfo-default)
29
30 delay
31 Interval to allow values to stabilize (optional, string, default
32 0s)
33
35 This resource agent supports the following actions (operations):
36
37 start
38 Starts the resource. Suggested minimum timeout: 20s.
39
40 stop
41 Stops the resource. Suggested minimum timeout: 20s.
42
43 monitor
44 Performs a detailed status check. Suggested minimum timeout: 20s.
45 Suggested interval: 60s.
46
47 meta-data
48 Retrieves resource agent metadata (internal use only). Suggested
49 minimum timeout: 5.
50
51 validate-all
52 Performs a validation of the resource configuration. Suggested
53 minimum timeout: 20s.
54
56 The following is an example configuration for a SysInfo resource using
57 the crm(8) shell:
58
59 primitive p_SysInfo ocf:heartbeat:SysInfo \
60 op monitor timeout="20s" interval="60s"
61
63 http://www.linux-ha.org/wiki/SysInfo_(resource_agent)
64
66 Linux-HA contributors (see the resource agent source for information
67 about individual authors)
68
69
70
71resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_SYSINF(7)