<?xml version="1.0"?><!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
<resource-agent name="pacemaker-fenced">
 <version>1.0</version>
 <longdesc lang="en">Instance attributes available for all "stonith"-class resources and used by Pacemaker's fence daemon, formerly known as stonithd</longdesc>
 <shortdesc lang="en">Instance attributes available for all "stonith"-class resources</shortdesc>
 <parameters>
  <parameter name="priority" unique="0">
    <shortdesc lang="en">The priority of the stonith resource. Devices are tried in order of highest priority to lowest.</shortdesc>
    <content type="integer" default="0"/>
  </parameter>
  <parameter name="pcmk_host_argument" unique="0">
    <shortdesc lang="en">Advanced use only: An alternate parameter to supply instead of 'port'</shortdesc>
    <longdesc lang="en">Some devices do not support the standard 'port' parameter or may provide additional ones.
Use this to specify an alternate, device-specific, parameter that should indicate the machine to be fenced.
A value of 'none' can be used to tell the cluster not to supply any additional parameters.
     </longdesc>
    <content type="string" default="port"/>
  </parameter>
  <parameter name="pcmk_host_map" unique="0">
    <shortdesc lang="en">A mapping of host names to ports numbers for devices that do not support host names.</shortdesc>
    <longdesc lang="en">Eg. node1:1;node2:2,3 would tell the cluster to use port 1 for node1 and ports 2 and 3 for node2</longdesc>
    <content type="string" default=""/>
  </parameter>
  <parameter name="pcmk_host_list" unique="0">
    <shortdesc lang="en">A list of machines controlled by this device (Optional unless pcmk_host_check=static-list).</shortdesc>
    <content type="string" default=""/>
  </parameter>
  <parameter name="pcmk_host_check" unique="0">
    <shortdesc lang="en">How to determine which machines are controlled by the device.</shortdesc>
    <longdesc lang="en">Allowed values: dynamic-list (query the device), static-list (check the pcmk_host_list attribute), none (assume every device can fence every machine)</longdesc>
    <content type="string" default="dynamic-list"/>
  </parameter>
  <parameter name="pcmk_delay_max" unique="0">
    <shortdesc lang="en">Enable a random delay for stonith actions and specify the maximum of random delay.</shortdesc>
    <longdesc lang="en">This prevents double fencing when using slow devices such as sbd.
Use this to enable a random delay for stonith actions.
The overall delay is derived from this random delay value adding a static delay so that the sum is kept below the maximum delay.</longdesc>
    <content type="time" default="0s"/>
  </parameter>
  <parameter name="pcmk_delay_base" unique="0">
    <shortdesc lang="en">Enable a base delay for stonith actions and specify base delay value.</shortdesc>
    <longdesc lang="en">This prevents double fencing when different delays are configured on the nodes.
Use this to enable a static delay for stonith actions.
The overall delay is derived from a random delay value adding this static delay so that the sum is kept below the maximum delay.</longdesc>
    <content type="time" default="0s"/>
  </parameter>
  <parameter name="pcmk_action_limit" unique="0">
    <shortdesc lang="en">The maximum number of actions can be performed in parallel on this device</shortdesc>
    <longdesc lang="en">Cluster property concurrent-fencing=true needs to be configured first.
Then use this to specify the maximum number of actions can be performed in parallel on this device. -1 is unlimited.</longdesc>
    <content type="integer" default="1"/>
  </parameter>
  <parameter name="pcmk_reboot_action" unique="0">
    <shortdesc lang="en">Advanced use only: An alternate command to run instead of 'reboot'</shortdesc>
    <longdesc lang="en">Some devices do not support the standard commands or may provide additional ones.
Use this to specify an alternate, device-specific, command that implements the 'reboot' action.</longdesc>
    <content type="string" default="reboot"/>
  </parameter>
  <parameter name="pcmk_reboot_timeout" unique="0">
    <shortdesc lang="en">Advanced use only: Specify an alternate timeout to use for reboot actions instead of stonith-timeout</shortdesc>
    <longdesc lang="en">Some devices need much more/less time to complete than normal.
Use this to specify an alternate, device-specific, timeout for 'reboot' actions.</longdesc>
    <content type="time" default="60s"/>
  </parameter>
  <parameter name="pcmk_reboot_retries" unique="0">
    <shortdesc lang="en">Advanced use only: The maximum number of times to retry the 'reboot' command within the timeout period</shortdesc>
    <longdesc lang="en">Some devices do not support multiple connections. Operations may 'fail' if the device is busy with another task so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries 'reboot' actions before giving up.</longdesc>
    <content type="integer" default="2"/>
  </parameter>
  <parameter name="pcmk_off_action" unique="0">
    <shortdesc lang="en">Advanced use only: An alternate command to run instead of 'off'</shortdesc>
    <longdesc lang="en">Some devices do not support the standard commands or may provide additional ones.
Use this to specify an alternate, device-specific, command that implements the 'off' action.</longdesc>
    <content type="string" default="off"/>
  </parameter>
  <parameter name="pcmk_off_timeout" unique="0">
    <shortdesc lang="en">Advanced use only: Specify an alternate timeout to use for off actions instead of stonith-timeout</shortdesc>
    <longdesc lang="en">Some devices need much more/less time to complete than normal.
Use this to specify an alternate, device-specific, timeout for 'off' actions.</longdesc>
    <content type="time" default="60s"/>
  </parameter>
  <parameter name="pcmk_off_retries" unique="0">
    <shortdesc lang="en">Advanced use only: The maximum number of times to retry the 'off' command within the timeout period</shortdesc>
    <longdesc lang="en">Some devices do not support multiple connections. Operations may 'fail' if the device is busy with another task so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries 'off' actions before giving up.</longdesc>
    <content type="integer" default="2"/>
  </parameter>
  <parameter name="pcmk_on_action" unique="0">
    <shortdesc lang="en">Advanced use only: An alternate command to run instead of 'on'</shortdesc>
    <longdesc lang="en">Some devices do not support the standard commands or may provide additional ones.
Use this to specify an alternate, device-specific, command that implements the 'on' action.</longdesc>
    <content type="string" default="on"/>
  </parameter>
  <parameter name="pcmk_on_timeout" unique="0">
    <shortdesc lang="en">Advanced use only: Specify an alternate timeout to use for on actions instead of stonith-timeout</shortdesc>
    <longdesc lang="en">Some devices need much more/less time to complete than normal.
Use this to specify an alternate, device-specific, timeout for 'on' actions.</longdesc>
    <content type="time" default="60s"/>
  </parameter>
  <parameter name="pcmk_on_retries" unique="0">
    <shortdesc lang="en">Advanced use only: The maximum number of times to retry the 'on' command within the timeout period</shortdesc>
    <longdesc lang="en">Some devices do not support multiple connections. Operations may 'fail' if the device is busy with another task so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries 'on' actions before giving up.</longdesc>
    <content type="integer" default="2"/>
  </parameter>
  <parameter name="pcmk_list_action" unique="0">
    <shortdesc lang="en">Advanced use only: An alternate command to run instead of 'list'</shortdesc>
    <longdesc lang="en">Some devices do not support the standard commands or may provide additional ones.
Use this to specify an alternate, device-specific, command that implements the 'list' action.</longdesc>
    <content type="string" default="list"/>
  </parameter>
  <parameter name="pcmk_list_timeout" unique="0">
    <shortdesc lang="en">Advanced use only: Specify an alternate timeout to use for list actions instead of stonith-timeout</shortdesc>
    <longdesc lang="en">Some devices need much more/less time to complete than normal.
Use this to specify an alternate, device-specific, timeout for 'list' actions.</longdesc>
    <content type="time" default="60s"/>
  </parameter>
  <parameter name="pcmk_list_retries" unique="0">
    <shortdesc lang="en">Advanced use only: The maximum number of times to retry the 'list' command within the timeout period</shortdesc>
    <longdesc lang="en">Some devices do not support multiple connections. Operations may 'fail' if the device is busy with another task so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries 'list' actions before giving up.</longdesc>
    <content type="integer" default="2"/>
  </parameter>
  <parameter name="pcmk_monitor_action" unique="0">
    <shortdesc lang="en">Advanced use only: An alternate command to run instead of 'monitor'</shortdesc>
    <longdesc lang="en">Some devices do not support the standard commands or may provide additional ones.
Use this to specify an alternate, device-specific, command that implements the 'monitor' action.</longdesc>
    <content type="string" default="monitor"/>
  </parameter>
  <parameter name="pcmk_monitor_timeout" unique="0">
    <shortdesc lang="en">Advanced use only: Specify an alternate timeout to use for monitor actions instead of stonith-timeout</shortdesc>
    <longdesc lang="en">Some devices need much more/less time to complete than normal.
Use this to specify an alternate, device-specific, timeout for 'monitor' actions.</longdesc>
    <content type="time" default="60s"/>
  </parameter>
  <parameter name="pcmk_monitor_retries" unique="0">
    <shortdesc lang="en">Advanced use only: The maximum number of times to retry the 'monitor' command within the timeout period</shortdesc>
    <longdesc lang="en">Some devices do not support multiple connections. Operations may 'fail' if the device is busy with another task so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries 'monitor' actions before giving up.</longdesc>
    <content type="integer" default="2"/>
  </parameter>
  <parameter name="pcmk_status_action" unique="0">
    <shortdesc lang="en">Advanced use only: An alternate command to run instead of 'status'</shortdesc>
    <longdesc lang="en">Some devices do not support the standard commands or may provide additional ones.
Use this to specify an alternate, device-specific, command that implements the 'status' action.</longdesc>
    <content type="string" default="status"/>
  </parameter>
  <parameter name="pcmk_status_timeout" unique="0">
    <shortdesc lang="en">Advanced use only: Specify an alternate timeout to use for status actions instead of stonith-timeout</shortdesc>
    <longdesc lang="en">Some devices need much more/less time to complete than normal.
Use this to specify an alternate, device-specific, timeout for 'status' actions.</longdesc>
    <content type="time" default="60s"/>
  </parameter>
  <parameter name="pcmk_status_retries" unique="0">
    <shortdesc lang="en">Advanced use only: The maximum number of times to retry the 'status' command within the timeout period</shortdesc>
    <longdesc lang="en">Some devices do not support multiple connections. Operations may 'fail' if the device is busy with another task so Pacemaker will automatically retry the operation, if there is time remaining. Use this option to alter the number of times Pacemaker retries 'status' actions before giving up.</longdesc>
    <content type="integer" default="2"/>
  </parameter>
 </parameters>
</resource-agent>
