/usr/share/cluster/lvm.metadata is in resource-agents 1:3.9.2-5+deb7u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | <?xml version="1.0" ?>
<resource-agent name="lvm" version="rgmanager 2.0">
<version>1.0</version>
<longdesc lang="en">
This defines a LVM volume group that is ...
</longdesc>
<shortdesc lang="en">
LVM Failover script
</shortdesc>
<parameters>
<parameter name="name" primary="1">
<longdesc lang="en">
Unique name for this LVM resource
</longdesc>
<shortdesc lang="en">
Name
</shortdesc>
<content type="string"/>
</parameter>
<parameter name="vg_name" required="1">
<longdesc lang="en">
Name of the volume group being managed
</longdesc>
<shortdesc lang="en">
Volume group name
</shortdesc>
<content type="string"/>
</parameter>
<parameter name="lv_name">
<longdesc lang="en">
Name of the logical volume being managed. This
parameter is optional if there are more than one
logical volumes in the volume group to be managed.
</longdesc>
<shortdesc lang="en">
Logical Volume name (optional).
</shortdesc>
<content type="string"/>
</parameter>
<parameter name="self_fence">
<longdesc lang="en">
If set and the clean up of the tags fails, the node will
immediately reboot.
</longdesc>
<shortdesc lang="en">
Fence the node if it is not able to clean up LVM tags
</shortdesc>
<content type="boolean"/>
</parameter>
<parameter name="nfslock" inherit="service%nfslock">
<longdesc lang="en">
If set and unmounting the file system fails, the node will
try to kill lockd and issue reclaims across all remaining
network interface cards.
</longdesc>
<shortdesc lang="en">
Enable NFS lock workarounds
</shortdesc>
<content type="boolean"/>
</parameter>
</parameters>
<actions>
<action name="start" timeout="5"/>
<action name="stop" timeout="5"/>
<action name="status" timeout="5" interval="1h"/>
<action name="monitor" timeout="5" interval="1h"/>
<action name="meta-data" timeout="5"/>
<action name="validate-all" timeout="30"/>
</actions>
<special tag="rgmanager">
<attributes maxinstances="1"/>
</special>
</resource-agent>
|