Unix and Linux Discussions Tagged with hacmp |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
14,487 |
AIX |
|
|
|
12 |
6,986 |
AIX |
|
|
|
2 |
13,822 |
AIX |
|
|
|
6 |
6,646 |
AIX |
|
|
|
8 |
20,835 |
AIX |
|
|
|
2 |
7,297 |
AIX |
|
|
|
1 |
3,013 |
AIX |
|
|
|
2 |
14,493 |
AIX |
|
|
|
2 |
2,714 |
AIX |
|
|
|
2 |
3,520 |
AIX |
|
|
|
0 |
2,160 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
28,054 |
AIX |
|
|
|
5 |
8,851 |
AIX |
|
|
|
2 |
11,991 |
AIX |
|
|
|
1 |
5,595 |
AIX |
|
|
|
2 |
6,085 |
AIX |
|
|
|
6 |
21,879 |
AIX |
|
|
|
6 |
4,489 |
AIX |
|
|
|
1 |
3,649 |
AIX |
|
|
|
5 |
7,719 |
Infrastructure Monitoring |
|
|
|
0 |
3,337 |
AIX |
|
|
|
2 |
2,691 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
10,526 |
AIX |
|
|
|
2 |
4,762 |
AIX |
|
|
|
13 |
8,445 |
AIX |
|
|
|
1 |
2,516 |
AIX |
|
|
|
0 |
2,861 |
AIX |
|
|
|
2 |
7,588 |
AIX |
|
|
|
1 |
2,351 |
AIX |
|
|
|
2 |
3,375 |
AIX |
|
|
|
1 |
2,287 |
AIX |
|
|
|
2 |
6,580 |
AIX |
OCF_HEARTBEAT_LVM(7) OCF resource agents OCF_HEARTBEAT_LVM(7)
NAME
ocf_heartbeat_LVM - Controls the availability of an LVM Volume Group
SYNOPSIS
LVM [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for LVM. It manages an Linux Volume Manager volume (LVM) as an HA resource.
SUPPORTED PARAMETERS
volgrpname
The name of volume group.
(required, string, no default)
exclusive
If set, the volume group will be activated exclusively. This option works one of two ways. If the volume group has the cluster
attribute set, then the volume group will be activated exclusively using clvmd across the cluster. If the cluster attribute is not set,
the volume group will be activated exclusively through the use of the volume_list filter in lvm.conf. In the filter scenario, the LVM
agent verifies that pacemaker's configuration will result in the volume group only being active on a single node in the cluster and
that the local node's volume_list filter will prevent the volume group from activating outside of the resource agent. On activation
this agent claims the volume group through the use of a unique tag, and then overrides the volume_list field in a way that allows the
volume group to be activated only by the agent. To use exclusive activation without clvmd, the volume_list in lvm.conf must be
initialized. If volume groups exist locally that are not controlled by the cluster, such as the root volume group, make sure those
volume groups are listed in the volume_list so they will be allowed to activate on bootup.
(optional, boolean, default false)
tag
If "exclusive" is set on a non clustered volume group, this overrides the tag to be used.
(optional, string, default "pacemaker")
partial_activation
If set, the volume group will be activated even only partial of the physical volumes available. It helps to set to true, when you are
using mirroring logical volumes.
(optional, string, default "false")
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 30.
stop
Stops the resource. Suggested minimum timeout: 30.
status
Performs a status check. Suggested minimum timeout: 30.
monitor
Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 10.
methods
Suggested minimum timeout: 5.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a LVM resource using the crm(8) shell:
primitive p_LVM ocf:heartbeat:LVM
params
volgrpname=string
op monitor depth="0" timeout="30" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/LVM_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_LVM(7)