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

NAME

6       ocf_heartbeat_openstack-cinder-volume - Attach a cinder volume
7

SYNOPSIS

9       openstack-cinder-volume [start | stop | monitor | meta-data |
10                               validate-all]
11

DESCRIPTION

13       Resource Agent to attach a cinder volume to an instance. It relies on
14       attributes given by openstack-info resource agent (openstack_id
15       attribute).
16

SUPPORTED PARAMETERS

18       openstackcli
19           Path to command line tools for openstack.
20
21           (optional, string, default "/usr/bin/openstack")
22
23       volume_local_check
24           This option allows the cluster to monitor the cinder volume
25           presence without calling the API.
26
27           (optional, boolean, default true)
28
29       openrc
30           Valid Openstack credentials as openrc file from api_access/openrc.
31
32           (required, string, no default)
33
34       volume_id
35           Cinder volume identifier to use to attach the bloc storage.
36
37           (required, string, no default)
38

SUPPORTED ACTIONS

40       This resource agent supports the following actions (operations):
41
42       start
43           Starts the resource. Suggested minimum timeout: 180s.
44
45       stop
46           Stops the resource. Suggested minimum timeout: 180s.
47
48       monitor
49           Performs a detailed status check. Suggested minimum timeout: 30s.
50           Suggested interval: 60s.
51
52       validate-all
53           Performs a validation of the resource configuration. Suggested
54           minimum timeout: 5s.
55
56       meta-data
57           Retrieves resource agent metadata (internal use only). Suggested
58           minimum timeout: 5s.
59

EXAMPLE CRM SHELL

61       The following is an example configuration for a openstack-cinder-volume
62       resource using the crm(8) shell:
63
64           primitive p_openstack-cinder-volume ocf:heartbeat:openstack-cinder-volume \
65             params \
66               openrc=string \
67               volume_id=string \
68             op monitor depth="0" timeout="30s" interval="60s"
69

EXAMPLE PCS

71       The following is an example configuration for a openstack-cinder-volume
72       resource using pcs(8)
73
74           pcs resource create p_openstack-cinder-volume ocf:heartbeat:openstack-cinder-volume \
75             openrc=string \
76             volume_id=string \
77             op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="60s"
78

SEE ALSO

80       http://clusterlabs.org/
81

AUTHOR

83       ClusterLabs contributors (see the resource agent source for information
84       about individual authors)
85
86
87
88resource-agents UNKNOWN           11/03/2021           OCF_HEARTBEAT_OPENST(7)
Impressum