1OCF_HEARTBEAT_LXD-I(7)        OCF resource agents       OCF_HEARTBEAT_LXD-I(7)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

12       This is a LXD Registration Service Resource Agent. It records (in the
13       CIB) attributes about the number of running LXD containers running on
14       the node. Sample output: lxd_containers: 5
15

SUPPORTED PARAMETERS

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

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

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

EXAMPLE PCS

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

SEE ALSO

64       http://clusterlabs.org/
65

AUTHOR

67       ClusterLabs contributors (see the resource agent source for information
68       about individual authors)
69
70
71
72resource-agents UNKNOWN           10/23/2019            OCF_HEARTBEAT_LXD-I(7)
Impressum