OCF_HEARTBEAT_RAID1(7) OCF resource agents OCF_HEARTBEAT_RAID1(7)NAME
ocf_heartbeat_Raid1 - Manages a software RAID1 device on shared storage
SYNOPSIS
Raid1 [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for RAID1. It manages a software Raid1 device on a shared storage medium.
SUPPORTED PARAMETERS
raidconf
The RAID configuration file. e.g. /etc/raidtab or /etc/mdadm.conf. (required, string, no default)
raiddev
The block device to use. (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)
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/09/2014 OCF_HEARTBEAT_RAID1(7)
Check Out this Related Man Page
OCF_HEARTBEAT_IPSRCA(7) OCF resource agents OCF_HEARTBEAT_IPSRCA(7)NAME
ocf_heartbeat_IPsrcaddr - Manages the preferred source address for outgoing IP packets
SYNOPSIS
IPsrcaddr [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for IPsrcaddr. It manages the preferred source address modification.
SUPPORTED PARAMETERS
ipaddress
The IP address.
(required, string, no default)
cidr_netmask
The netmask for the interface in CIDR format. (ie, 24), or in dotted quad notation 255.255.255.0).
(optional, string, no default)
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.
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 IPsrcaddr resource using the crm(8) shell:
primitive p_IPsrcaddr ocf:heartbeat:IPsrcaddr
params
ipaddress=string
op monitor depth="0" timeout="20s" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/IPsrcaddr_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_IPSRCA(7)
I'm setting up a server with software RAID1, and everything is working perfectly, except that when I pull either of the drives, the system completely hangs and has to be rebooted. The computer is a Tyan Transport GX28, which is alleged to have hot-swappable SATA. I can fail a drive and the system... (1 Reply)
LOOP
`echo "$COLNAME $TYPENAME($LENGTH) $NULLS " | awk ' { printf("%20s%20s%20s\n",$1,$2,$3) } ' ` >>$DDL_FILE
END-LOOP
How to change the alignment of the above text. I.e by default it is right justified. but i want left justification (1 Reply)
Host Name - xxxxxxx
IP Address - xxxxxxxxx
Alert Msg - The percentage of available storage space (DMXMemory) is low (49.54374442289481 percent).
Time received - 14:23
Time Logged - 14:55
Suggested Group - MR-UNIX (5 Replies)
HI i am writing a shell script to generate some files having data in some format.
for this i am using
awk -F":" '{printf("%-20s:%-20s:%-20s:%-20s:%-15s:%-3s:%-19s:%-2s:%-20s:%-15s:%-2s\n", $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11)}' $DIALPBIN/temp1.txt > ${DIALPBIN}/temp2.txt
this helps in... (1 Reply)
Hi,
I've been searching for answers for two days and didn't find any definite answers on building RAID1 on SPARC. The main problem was with SILO (Sparc Improved boot LOader): can it boot from RAID partition or not. So I just tried it and it works.
I've done this on Debian, but it should be... (0 Replies)