OCF_HEARTBEAT_RAID1(7) | OCF resource agents | OCF_HEARTBEAT_RAID1(7) |
ocf_heartbeat_Raid1 - Manages Linux software RAID (MD) devices on shared storage
Raid1 [start | stop | status | monitor | meta-data | validate-all]
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.
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)
This resource agent supports the following actions (operations):
start
stop
status
monitor
validate-all
meta-data
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"
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"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |