ocf_heartbeat_Raid1 man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

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
	   The RAID configuration file, e.g. /etc/mdadm.conf.

	   (required, string, no default)

       raiddev
	   One or more block devices to use, space separated. Alternatively,
	   set to "auto" to manage all devices specified in raidconf.

	   (required, string, no default)

       homehost
	   The value for the homehost directive; this is an mdadm feature to
	   protect RAIDs against being activated by accident. It is
	   recommended to create RAIDs managed by the cluster with "homehost"
	   set to a special value, so they are not accidentially
	   auto-assembled by nodes not supposed to own them.

	   (optional, string, no default)

       force_stop
	   If processes or kernel threads are using the array, it cannot be
	   stopped. We will try to stop processes, first by sending TERM and
	   then, if that doesn't help in 3 seconds, using KILL. The lsof(8)
	   program is required to get the list of array users. Of course, the
	   kernel threads cannot be stopped this way. If the processes are
	   critical for data integrity, then set this parameter to false. Note
	   that in that case the stop operation will fail and the node will be
	   fenced.

	   (optional, boolean, default true)

SUPPORTED ACTIONS
       This resource agent supports the following actions (operations):

       start
	   Starts the resource. Suggested minimum timeout: 20s.

       stop
	   Stops the resource. Suggested minimum timeout: 20s.

       status
	   Performs a status check. Suggested minimum timeout: 20s. Suggested
	   interval: 10.

       monitor
	   Performs a detailed status check. Suggested minimum timeout: 20s.
	   Suggested interval: 10.

       validate-all
	   Performs a validation of the resource configuration. Suggested
	   minimum timeout: 5.

       meta-data
	   Retrieves resource agent metadata (internal use only). Suggested
	   minimum timeout: 5.

EXAMPLE
       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="10"

SEE ALSO
       http://www.linux-ha.org/wiki/Raid1_(resource_agent)

AUTHOR
       Linux-HA contributors (see the resource agent source for information
       about individual authors)

resource-agents UNKNOWN		  03/24/2013		OCF_HEARTBEAT_RAID1(7)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net