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       openrc
24           Valid Openstack credentials as openrc file from api_access/openrc.
25
26           (required, string, no default)
27
28       volume_id
29           Cinder volume identifier to use to attach the bloc storage.
30
31           (required, string, no default)
32

SUPPORTED ACTIONS

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

EXAMPLE CRM SHELL

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

EXAMPLE PCS

65       The following is an example configuration for a openstack-cinder-volume
66       resource using pcs(8)
67
68           pcs resource create p_openstack-cinder-volume ocf:heartbeat:openstack-cinder-volume \
69             openrc=string \
70             volume_id=string \
71             op monitor depth="0" timeout="30s" interval="60s"
72

SEE ALSO

74       http://clusterlabs.org/
75

AUTHOR

77       ClusterLabs contributors (see the resource agent source for information
78       about individual authors)
79
80
81
82resource-agents UNKNOWN           10/24/2018           OCF_HEARTBEAT_OPENST(7)
Impressum