table of contents
OCF_HEARTBEAT_RAID1(7) | OCF resource agents | OCF_HEARTBEAT_RAID1(7) |
NAME¶
ocf_heartbeat_Raid1 - Manages Linux software RAID (MD) devices on shared storage
SYNOPSIS¶
Raid1 [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
This resource agent manages Linux software RAID (MD) devices on a shared storage medium. It uses mdadm(8) to start, stop, and monitor the MD devices. Raidtools are supported, but deprecated. See https://raid.wiki.kernel.org/index.php/Linux_Raid for more information.
SUPPORTED PARAMETERS¶
raidconf
(required, string, no default)
raiddev
(required, string, no default)
homehost
(optional, string, no default)
force_stop
(optional, boolean, default true)
udev
(optional, boolean, default true)
force_clones
A safe example could be an array that is only named identically across all nodes, but is in fact distinct.
Only set this to "true" if you know what you are doing!
(optional, boolean, default false)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a Raid1 resource using the crm(8) shell:
primitive p_Raid1 ocf:heartbeat:Raid1 \
params \
raidconf=string \
raiddev=string \
op monitor depth="0" timeout="20s" interval="10s"
EXAMPLE PCS¶
The following is an example configuration for a Raid1 resource using pcs(8)
pcs resource create p_Raid1 ocf:heartbeat:Raid1 \
raidconf=string \
raiddev=string \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
12/14/2020 | resource-agents UNKNOWN |