Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=df5bcaadd... Commit: df5bcaaddc8fcb3481c0d9389417f069dc7c7674 Parent: 9af1fa8c5a04fa2bee34a27e15b02e249c67b0c2 Author: Marek 'marx' Grac mgrac@redhat.com AuthorDate: Mon Dec 1 11:18:59 2014 +0100 Committer: Marek 'marx' Grac mgrac@redhat.com CommitterDate: Mon Dec 1 11:18:59 2014 +0100
fence_mpath: Update XML metadata
--- tests/data/metadata/fence_mpath.xml | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/tests/data/metadata/fence_mpath.xml b/tests/data/metadata/fence_mpath.xml index bd8b141..c62dd49 100644 --- a/tests/data/metadata/fence_mpath.xml +++ b/tests/data/metadata/fence_mpath.xml @@ -1,8 +1,8 @@ <?xml version="1.0" ?> <resource-agent name="fence_mpath" shortdesc="Fence agent for multipath persistent reservation" > -<longdesc>...</longdesc> -<vendor-url>fence_mpath is an I/O fencing agent that uses SCSI-3 persistent reservations to control access to shared storage devices. These devices must be controlled by dm-multipath and underlying devices must support SCSI-3 persistent reservations (SPC-3 or greater) as well as the "preempt-and-abort" subcommand. - The fence_mpath agent works by having unique key for each pair: node and device. These keys have to be manually added to /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_scsi 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.</vendor-url> +<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. +The fence_mpath agent works by having an unique key for each pair of node and device that has to be set also 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.</longdesc> +<vendor-url>https://www.sourceware.org/dm/</vendor-url> <parameters> <parameter name="devices" unique="0" required="0"> <getopt mixed="-d, --devices=[devices]" /> @@ -39,11 +39,21 @@ <content type="boolean" /> <shortdesc lang="en">Display help and exit</shortdesc> </parameter> + <parameter name="delay" unique="0" required="0"> + <getopt mixed="--delay=[seconds]" /> + <content type="string" default="0" /> + <shortdesc lang="en">Wait X seconds before fencing is started</shortdesc> + </parameter> <parameter name="shell_timeout" unique="0" required="0"> <getopt mixed="--shell-timeout=[seconds]" /> <content type="string" default="3" /> <shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc> </parameter> + <parameter name="store_path" unique="0" required="0"> + <getopt mixed="--store-path=[path]" /> + <content type="string" default="/var/run/cluster" /> + <shortdesc lang="en">Path to directory where fence agent can store information</shortdesc> + </parameter> <parameter name="power_timeout" unique="0" required="0"> <getopt mixed="--power-timeout=[seconds]" /> <content type="string" default="20" /> @@ -54,11 +64,6 @@ <content type="string" default="0" /> <shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc> </parameter> - <parameter name="delay" unique="0" required="0"> - <getopt mixed="--delay=[seconds]" /> - <content type="string" default="0" /> - <shortdesc lang="en">Wait X seconds before fencing is started</shortdesc> - </parameter> <parameter name="login_timeout" unique="0" required="0"> <getopt mixed="--login-timeout=[seconds]" /> <content type="string" default="5" /> @@ -67,13 +72,18 @@ <parameter name="mpathpersist_path" unique="0" required="0"> <getopt mixed="--mpathpersist-path=[path]" /> <content type="string" default="/usr/sbin/mpathpersist" /> - <shortdesc lang="en">Path to sg_persist binary</shortdesc> + <shortdesc lang="en">Path to mpathpersist binary</shortdesc> </parameter> <parameter name="retry_on" unique="0" required="0"> <getopt mixed="--retry-on=[attempts]" /> <content type="string" default="1" /> <shortdesc lang="en">Count of attempts to retry power on</shortdesc> </parameter> + <parameter name="sudo" unique="0" required="0"> + <getopt mixed="--use-sudo" /> + <content type="boolean" /> + <shortdesc lang="en">Use sudo (without password) when calling 3rd party sotfware.</shortdesc> + </parameter> </parameters> <actions> <action name="on" on_target="1" automatic="1"/>
cluster-commits@lists.fedorahosted.org