Debian Codegraph @

tests/data/metadata/fence_mpath.xml

raw symbols SCIP
1 <?xml version="1.0" ?>
2 <resource-agent name="fence_mpath" shortdesc="Fence agent for multipath persistent reservation" >
3 <longdesc>fence_mpath is an I/O Fencing agent that uses SCSI-3 persistent reservations to control access multipath devices. Underlying devices must support SCSI-3 persistent reservations (SPC-3 or greater) as well as the "preempt-and-abort" subcommand.
4 The fence_mpath agent works by having a unique key for each node that has to be set in /etc/multipath.conf. Once registered, a single node will become the reservation holder by creating a "write exclusive, registrants only" reservation on the device(s). The result is that only registered nodes may write to the device(s). When a node failure occurs, the fence_mpath agent will remove the key belonging to the failed node from the device(s). The failed node will no longer be able to write to the device(s). A manual reboot is required.
5
6 When used as a watchdog device you can define e.g. retry=1, retry-sleep=2 and verbose=yes parameters in /etc/sysconfig/stonith if you have issues with it failing.</longdesc>
7 <vendor-url>https://www.sourceware.org/dm/</vendor-url>
8 <parameters>
9 <parameter name="action" unique="0" required="1">
10 <getopt mixed="-o, --action=[action]" />
11 <content type="string" default="off" />
12 <shortdesc lang="en">Fencing action</shortdesc>
13 </parameter>
14 <parameter name="devices" unique="0" required="0">
15 <getopt mixed="-d, --devices=[devices]" />
16 <content type="string" />
17 <shortdesc lang="en">List of devices to use for current operation. Devices can be comma or space separated list of device-mapper multipath devices (eg. /dev/mapper/3600508b400105df70000e00000ac0000 or /dev/mapper/mpath1). Each device must support SCSI-3 persistent reservations.</shortdesc>
18 </parameter>
19 <parameter name="key" unique="0" required="0">
20 <getopt mixed="-k, --key=[key]" />
21 <content type="string" />
22 <shortdesc lang="en">Replaced by port/-n/--plug</shortdesc>
23 </parameter>
24 <parameter name="plug" unique="0" required="0" obsoletes="port">
25 <getopt mixed="-n, --plug=[key]" />
26 <content type="string" />
27 <shortdesc lang="en">Key to use for the current operation. This key should be unique to a node and have to be written in /etc/multipath.conf. For the "on" action, the key specifies the key use to register the local node. For the "off" action, this key specifies the key to be removed from the device(s).</shortdesc>
28 </parameter>
29 <parameter name="port" unique="0" required="0" deprecated="1">
30 <getopt mixed="-n, --plug=[key]" />
31 <content type="string" />
32 <shortdesc lang="en">Key to use for the current operation. This key should be unique to a node and have to be written in /etc/multipath.conf. For the "on" action, the key specifies the key use to register the local node. For the "off" action, this key specifies the key to be removed from the device(s).</shortdesc>
33 </parameter>
34 <parameter name="suppress-errors" unique="0" required="0" deprecated="1">
35 <getopt mixed="--suppress-errors" />
36 <content type="boolean" />
37 <shortdesc lang="en">Error log suppression.</shortdesc>
38 </parameter>
39 <parameter name="suppress_errors" unique="0" required="0" obsoletes="suppress-errors">
40 <getopt mixed="--suppress-errors" />
41 <content type="boolean" />
42 <shortdesc lang="en">Error log suppression.</shortdesc>
43 </parameter>
44 <parameter name="quiet" unique="0" required="0">
45 <getopt mixed="-q, --quiet" />
46 <content type="boolean" />
47 <shortdesc lang="en">Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog.</shortdesc>
48 </parameter>
49 <parameter name="verbose" unique="0" required="0">
50 <getopt mixed="-v, --verbose" />
51 <content type="boolean" />
52 <shortdesc lang="en">Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity.</shortdesc>
53 </parameter>
54 <parameter name="verbose_level" unique="0" required="0">
55 <getopt mixed="--verbose-level" />
56 <content type="integer" />
57 <shortdesc lang="en">Level of debugging detail in output. Defaults to the number of --verbose flags specified on the command line, or to 1 if verbose=1 in a stonith device configuration (i.e., on stdin).</shortdesc>
58 </parameter>
59 <parameter name="debug" unique="0" required="0" deprecated="1">
60 <getopt mixed="-D, --debug-file=[debugfile]" />
61 <content type="string" />
62 <shortdesc lang="en">Write debug information to given file</shortdesc>
63 </parameter>
64 <parameter name="debug_file" unique="0" required="0" obsoletes="debug">
65 <getopt mixed="-D, --debug-file=[debugfile]" />
66 <shortdesc lang="en">Write debug information to given file</shortdesc>
67 </parameter>
68 <parameter name="version" unique="0" required="0">
69 <getopt mixed="-V, --version" />
70 <content type="boolean" />
71 <shortdesc lang="en">Display version information and exit</shortdesc>
72 </parameter>
73 <parameter name="help" unique="0" required="0">
74 <getopt mixed="-h, --help" />
75 <content type="boolean" />
76 <shortdesc lang="en">Display help and exit</shortdesc>
77 </parameter>
78 <parameter name="plug_separator" unique="0" required="0">
79 <getopt mixed="--plug-separator=[char]" />
80 <content type="string" default="," />
81 <shortdesc lang="en">Separator for plug parameter when specifying more than 1 plug</shortdesc>
82 </parameter>
83 <parameter name="delay" unique="0" required="0">
84 <getopt mixed="--delay=[seconds]" />
85 <content type="second" default="0" />
86 <shortdesc lang="en">Wait X seconds before fencing is started</shortdesc>
87 </parameter>
88 <parameter name="disable_timeout" unique="0" required="0">
89 <getopt mixed="--disable-timeout=[true/false]" />
90 <content type="string" />
91 <shortdesc lang="en">Disable timeout (true/false) (default: true when run from Pacemaker 2.0+)</shortdesc>
92 </parameter>
93 <parameter name="login_timeout" unique="0" required="0">
94 <getopt mixed="--login-timeout=[seconds]" />
95 <content type="second" default="5" />
96 <shortdesc lang="en">Wait X seconds for cmd prompt after login</shortdesc>
97 </parameter>
98 <parameter name="mpathpersist_path" unique="0" required="0">
99 <getopt mixed="--mpathpersist-path=[path]" />
100 <shortdesc lang="en">Path to mpathpersist binary</shortdesc>
101 </parameter>
102 <parameter name="power_timeout" unique="0" required="0">
103 <getopt mixed="--power-timeout=[seconds]" />
104 <content type="second" default="20" />
105 <shortdesc lang="en">Test X seconds for status change after ON/OFF</shortdesc>
106 </parameter>
107 <parameter name="power_wait" unique="0" required="0">
108 <getopt mixed="--power-wait=[seconds]" />
109 <content type="second" default="0" />
110 <shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
111 </parameter>
112 <parameter name="shell_timeout" unique="0" required="0">
113 <getopt mixed="--shell-timeout=[seconds]" />
114 <content type="second" default="3" />
115 <shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
116 </parameter>
117 <parameter name="stonith_status_sleep" unique="0" required="0">
118 <getopt mixed="--stonith-status-sleep=[seconds]" />
119 <content type="second" default="1" />
120 <shortdesc lang="en">Sleep X seconds between status calls during a STONITH action</shortdesc>
121 </parameter>
122 <parameter name="store_path" unique="0" required="0">
123 <getopt mixed="--store-path=[path]" />
124 <shortdesc lang="en">Path to directory where fence agent can store information</shortdesc>
125 </parameter>
126 <parameter name="retry_on" unique="0" required="0">
127 <getopt mixed="--retry-on=[attempts]" />
128 <content type="integer" default="1" />
129 <shortdesc lang="en">Count of attempts to retry power on</shortdesc>
130 </parameter>
131 <parameter name="sudo" unique="0" required="0" deprecated="1">
132 <getopt mixed="--use-sudo" />
133 <content type="boolean" />
134 <shortdesc lang="en">Use sudo (without password) when calling 3rd party software</shortdesc>
135 </parameter>
136 <parameter name="use_sudo" unique="0" required="0" obsoletes="sudo">
137 <getopt mixed="--use-sudo" />
138 <content type="boolean" />
139 <shortdesc lang="en">Use sudo (without password) when calling 3rd party software</shortdesc>
140 </parameter>
141 <parameter name="sudo_path" unique="0" required="0">
142 <getopt mixed="--sudo-path=[path]" />
143 <shortdesc lang="en">Path to sudo binary</shortdesc>
144 </parameter>
145 </parameters>
146 <actions>
147 <action name="on" on_target="1" automatic="1"/>
148 <action name="off" />
149 <action name="status" />
150 <action name="monitor" />
151 <action name="metadata" />
152 <action name="manpage" />
153 <action name="validate-all" />
154 </actions>
155 </resource-agent>