ocf_heartbeat_openstack-cinder-volume(7)
| OCF_HEARTBEAT_OPENST(7) | OCF resource agents | OCF_HEARTBEAT_OPENST(7) |
NAME
ocf_heartbeat_openstack-cinder-volume - Attach a cinder volume
SYNOPSIS
openstack-cinder-volume [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Resource Agent to attach a cinder volume to an instance. It relies on attributes given by openstack-info resource agent (openstack_id attribute).
SUPPORTED PARAMETERS
openstackcli
(optional, string, default "/usr/bin/openstack")
volume_local_check
(optional, boolean, default true)
openrc
(required, string, no default)
volume_id
(required, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
EXAMPLE CRM SHELL
The following is an example configuration for a openstack-cinder-volume resource using the crm(8) shell:
primitive p_openstack-cinder-volume ocf:heartbeat:openstack-cinder-volume \
params \
openrc=string \
volume_id=string \
op monitor depth="0" timeout="30s" interval="60s"
EXAMPLE PCS
The following is an example configuration for a openstack-cinder-volume resource using pcs(8)
pcs resource create p_openstack-cinder-volume ocf:heartbeat:openstack-cinder-volume \
openrc=string \
volume_id=string \
op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="60s"
SEE ALSO
http://clusterlabs.org/
AUTHOR
ClusterLabs contributors (see the resource agent source for information about individual authors)
| 11/03/2021 | resource-agents 4.10.0 |
