OCF_HEARTBEAT_OPENST(7) | OCF resource agents | OCF_HEARTBEAT_OPENST(7) |
ocf_heartbeat_openstack-cinder-volume - Attach a cinder volume
openstack-cinder-volume [start | stop | monitor | meta-data | validate-all]
Resource Agent to attach a cinder volume to an instance. It relies on attributes given by openstack-info resource agent (openstack_id attribute).
cloud
(optional, string, no default)
openrc
(optional, string, no default)
auth_url
(optional, string, no default)
username
(optional, string, no default)
password
(optional, string, no default)
project_name
(optional, string, no default)
user_domain_name
(optional, string, default "Default")
project_domain_name
(optional, string, default "Default")
openstackcli
(optional, string, default "/usr/bin/openstack")
insecure
(optional, boolean, default false)
volume_local_check
(optional, boolean, default true)
volume_id
(required, string, no default)
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
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 \ volume_id=string \ op monitor depth="0" timeout="180s" interval="60s"
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 \ volume_id=string \ op monitor OCF_CHECK_LEVEL="0" timeout="180s" interval="60s"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/01/2024 | resource-agents 4.13.0-1ubuntu |