1OCF_HEARTBEAT_MACHIN(7)       OCF resource agents      OCF_HEARTBEAT_MACHIN(7)
2
3
4

NAME

6       ocf_heartbeat_machine-info - Records various node attributes in the CIB
7

SYNOPSIS

9       machine-info [start | stop | monitor | meta-data | validate-all]
10

DESCRIPTION

12       This is a Virtual Machine and Container Registration Service Resource
13       Agent. It records (in the CIB) attributes about the number of running
14       virtual machines and containers running on the node. It uses systemd
15       machinectl. Sample output: machines: 5
16

SUPPORTED PARAMETERS

18       pidfile
19           PID file
20
21           (optional, string, default
22           "/run/resource-agents/MachineInfo-RESOURCE_ID")
23
24       delay
25           Interval to allow values to stabilize
26
27           (optional, string, default "0s")
28

SUPPORTED ACTIONS

30       This resource agent supports the following actions (operations):
31
32       start
33           Starts the resource. Suggested minimum timeout: 20s.
34
35       stop
36           Stops the resource. Suggested minimum timeout: 20s.
37
38       monitor
39           Performs a detailed status check. Suggested minimum timeout: 20s.
40           Suggested interval: 60s.
41
42       meta-data
43           Retrieves resource agent metadata (internal use only). Suggested
44           minimum timeout: 5s.
45
46       validate-all
47           Performs a validation of the resource configuration. Suggested
48           minimum timeout: 20s.
49

EXAMPLE CRM SHELL

51       The following is an example configuration for a machine-info resource
52       using the crm(8) shell:
53
54           primitive p_machine-info ocf:heartbeat:machine-info \
55             op monitor timeout="20s" interval="60s"
56

EXAMPLE PCS

58       The following is an example configuration for a machine-info resource
59       using pcs(8)
60
61           pcs resource create p_machine-info ocf:heartbeat:machine-info \
62             op monitor timeout="20s" interval="60s"
63

SEE ALSO

65       http://clusterlabs.org/
66

AUTHOR

68       ClusterLabs contributors (see the resource agent source for information
69       about individual authors)
70
71
72
73resource-agents UNKNOWN           03/15/2019           OCF_HEARTBEAT_MACHIN(7)
Impressum