1OCF_HEARTBEAT_RAID1(7) OCF resource agents OCF_HEARTBEAT_RAID1(7)
2
3
4
6 ocf_heartbeat_Raid1 - Manages a software RAID1 device on shared storage
7
9 Raid1 [start | stop | status | monitor | meta-data | validate-all]
10
12 Resource script for RAID1. It manages a software Raid1 device on a
13 shared storage medium.
14
16 raidconf
17 The RAID configuration file. e.g. /etc/raidtab or /etc/mdadm.conf.
18 (required, string, no default)
19
20 raiddev
21 The block device to use. (required, string, no default)
22
23 homehost
24 The value for the homehost directive; this is an mdadm feature to
25 protect RAIDs against being activated by accident. It is
26 recommended to create RAIDs managed by the cluster with "homehost"
27 set to a special value, so they are not accidentially
28 auto-assembled by nodes not supposed to own them. (optional,
29 string, no default)
30
32 This resource agent supports the following actions (operations):
33
34 start
35 Starts the resource. Suggested minimum timeout: 20s.
36
37 stop
38 Stops the resource. Suggested minimum timeout: 20s.
39
40 status
41 Performs a status check. Suggested minimum timeout: 20s. Suggested
42 interval: 10.
43
44 monitor
45 Performs a detailed status check. Suggested minimum timeout: 20s.
46 Suggested interval: 10.
47
48 validate-all
49 Performs a validation of the resource configuration. Suggested
50 minimum timeout: 5.
51
52 meta-data
53 Retrieves resource agent metadata (internal use only). Suggested
54 minimum timeout: 5.
55
57 The following is an example configuration for a Raid1 resource using
58 the crm(8) shell:
59
60 primitive p_Raid1 ocf:heartbeat:Raid1 \
61 params \
62 raidconf=string \
63 raiddev=string \
64 op monitor depth="0" timeout="20s" interval="10"
65
67 http://www.linux-ha.org/wiki/Raid1_(resource_agent)
68
70 Linux-HA contributors (see the resource agent source for information
71 about individual authors)
72
73
74
75resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_RAID1(7)