From 86ed03f8adee56c050c73018537371c230a664a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 08:50:17 +0200 Subject: Adding upstream version 4.12.1. Signed-off-by: Daniel Baumann --- tests/data/metadata/fence_aliyun.xml | 138 +++++++++++++++ tests/data/metadata/fence_alom.xml | 204 ++++++++++++++++++++++ tests/data/metadata/fence_amt.xml | 188 ++++++++++++++++++++ tests/data/metadata/fence_amt_ws.xml | 170 ++++++++++++++++++ tests/data/metadata/fence_apc.xml | 215 +++++++++++++++++++++++ tests/data/metadata/fence_apc_snmp.xml | 225 ++++++++++++++++++++++++ tests/data/metadata/fence_aws.xml | 146 ++++++++++++++++ tests/data/metadata/fence_azure_arm.xml | 198 +++++++++++++++++++++ tests/data/metadata/fence_bladecenter.xml | 215 +++++++++++++++++++++++ tests/data/metadata/fence_brocade.xml | 209 ++++++++++++++++++++++ tests/data/metadata/fence_cdu.xml | 172 ++++++++++++++++++ tests/data/metadata/fence_cisco_mds.xml | 223 ++++++++++++++++++++++++ tests/data/metadata/fence_cisco_ucs.xml | 197 +++++++++++++++++++++ tests/data/metadata/fence_compute.xml | 222 ++++++++++++++++++++++++ tests/data/metadata/fence_crosslink.xml | 128 ++++++++++++++ tests/data/metadata/fence_cyberpower_ssh.xml | 206 ++++++++++++++++++++++ tests/data/metadata/fence_docker.xml | 180 +++++++++++++++++++ tests/data/metadata/fence_drac.xml | 175 +++++++++++++++++++ tests/data/metadata/fence_drac5.xml | 219 +++++++++++++++++++++++ tests/data/metadata/fence_dummy.xml | 115 ++++++++++++ tests/data/metadata/fence_eaton_snmp.xml | 224 ++++++++++++++++++++++++ tests/data/metadata/fence_ecloud.xml | 123 +++++++++++++ tests/data/metadata/fence_emerson.xml | 224 ++++++++++++++++++++++++ tests/data/metadata/fence_eps.xml | 175 +++++++++++++++++++ tests/data/metadata/fence_evacuate.xml | 218 +++++++++++++++++++++++ tests/data/metadata/fence_gce.xml | 213 +++++++++++++++++++++++ tests/data/metadata/fence_hds_cb.xml | 215 +++++++++++++++++++++++ tests/data/metadata/fence_heuristics_ping.xml | 140 +++++++++++++++ tests/data/metadata/fence_hpblade.xml | 215 +++++++++++++++++++++++ tests/data/metadata/fence_ibm_powervs.xml | 153 ++++++++++++++++ tests/data/metadata/fence_ibm_vpc.xml | 142 +++++++++++++++ tests/data/metadata/fence_ibmblade.xml | 224 ++++++++++++++++++++++++ tests/data/metadata/fence_ibmz.xml | 198 +++++++++++++++++++++ tests/data/metadata/fence_idrac.xml | 238 +++++++++++++++++++++++++ tests/data/metadata/fence_ifmib.xml | 225 ++++++++++++++++++++++++ tests/data/metadata/fence_ilo.xml | 201 +++++++++++++++++++++ tests/data/metadata/fence_ilo2.xml | 201 +++++++++++++++++++++ tests/data/metadata/fence_ilo3.xml | 238 +++++++++++++++++++++++++ tests/data/metadata/fence_ilo3_ssh.xml | 221 ++++++++++++++++++++++++ tests/data/metadata/fence_ilo4.xml | 238 +++++++++++++++++++++++++ tests/data/metadata/fence_ilo4_ssh.xml | 221 ++++++++++++++++++++++++ tests/data/metadata/fence_ilo5.xml | 238 +++++++++++++++++++++++++ tests/data/metadata/fence_ilo5_ssh.xml | 221 ++++++++++++++++++++++++ tests/data/metadata/fence_ilo_moonshot.xml | 206 ++++++++++++++++++++++ tests/data/metadata/fence_ilo_mp.xml | 208 ++++++++++++++++++++++ tests/data/metadata/fence_ilo_ssh.xml | 221 ++++++++++++++++++++++++ tests/data/metadata/fence_imm.xml | 238 +++++++++++++++++++++++++ tests/data/metadata/fence_intelmodular.xml | 226 ++++++++++++++++++++++++ tests/data/metadata/fence_ipdu.xml | 224 ++++++++++++++++++++++++ tests/data/metadata/fence_ipmilan.xml | 238 +++++++++++++++++++++++++ tests/data/metadata/fence_ipmilanplus.xml | 238 +++++++++++++++++++++++++ tests/data/metadata/fence_ironic.xml | 177 +++++++++++++++++++ tests/data/metadata/fence_kdump.xml | 79 +++++++++ tests/data/metadata/fence_kubevirt.xml | 138 +++++++++++++++ tests/data/metadata/fence_ldom.xml | 208 ++++++++++++++++++++++ tests/data/metadata/fence_lindypdu.xml | 229 ++++++++++++++++++++++++ tests/data/metadata/fence_lpar.xml | 220 +++++++++++++++++++++++ tests/data/metadata/fence_mpath.xml | 155 +++++++++++++++++ tests/data/metadata/fence_netio.xml | 167 ++++++++++++++++++ tests/data/metadata/fence_openstack.xml | 218 +++++++++++++++++++++++ tests/data/metadata/fence_ovh.xml | 152 ++++++++++++++++ tests/data/metadata/fence_powerman.xml | 135 +++++++++++++++ tests/data/metadata/fence_pve.xml | 215 +++++++++++++++++++++++ tests/data/metadata/fence_raritan.xml | 167 ++++++++++++++++++ tests/data/metadata/fence_raritan_px3.xml | 210 ++++++++++++++++++++++ tests/data/metadata/fence_rcd_serial.xml | 111 ++++++++++++ tests/data/metadata/fence_redfish.xml | 201 +++++++++++++++++++++ tests/data/metadata/fence_rhevm.xml | 210 ++++++++++++++++++++++ tests/data/metadata/fence_rsa.xml | 208 ++++++++++++++++++++++ tests/data/metadata/fence_rsb.xml | 208 ++++++++++++++++++++++ tests/data/metadata/fence_sanbox2.xml | 176 +++++++++++++++++++ tests/data/metadata/fence_sbd.xml | 135 +++++++++++++++ tests/data/metadata/fence_scsi.xml | 169 ++++++++++++++++++ tests/data/metadata/fence_skalar.xml | 192 +++++++++++++++++++++ tests/data/metadata/fence_tripplite_snmp.xml | 225 ++++++++++++++++++++++++ tests/data/metadata/fence_vbox.xml | 240 ++++++++++++++++++++++++++ tests/data/metadata/fence_virsh.xml | 227 ++++++++++++++++++++++++ tests/data/metadata/fence_virt.xml | 101 +++++++++++ tests/data/metadata/fence_vmware.xml | 217 +++++++++++++++++++++++ tests/data/metadata/fence_vmware_rest.xml | 198 +++++++++++++++++++++ tests/data/metadata/fence_vmware_soap.xml | 189 ++++++++++++++++++++ tests/data/metadata/fence_vmware_vcloud.xml | 191 ++++++++++++++++++++ tests/data/metadata/fence_wti.xml | 210 ++++++++++++++++++++++ tests/data/metadata/fence_xenapi.xml | 153 ++++++++++++++++ tests/data/metadata/fence_zvmip.xml | 225 ++++++++++++++++++++++++ 85 files changed, 16506 insertions(+) create mode 100644 tests/data/metadata/fence_aliyun.xml create mode 100644 tests/data/metadata/fence_alom.xml create mode 100644 tests/data/metadata/fence_amt.xml create mode 100644 tests/data/metadata/fence_amt_ws.xml create mode 100644 tests/data/metadata/fence_apc.xml create mode 100644 tests/data/metadata/fence_apc_snmp.xml create mode 100644 tests/data/metadata/fence_aws.xml create mode 100644 tests/data/metadata/fence_azure_arm.xml create mode 100644 tests/data/metadata/fence_bladecenter.xml create mode 100644 tests/data/metadata/fence_brocade.xml create mode 100644 tests/data/metadata/fence_cdu.xml create mode 100644 tests/data/metadata/fence_cisco_mds.xml create mode 100644 tests/data/metadata/fence_cisco_ucs.xml create mode 100644 tests/data/metadata/fence_compute.xml create mode 100644 tests/data/metadata/fence_crosslink.xml create mode 100644 tests/data/metadata/fence_cyberpower_ssh.xml create mode 100644 tests/data/metadata/fence_docker.xml create mode 100644 tests/data/metadata/fence_drac.xml create mode 100644 tests/data/metadata/fence_drac5.xml create mode 100644 tests/data/metadata/fence_dummy.xml create mode 100644 tests/data/metadata/fence_eaton_snmp.xml create mode 100644 tests/data/metadata/fence_ecloud.xml create mode 100644 tests/data/metadata/fence_emerson.xml create mode 100644 tests/data/metadata/fence_eps.xml create mode 100644 tests/data/metadata/fence_evacuate.xml create mode 100644 tests/data/metadata/fence_gce.xml create mode 100644 tests/data/metadata/fence_hds_cb.xml create mode 100644 tests/data/metadata/fence_heuristics_ping.xml create mode 100644 tests/data/metadata/fence_hpblade.xml create mode 100644 tests/data/metadata/fence_ibm_powervs.xml create mode 100644 tests/data/metadata/fence_ibm_vpc.xml create mode 100644 tests/data/metadata/fence_ibmblade.xml create mode 100644 tests/data/metadata/fence_ibmz.xml create mode 100644 tests/data/metadata/fence_idrac.xml create mode 100644 tests/data/metadata/fence_ifmib.xml create mode 100644 tests/data/metadata/fence_ilo.xml create mode 100644 tests/data/metadata/fence_ilo2.xml create mode 100644 tests/data/metadata/fence_ilo3.xml create mode 100644 tests/data/metadata/fence_ilo3_ssh.xml create mode 100644 tests/data/metadata/fence_ilo4.xml create mode 100644 tests/data/metadata/fence_ilo4_ssh.xml create mode 100644 tests/data/metadata/fence_ilo5.xml create mode 100644 tests/data/metadata/fence_ilo5_ssh.xml create mode 100644 tests/data/metadata/fence_ilo_moonshot.xml create mode 100644 tests/data/metadata/fence_ilo_mp.xml create mode 100644 tests/data/metadata/fence_ilo_ssh.xml create mode 100644 tests/data/metadata/fence_imm.xml create mode 100644 tests/data/metadata/fence_intelmodular.xml create mode 100644 tests/data/metadata/fence_ipdu.xml create mode 100644 tests/data/metadata/fence_ipmilan.xml create mode 100644 tests/data/metadata/fence_ipmilanplus.xml create mode 100644 tests/data/metadata/fence_ironic.xml create mode 100644 tests/data/metadata/fence_kdump.xml create mode 100644 tests/data/metadata/fence_kubevirt.xml create mode 100644 tests/data/metadata/fence_ldom.xml create mode 100644 tests/data/metadata/fence_lindypdu.xml create mode 100644 tests/data/metadata/fence_lpar.xml create mode 100644 tests/data/metadata/fence_mpath.xml create mode 100644 tests/data/metadata/fence_netio.xml create mode 100644 tests/data/metadata/fence_openstack.xml create mode 100644 tests/data/metadata/fence_ovh.xml create mode 100644 tests/data/metadata/fence_powerman.xml create mode 100644 tests/data/metadata/fence_pve.xml create mode 100644 tests/data/metadata/fence_raritan.xml create mode 100644 tests/data/metadata/fence_raritan_px3.xml create mode 100644 tests/data/metadata/fence_rcd_serial.xml create mode 100644 tests/data/metadata/fence_redfish.xml create mode 100644 tests/data/metadata/fence_rhevm.xml create mode 100644 tests/data/metadata/fence_rsa.xml create mode 100644 tests/data/metadata/fence_rsb.xml create mode 100644 tests/data/metadata/fence_sanbox2.xml create mode 100644 tests/data/metadata/fence_sbd.xml create mode 100644 tests/data/metadata/fence_scsi.xml create mode 100644 tests/data/metadata/fence_skalar.xml create mode 100644 tests/data/metadata/fence_tripplite_snmp.xml create mode 100644 tests/data/metadata/fence_vbox.xml create mode 100644 tests/data/metadata/fence_virsh.xml create mode 100644 tests/data/metadata/fence_virt.xml create mode 100644 tests/data/metadata/fence_vmware.xml create mode 100644 tests/data/metadata/fence_vmware_rest.xml create mode 100644 tests/data/metadata/fence_vmware_soap.xml create mode 100644 tests/data/metadata/fence_vmware_vcloud.xml create mode 100644 tests/data/metadata/fence_wti.xml create mode 100644 tests/data/metadata/fence_xenapi.xml create mode 100644 tests/data/metadata/fence_zvmip.xml (limited to 'tests/data') diff --git a/tests/data/metadata/fence_aliyun.xml b/tests/data/metadata/fence_aliyun.xml new file mode 100644 index 0000000..56d7920 --- /dev/null +++ b/tests/data/metadata/fence_aliyun.xml @@ -0,0 +1,138 @@ + + +fence_aliyun is an I/O Fencing agent for Aliyun +http://www.aliyun.com + + + + + Fencing action + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Region. + + + + + Access Key. + + + + + Secret Key. + + + + + Ram Role. + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_alom.xml b/tests/data/metadata/fence_alom.xml new file mode 100644 index 0000000..6532ad6 --- /dev/null +++ b/tests/data/metadata/fence_alom.xml @@ -0,0 +1,204 @@ + + +fence_alom is an I/O Fencing agent which can be used with ALOM connected machines. +http://www.sun.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_amt.xml b/tests/data/metadata/fence_amt.xml new file mode 100644 index 0000000..809c2df --- /dev/null +++ b/tests/data/metadata/fence_amt.xml @@ -0,0 +1,188 @@ + + +fence_amt is an I/O Fencing agent which can be used with Intel AMT. This agent calls support software amttool(http://www.kraxel.org/cgit/amtterm/). +http://www.intel.com/ + + + + + Fencing action + + + + + + Change the default boot behavior of the machine. + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + Path to amttool binary + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_amt_ws.xml b/tests/data/metadata/fence_amt_ws.xml new file mode 100644 index 0000000..97a2225 --- /dev/null +++ b/tests/data/metadata/fence_amt_ws.xml @@ -0,0 +1,170 @@ + + +fence_amt_ws is an I/O Fencing agent which can be used with Intel AMT (WS). This agent requires the pywsman Python library which is included in OpenWSMAN. (http://openwsman.github.io/). +http://www.intel.com/ + + + + + Fencing action + + + + + + Change the default boot behavior of the machine. + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_apc.xml b/tests/data/metadata/fence_apc.xml new file mode 100644 index 0000000..6081b1f --- /dev/null +++ b/tests/data/metadata/fence_apc.xml @@ -0,0 +1,215 @@ + + +fence_apc is an I/O Fencing agent which can be used with the APC network power switch. It logs into device via telnet/ssh and reboots a specified outlet. Lengthy telnet/ssh connections should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.apc.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Physical switch number on device + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_apc_snmp.xml b/tests/data/metadata/fence_apc_snmp.xml new file mode 100644 index 0000000..02efbb0 --- /dev/null +++ b/tests/data/metadata/fence_apc_snmp.xml @@ -0,0 +1,225 @@ + + + +fence_apc_snmp is an I/O Fencing agent which can be used with the APC network power switch or Tripplite PDU devices.It logs into a device via SNMP and reboots a specified outlet. It supports SNMP v1, v2c, v3 with all combinations of authenticity/privacy settings. +http://www.apc.com + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_aws.xml b/tests/data/metadata/fence_aws.xml new file mode 100644 index 0000000..76995ec --- /dev/null +++ b/tests/data/metadata/fence_aws.xml @@ -0,0 +1,146 @@ + + +fence_aws is an I/O Fencing agent for AWS (Amazon WebServices). It uses the boto3 library to connect to AWS. + +boto3 can be configured with AWS CLI or by creating ~/.aws/credentials. +For instructions see: https://boto3.readthedocs.io/en/latest/guide/quickstart.html#configuration +http://www.amazon.com + + + + + Fencing action + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Region. + + + + + Access Key. + + + + + Secret Key. + + + + + Filter for list-action + + + + + Boto Lib debug + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_azure_arm.xml b/tests/data/metadata/fence_azure_arm.xml new file mode 100644 index 0000000..c6e1f20 --- /dev/null +++ b/tests/data/metadata/fence_azure_arm.xml @@ -0,0 +1,198 @@ + + +fence_azure_arm is an I/O Fencing agent for Azure Resource Manager. It uses Azure SDK for Python to connect to Azure. + +For instructions to setup credentials see: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal + +Username and password are application ID and authentication key from "App registrations". + +NOTE: NETWORK FENCING +Network fencing requires an additional Subnet named "fence-subnet" for the Virtual Network using a Network Security Group with the following rules: ++-----------+-----+-------------------------+------+------+-----+-----+--------+ +| DIRECTION | PRI | NAME | PORT | PROT | SRC | DST | ACTION | ++-----------+-----+-------------------------+------+------+-----+-----+--------+ +| Inbound | 100 | FENCE_DENY_ALL_INBOUND | Any | Any | Any | Any | Deny | +| Outbound | 100 | FENCE_DENY_ALL_OUTBOUND | Any | Any | Any | Any | Deny | ++-----------+-----+-------------------------+------+------+-----+-----+--------+ + +When using network fencing the reboot-action will cause a quick-return once the network has been fenced (instead of waiting for the off-action to succeed). It will check the status during the monitor-action, and request power-on when the shutdown operation is complete. +http://www.microsoft.com + + + + + Fencing action + + + + + Application ID + + + + + Authentication key + + + + + Script to run to retrieve password + + + + + Authentication key + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Application ID + + + + + Name of resource group. Metadata service is used if the value is not provided. + + + + + Id of Azure Active Directory tenant. + + + + + Id of the Azure subscription. Metadata service is used if the value is not provided. + + + + + Use network fencing. See NOTE-section for configuration. + + + + + Use network fencing. See NOTE-section for configuration. + + + + + Determines if Managed Service Identity should be used. + + + + + Name of the cloud you want to use. + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_bladecenter.xml b/tests/data/metadata/fence_bladecenter.xml new file mode 100644 index 0000000..3cc4153 --- /dev/null +++ b/tests/data/metadata/fence_bladecenter.xml @@ -0,0 +1,215 @@ + + +fence_bladecenter is an I/O Fencing agent which can be used with IBM Bladecenters with recent enough firmware that includes telnet support. It logs into a Brocade chasis via telnet or ssh and uses the command line interface to power on and off blades. +http://www.ibm.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Missing port returns OFF instead of failure + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_brocade.xml b/tests/data/metadata/fence_brocade.xml new file mode 100644 index 0000000..a78738d --- /dev/null +++ b/tests/data/metadata/fence_brocade.xml @@ -0,0 +1,209 @@ + + +fence_brocade is an I/O Fencing agent which can be used with Brocade FC switches. It logs into a Brocade switch via telnet and disables a specified port. Disabling the port which a machine is connected to effectively fences that machine. Lengthy telnet connections to the switch should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. After a fence operation has taken place the fenced machine can no longer connect to the Brocade FC switch. When the fenced machine is ready to be brought back into the GFS cluster (after reboot) the port on the Brocade FC switch needs to be enabled. This can be done by running fence_brocade and specifying the enable action +http://www.brocade.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_cdu.xml b/tests/data/metadata/fence_cdu.xml new file mode 100644 index 0000000..ef87d79 --- /dev/null +++ b/tests/data/metadata/fence_cdu.xml @@ -0,0 +1,172 @@ + + +fence_cdu is an I/O Fencing agent which can be used with the Sentry Switch CDU. It logs into the device via telnet and power's on/off an outlet. +http://www.servertech.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical switch number on device + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_cisco_mds.xml b/tests/data/metadata/fence_cisco_mds.xml new file mode 100644 index 0000000..829c9dc --- /dev/null +++ b/tests/data/metadata/fence_cisco_mds.xml @@ -0,0 +1,223 @@ + + +fence_cisco_mds is an I/O Fencing agent which can be used with any Cisco MDS 9000 series with SNMP enabled device. +http://www.cisco.com + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_cisco_ucs.xml b/tests/data/metadata/fence_cisco_ucs.xml new file mode 100644 index 0000000..76d15e9 --- /dev/null +++ b/tests/data/metadata/fence_cisco_ucs.xml @@ -0,0 +1,197 @@ + + +fence_cisco_ucs is an I/O Fencing agent which can be used with Cisco UCS to fence machines. +http://www.cisco.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Additional path needed to access suborganization + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Missing port returns OFF instead of failure + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_compute.xml b/tests/data/metadata/fence_compute.xml new file mode 100644 index 0000000..f6aa192 --- /dev/null +++ b/tests/data/metadata/fence_compute.xml @@ -0,0 +1,222 @@ + + +Used to tell Nova that compute nodes are down and to reschedule flagged instances + + + + + + Fencing action + + + + + Keystone Admin Auth URL + + + + + Nova Endpoint type + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Region Name + + + + + Keystone Admin Tenant or v3 Project + + + + + Login name + + + + + Allow Insecure TLS Requests + + + + + Keystone v3 Project Domain + + + + + Keystone v3 Project Domain + + + + + Keystone v3 User Domain + + + + + Keystone v3 User Domain + + + + + DNS domain in which hosts live + + + + + Allow instances to be evacuated + + + + + Disable functionality for dealing with shared storage + + + + + Only record the target as needing evacuation + + + + + Replaced by domain + + + + + Replaced by domain + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_crosslink.xml b/tests/data/metadata/fence_crosslink.xml new file mode 100644 index 0000000..1102b4e --- /dev/null +++ b/tests/data/metadata/fence_crosslink.xml @@ -0,0 +1,128 @@ + + +This agent helps two-node clusters to tackle the situation where one node lost power, cannot be fenced by telling pacemaker that if the node is not reachable over the crosslink cable, we can assume it is dead + + + + + + Fencing action + + + + + Cross-cable IP + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + No ICMP reply in 5 seconds -> Node is considered dead + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_cyberpower_ssh.xml b/tests/data/metadata/fence_cyberpower_ssh.xml new file mode 100644 index 0000000..505db63 --- /dev/null +++ b/tests/data/metadata/fence_cyberpower_ssh.xml @@ -0,0 +1,206 @@ + + +fence_cyberpower_ssh is an I/O Fencing agent which can be used with the CyberPower network power switch. It logs into device via ssh and reboots a specified outlet. Lengthy ssh connections should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.cyberpower.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_docker.xml b/tests/data/metadata/fence_docker.xml new file mode 100644 index 0000000..f685b11 --- /dev/null +++ b/tests/data/metadata/fence_docker.xml @@ -0,0 +1,180 @@ + + +fence_docker is I/O fencing agent which can be used with the Docker Engine containers. You can use this fence-agent without any authentication, or you can use TLS authentication (use --ssl option, more info about TLS authentication in docker: http://docs.docker.com/examples/https/). +www.docker.io + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + + Method to fence + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Version of Docker Remote API (default: 1.11) + + + + + Path to CA certificate (PEM format) for TLS authentication. Required if --ssl option is used. + + + + + Path to client certificate (PEM format) for TLS authentication. Required if --ssl option is used. + + + + + Path to client key (PEM format) for TLS authentication. Required if --ssl option is used. + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_drac.xml b/tests/data/metadata/fence_drac.xml new file mode 100644 index 0000000..a991261 --- /dev/null +++ b/tests/data/metadata/fence_drac.xml @@ -0,0 +1,175 @@ + + +fence_drac is an I/O Fencing agent which can be used with the Dell Remote Access Card (DRAC). This card provides remote access to controlling power to a server. It logs into the DRAC through the telnet interface of the card. By default, the telnet interface is not enabled. To enable the interface, you will need to use the racadm command in the racser-devel rpm available from Dell. To enable telnet on the DRAC: [root]# racadm config -g cfgSerial -o cfgSerialTelnetEnable 1 [root]# racadm racreset +http://www.dell.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to telnet binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_drac5.xml b/tests/data/metadata/fence_drac5.xml new file mode 100644 index 0000000..a0c73eb --- /dev/null +++ b/tests/data/metadata/fence_drac5.xml @@ -0,0 +1,219 @@ + + +fence_drac5 is an I/O Fencing agent which can be used with the Dell Remote Access Card v5 or CMC (DRAC). This device provides remote access to controlling power to a server. It logs into the DRAC through the telnet/ssh interface of the card. By default, the telnet interface is not enabled. +http://www.dell.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + + + Force DRAC version to use + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_dummy.xml b/tests/data/metadata/fence_dummy.xml new file mode 100644 index 0000000..0651f5a --- /dev/null +++ b/tests/data/metadata/fence_dummy.xml @@ -0,0 +1,115 @@ + + +fence_dummy +http://www.example.com + + + + + Fencing action + + + + + Issue a sleep between 1 and X seconds. Used for testing. + + + + File with status + + + + + Type of the dummy fence agent + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_eaton_snmp.xml b/tests/data/metadata/fence_eaton_snmp.xml new file mode 100644 index 0000000..1d89b52 --- /dev/null +++ b/tests/data/metadata/fence_eaton_snmp.xml @@ -0,0 +1,224 @@ + + +fence_eaton_snmp is an I/O Fencing agent which can be used with the Eaton network power switch. It logs into a device via SNMP and reboots a specified outlet. It supports SNMP v1 and v3 with all combinations of authenticity/privacy settings. +http://powerquality.eaton.com + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ecloud.xml b/tests/data/metadata/fence_ecloud.xml new file mode 100644 index 0000000..9721710 --- /dev/null +++ b/tests/data/metadata/fence_ecloud.xml @@ -0,0 +1,123 @@ + + +fence_ecloud is a fence agent for use with the ANS eCloud platform which is compatible with eCloud VPC and eCloud v1. +https://www.ans.co.uk + + + + + API Key + + + + + Fencing action + + + + + Instance ID (VPC) or server ID (v1) + + + + + Instance ID (VPC) or server ID (v1) + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_emerson.xml b/tests/data/metadata/fence_emerson.xml new file mode 100644 index 0000000..1ed792e --- /dev/null +++ b/tests/data/metadata/fence_emerson.xml @@ -0,0 +1,224 @@ + + +fence_emerson is an I/O Fencing agent which can be used with MPX and MPH2 managed rack PDU. +http://www.emersonnetworkpower.com + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_eps.xml b/tests/data/metadata/fence_eps.xml new file mode 100644 index 0000000..a8cf8ad --- /dev/null +++ b/tests/data/metadata/fence_eps.xml @@ -0,0 +1,175 @@ + + +fence_eps is an I/O Fencing agent which can be used with the ePowerSwitch 8M+ power switch to fence connected machines. Fence agent works ONLY on 8M+ device, because this is only one, which has support for hidden page feature. + +Agent basically works by connecting to hidden page and pass appropriate arguments to GET request. This means, that hidden page feature must be enabled and properly configured. +http://www.epowerswitch.com + + + + + Fencing action + + + + + Name of hidden page + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Name of hidden page + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_evacuate.xml b/tests/data/metadata/fence_evacuate.xml new file mode 100644 index 0000000..df2181e --- /dev/null +++ b/tests/data/metadata/fence_evacuate.xml @@ -0,0 +1,218 @@ + + +Used to reschedule flagged instances + + + + + + Fencing action + + + + + Keystone Admin Auth URL + + + + + Nova Endpoint type + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Region Name + + + + + Keystone Admin Tenant or v3 Project + + + + + Login name + + + + + Allow Insecure TLS Requests + + + + + Keystone v3 Project Domain + + + + + Keystone v3 Project Domain + + + + + Keystone v3 User Domain + + + + + Keystone v3 User Domain + + + + + DNS domain in which hosts live + + + + + Allow instances to be evacuated + + + + + Disable functionality for dealing with shared storage + + + + + Replaced by domain + + + + + Replaced by domain + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_gce.xml b/tests/data/metadata/fence_gce.xml new file mode 100644 index 0000000..2a89b16 --- /dev/null +++ b/tests/data/metadata/fence_gce.xml @@ -0,0 +1,213 @@ + + +fence_gce is an I/O Fencing agent for GCE (Google Cloud Engine). It uses the googleapiclient library to connect to GCE. +googleapiclient can be configured with Google SDK CLI or by executing 'gcloud auth application-default login'. +For instructions see: https://cloud.google.com/compute/docs/tutorials/python-guide +http://cloud.google.com + + + + + Fencing action + + + + + + Method to fence + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Zone. + + + + + Project ID. + + + + + Stackdriver-logging support. + + + + + Stackdriver-logging support. + + + + + If enabled this is a bare metal offering from google. + + + + + Timeout in seconds to use for API calls, default is 60. + + + + + Number of retries on failure for API calls, default is 3. + + + + + Time to sleep in seconds between API retries, default is 5. + + + + + Service Account to use for authentication to the google cloud APIs. + + + + + Comma separated zone map when fencing multiple plugs. + + + + + If a proxy is used for internet access, the proxy host should be specified. + + + + + If a proxy is used for internet access, the proxy port should be specified. + + + + + If an existing reset operation is detected, the fence agent will return before the operation completes with a 0 return code. + + + + + If the operation is not completed within the timeout, the cluster operations are allowed to continue. + + + + + If the operation is not completed within the timeout, cluster is notified of the operation failure. + + + + + If a timeout would occur while running the agent, then the supplied command is run. + + + + + If a failure would occur while running the agent, then the supplied command is run. + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_hds_cb.xml b/tests/data/metadata/fence_hds_cb.xml new file mode 100644 index 0000000..e25d889 --- /dev/null +++ b/tests/data/metadata/fence_hds_cb.xml @@ -0,0 +1,215 @@ + + +fence_hds_cb is an I/O Fencing agent which can be used with Hitachi Compute Blades with recent enough firmware that includes telnet support. +http://www.hds.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Missing port returns OFF instead of failure + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_heuristics_ping.xml b/tests/data/metadata/fence_heuristics_ping.xml new file mode 100644 index 0000000..b10189b --- /dev/null +++ b/tests/data/metadata/fence_heuristics_ping.xml @@ -0,0 +1,140 @@ + + +fence_heuristics_ping uses ping-heuristics to control execution of another fence agent on the same fencing level. + +This is not a fence agent by itself! Its only purpose is to enable/disable another fence agent that lives on the same fencing level but after fence_heuristics_ping. + + + + + + Fencing action + + + + + + Method to fence + + + + + The number of ping-probes that is being sent per target + + + + + The number of positive ping-probes required to account a target as available + + + + + The interval in seconds between ping-probes + + + + + The number of failed ping-targets to still account as overall success + + + + + A comma separated list of ping-targets (optionally prepended by 'inet:' or 'inet6:') to be probed + + + + + The timeout in seconds till an individual ping-probe is accounted as lost + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_hpblade.xml b/tests/data/metadata/fence_hpblade.xml new file mode 100644 index 0000000..0957fcd --- /dev/null +++ b/tests/data/metadata/fence_hpblade.xml @@ -0,0 +1,215 @@ + + +fence_hpblade is an I/O Fencing agent which can be used with HP BladeSystem and HP Integrity Superdome X. It logs into the onboard administrator of an enclosure via telnet or ssh and uses the command line interface to power blades or partitions on or off. +http://www.hp.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Missing port returns OFF instead of failure + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ibm_powervs.xml b/tests/data/metadata/fence_ibm_powervs.xml new file mode 100644 index 0000000..79878a9 --- /dev/null +++ b/tests/data/metadata/fence_ibm_powervs.xml @@ -0,0 +1,153 @@ + + +fence_ibm_powervs is an I/O Fencing agent which can be used with IBM PowerVS to fence virtual machines. +https://www.ibm.com + + + + + API-type (public|private) + + + + + API-type (public|private) + + + + + CRN + + + + + PowerVS Instance + + + + + Network proxy + + + + + Region + + + + + API Token + + + + + Fencing action + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ibm_vpc.xml b/tests/data/metadata/fence_ibm_vpc.xml new file mode 100644 index 0000000..fe29ffb --- /dev/null +++ b/tests/data/metadata/fence_ibm_vpc.xml @@ -0,0 +1,142 @@ + + +fence_ibm_vpc is an I/O Fencing agent which can be used with IBM Cloud VPC to fence virtual machines. +https://www.ibm.com + + + + + API Key + + + + + Number of nodes returned by API + + + + + Network proxy + + + + + Region + + + + Path to the token cache file + + + + + Fencing action + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ibmblade.xml b/tests/data/metadata/fence_ibmblade.xml new file mode 100644 index 0000000..3286ca6 --- /dev/null +++ b/tests/data/metadata/fence_ibmblade.xml @@ -0,0 +1,224 @@ + + +fence_ibmblade is an I/O Fencing agent which can be used with IBM BladeCenter chassis. It issues SNMP Set request to BladeCenter chassis, rebooting, powering up or down the specified Blade Server. +http://www.ibm.com + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ibmz.xml b/tests/data/metadata/fence_ibmz.xml new file mode 100644 index 0000000..ba74fa6 --- /dev/null +++ b/tests/data/metadata/fence_ibmz.xml @@ -0,0 +1,198 @@ + + +fence_ibmz is a power fencing agent which uses the HMC Web Services API to fence IBM z LPARs. +http://www.ibm.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug id in the format cpc-name/partition-name (case-sensitive) + + + + + Physical plug id in the format cpc-name/partition-name (case-sensitive) + + + + + Use SSL connection with verifying certificate + + + + + Login name + + + + + How many times to retry on connection errors + + + + + How long to wait to establish a connection + + + + + How long to wait for power operation to complete + + + + + How many times to retry on read errors + + + + + How long to wait for server data + + + + + Rely on the HMC to perform a load operation on activation + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml new file mode 100644 index 0000000..2d48764 --- /dev/null +++ b/tests/data/metadata/fence_idrac.xml @@ -0,0 +1,238 @@ + + + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. + + + + + + Fencing action + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + Hexadecimal-encoded Kg key for IPMIv2 authentication + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Use Lanplus to improve security of connection + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + + Privilege level on IPMI device + + + + + Bridge IPMI requests to the remote target address + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Timeout (sec) for IPMI operation + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ifmib.xml b/tests/data/metadata/fence_ifmib.xml new file mode 100644 index 0000000..4b56e23 --- /dev/null +++ b/tests/data/metadata/fence_ifmib.xml @@ -0,0 +1,225 @@ + + +fence_ifmib is an I/O Fencing agent which can be used with any SNMP IF-MIB capable device. + +It was written with managed ethernet switches in mind, in order to fence iSCSI SAN connections. However, there are many devices that support the IF-MIB interface. The agent uses IF-MIB::ifAdminStatus to control the state of an interface. +http://www.ietf.org/wg/concluded/ifmib.html + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo.xml b/tests/data/metadata/fence_ilo.xml new file mode 100644 index 0000000..0bac03c --- /dev/null +++ b/tests/data/metadata/fence_ilo.xml @@ -0,0 +1,201 @@ + + + +fence_ilo is an I/O Fencing agent used for HP servers with the Integrated Light Out (iLO) PCI card.The agent opens an SSL connection to the iLO card. Once the SSL connection is established, the agent is able to communicate with the iLO card through an XML stream. +http://www.hp.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Force ribcl version to use + + + + + Force ribcl version to use + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Disable TLS negotiation and force TLS1.0. This should only be used for devices that do not support TLS1.1 and up. + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo2.xml b/tests/data/metadata/fence_ilo2.xml new file mode 100644 index 0000000..3d954a3 --- /dev/null +++ b/tests/data/metadata/fence_ilo2.xml @@ -0,0 +1,201 @@ + + + +fence_ilo is an I/O Fencing agent used for HP servers with the Integrated Light Out (iLO) PCI card.The agent opens an SSL connection to the iLO card. Once the SSL connection is established, the agent is able to communicate with the iLO card through an XML stream. +http://www.hp.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Force ribcl version to use + + + + + Force ribcl version to use + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Disable TLS negotiation and force TLS1.0. This should only be used for devices that do not support TLS1.1 and up. + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo3.xml b/tests/data/metadata/fence_ilo3.xml new file mode 100644 index 0000000..0567b53 --- /dev/null +++ b/tests/data/metadata/fence_ilo3.xml @@ -0,0 +1,238 @@ + + + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. + + + + + + Fencing action + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + Hexadecimal-encoded Kg key for IPMIv2 authentication + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Use Lanplus to improve security of connection + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + + Privilege level on IPMI device + + + + + Bridge IPMI requests to the remote target address + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Timeout (sec) for IPMI operation + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo3_ssh.xml b/tests/data/metadata/fence_ilo3_ssh.xml new file mode 100644 index 0000000..e2a2566 --- /dev/null +++ b/tests/data/metadata/fence_ilo3_ssh.xml @@ -0,0 +1,221 @@ + + + + + +fence_ilo_ssh is a fence agent that connects to iLO device. It logs into device via ssh and reboot a specified outlet. + +WARNING: The monitor-action is prone to timeouts. Use the fence_ilo-equivalent to avoid this issue. +http://www.hp.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml new file mode 100644 index 0000000..647bb10 --- /dev/null +++ b/tests/data/metadata/fence_ilo4.xml @@ -0,0 +1,238 @@ + + + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. + + + + + + Fencing action + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + Hexadecimal-encoded Kg key for IPMIv2 authentication + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Use Lanplus to improve security of connection + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + + Privilege level on IPMI device + + + + + Bridge IPMI requests to the remote target address + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Timeout (sec) for IPMI operation + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo4_ssh.xml b/tests/data/metadata/fence_ilo4_ssh.xml new file mode 100644 index 0000000..4fd6b2e --- /dev/null +++ b/tests/data/metadata/fence_ilo4_ssh.xml @@ -0,0 +1,221 @@ + + + + + +fence_ilo_ssh is a fence agent that connects to iLO device. It logs into device via ssh and reboot a specified outlet. + +WARNING: The monitor-action is prone to timeouts. Use the fence_ilo-equivalent to avoid this issue. +http://www.hp.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo5.xml b/tests/data/metadata/fence_ilo5.xml new file mode 100644 index 0000000..6c99db2 --- /dev/null +++ b/tests/data/metadata/fence_ilo5.xml @@ -0,0 +1,238 @@ + + + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. + + + + + + Fencing action + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + Hexadecimal-encoded Kg key for IPMIv2 authentication + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Use Lanplus to improve security of connection + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + + Privilege level on IPMI device + + + + + Bridge IPMI requests to the remote target address + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Timeout (sec) for IPMI operation + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo5_ssh.xml b/tests/data/metadata/fence_ilo5_ssh.xml new file mode 100644 index 0000000..036aec5 --- /dev/null +++ b/tests/data/metadata/fence_ilo5_ssh.xml @@ -0,0 +1,221 @@ + + + + + +fence_ilo_ssh is a fence agent that connects to iLO device. It logs into device via ssh and reboot a specified outlet. + +WARNING: The monitor-action is prone to timeouts. Use the fence_ilo-equivalent to avoid this issue. +http://www.hp.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo_moonshot.xml b/tests/data/metadata/fence_ilo_moonshot.xml new file mode 100644 index 0000000..c88c592 --- /dev/null +++ b/tests/data/metadata/fence_ilo_moonshot.xml @@ -0,0 +1,206 @@ + + + +http://www.hp.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo_mp.xml b/tests/data/metadata/fence_ilo_mp.xml new file mode 100644 index 0000000..7d4fd22 --- /dev/null +++ b/tests/data/metadata/fence_ilo_mp.xml @@ -0,0 +1,208 @@ + + + +http://www.hp.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo_ssh.xml b/tests/data/metadata/fence_ilo_ssh.xml new file mode 100644 index 0000000..2e1cb84 --- /dev/null +++ b/tests/data/metadata/fence_ilo_ssh.xml @@ -0,0 +1,221 @@ + + + + + +fence_ilo_ssh is a fence agent that connects to iLO device. It logs into device via ssh and reboot a specified outlet. + +WARNING: The monitor-action is prone to timeouts. Use the fence_ilo-equivalent to avoid this issue. +http://www.hp.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml new file mode 100644 index 0000000..5c5bf91 --- /dev/null +++ b/tests/data/metadata/fence_imm.xml @@ -0,0 +1,238 @@ + + + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. + + + + + + Fencing action + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + Hexadecimal-encoded Kg key for IPMIv2 authentication + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Use Lanplus to improve security of connection + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + + Privilege level on IPMI device + + + + + Bridge IPMI requests to the remote target address + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Timeout (sec) for IPMI operation + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_intelmodular.xml b/tests/data/metadata/fence_intelmodular.xml new file mode 100644 index 0000000..5dad0d0 --- /dev/null +++ b/tests/data/metadata/fence_intelmodular.xml @@ -0,0 +1,226 @@ + + +fence_intelmodular is an I/O Fencing agent which can be used with Intel Modular device (tested on Intel MFSYS25, should work with MFSYS35 as well). + +Note: Since firmware update version 2.7, SNMP v2 write support is removed, and replaced by SNMP v3 support. So agent now has default SNMP version 3. If you are using older firmware, please supply -d for command line and snmp_version option for your cluster.conf. +http://www.intel.com + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ipdu.xml b/tests/data/metadata/fence_ipdu.xml new file mode 100644 index 0000000..22024a7 --- /dev/null +++ b/tests/data/metadata/fence_ipdu.xml @@ -0,0 +1,224 @@ + + +fence_ipdu is an I/O Fencing agent which can be used with the IBM iPDU network power switch. It logs into a device via SNMP and reboots a specified outlet. It supports SNMP v3 with all combinations of authenticity/privacy settings. +http://www.ibm.com + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml new file mode 100644 index 0000000..a31afcf --- /dev/null +++ b/tests/data/metadata/fence_ipmilan.xml @@ -0,0 +1,238 @@ + + + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. + + + + + + Fencing action + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + Hexadecimal-encoded Kg key for IPMIv2 authentication + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Use Lanplus to improve security of connection + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + + Privilege level on IPMI device + + + + + Bridge IPMI requests to the remote target address + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Timeout (sec) for IPMI operation + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ipmilanplus.xml b/tests/data/metadata/fence_ipmilanplus.xml new file mode 100644 index 0000000..19c2529 --- /dev/null +++ b/tests/data/metadata/fence_ipmilanplus.xml @@ -0,0 +1,238 @@ + + + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. + + + + + + Fencing action + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + Hexadecimal-encoded Kg key for IPMIv2 authentication + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Use Lanplus to improve security of connection + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + + Privilege level on IPMI device + + + + + Bridge IPMI requests to the remote target address + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Timeout (sec) for IPMI operation + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ironic.xml b/tests/data/metadata/fence_ironic.xml new file mode 100644 index 0000000..813b037 --- /dev/null +++ b/tests/data/metadata/fence_ironic.xml @@ -0,0 +1,177 @@ + + +fence_ironic is a Fencing agent which can be used with machines controlled by the Ironic service. This agent calls the openstack CLI. WARNING! This fence agent is not intended for production use. Relying on a functional ironic service for fencing is not a good design choice. +https://wiki.openstack.org/wiki/Ironic + + + + + Fencing action + + + + + Keystone Admin Auth URL + + + + + Keystone Admin Auth URL + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Keystone Admin Tenant + + + + + Keystone Admin Tenant + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Path to the OpenStack binary + + + + Path to the OpenStack binary + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_kdump.xml b/tests/data/metadata/fence_kdump.xml new file mode 100644 index 0000000..aa08538 --- /dev/null +++ b/tests/data/metadata/fence_kdump.xml @@ -0,0 +1,79 @@ + + +fence_kdump is an I/O fencing agent to be used with the kdump +crash recovery service. When the fence_kdump agent is invoked, +it will listen for a message from the failed node that acknowledges +that the failed node it executing the kdump crash kernel. +Note that fence_kdump is not a replacement for traditional +fencing methods. The fence_kdump agent can only detect that a +node has entered the kdump crash recovery service. This allows the +kdump crash recovery service complete without being preempted by +traditional power fencing methods. + +Note: the "off" action listen for message from failed node that +acknowledges node has entered kdump crash recovery service. If a valid +message is received from the failed node, the node is considered to be +fenced and the agent returns success. Failure to receive a valid +message from the failed node in the given timeout period results in +fencing failure. When multiple node names/IP addresses are specified +a single valid message is sufficient for success. This is useful when +single node can send message via several different IP addresses. + +http://www.kernel.org/pub/linux/utils/kernel/kexec/ + + + + + List of names or IP addresses of node to be fenced. This option is +required for the "off" action. Multiple values separated by commas +can be specified. All values must be of same IP network family. + + + + + IP port number that the fence_kdump agent will use to listen for +messages. + + + + + IP network family. Force the fence_kdump agent to use a specific +family. The value for FAMILY can be "auto", "ipv4", or +"ipv6". + + + + + Fencing action to perform. The value for ACTION can be either +"off" or "metadata". + + + + + Number of seconds to wait for message from failed node. If no message +is received within TIMEOUT seconds, the fence_kdump agent +returns failure. + + + + + Print verbose output + + + + + Print version + + + + + Print usage + + + + + + + + + diff --git a/tests/data/metadata/fence_kubevirt.xml b/tests/data/metadata/fence_kubevirt.xml new file mode 100644 index 0000000..e6b42aa --- /dev/null +++ b/tests/data/metadata/fence_kubevirt.xml @@ -0,0 +1,138 @@ + + +fence_kubevirt is an I/O Fencing agent for KubeVirt. +https://kubevirt.io/ + + + + + Fencing action + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSL connection without verifying certificate + + + + + Namespace of the KubeVirt machine. + + + + + Kubeconfig file path + + + + + Version of the KubeVirt API. + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ldom.xml b/tests/data/metadata/fence_ldom.xml new file mode 100644 index 0000000..59facad --- /dev/null +++ b/tests/data/metadata/fence_ldom.xml @@ -0,0 +1,208 @@ + + +fence_ldom is an I/O Fencing agent which can be used with LDoms virtual machines. This agent works so, that run ldm command on host machine. So ldm must be directly runnable. + +Very useful parameter is -c (or cmd_prompt in stdin mode). This must be set to something, what is displayed after successful login to host machine. Default string is space on end of string (default for root in bash). But (for example) csh use ], so in that case you must use parameter -c with argument ]. Very similar situation is, if you use bash and login to host machine with other user than root. Than prompt is $, so again, you must use parameter -c. +http://www.sun.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_lindypdu.xml b/tests/data/metadata/fence_lindypdu.xml new file mode 100644 index 0000000..56f81f4 --- /dev/null +++ b/tests/data/metadata/fence_lindypdu.xml @@ -0,0 +1,229 @@ + + +fence_lindypdu is an I/O Fencing agent which can be used with the Lindy PDU network power switch. It logs into a device via SNMP and reboots a specified outlet. It supports SNMP v1 with all combinations of authenticity/privacy settings. +http://www.lindy.co.uk + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Physical switch number on device + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_lpar.xml b/tests/data/metadata/fence_lpar.xml new file mode 100644 index 0000000..22f12dc --- /dev/null +++ b/tests/data/metadata/fence_lpar.xml @@ -0,0 +1,220 @@ + + + +http://www.ibm.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + + + Force HMC version to use + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Managed system name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_mpath.xml b/tests/data/metadata/fence_mpath.xml new file mode 100644 index 0000000..e22d3a1 --- /dev/null +++ b/tests/data/metadata/fence_mpath.xml @@ -0,0 +1,155 @@ + + +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 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. + +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. +https://www.sourceware.org/dm/ + + + + + Fencing action + + + + + List of devices to use for current operation. Devices can be comma-separated list of device-mapper multipath devices (eg. /dev/mapper/3600508b400105df70000e00000ac0000 or /dev/mapper/mpath1). Each device must support SCSI-3 persistent reservations. + + + + + Replaced by port/-n/--plug + + + + + 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). + + + + + 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). + + + + + Error log suppression. + + + + + Error log suppression. + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + Path to mpathpersist binary + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + Path to directory where fence agent can store information + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to sudo binary + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_netio.xml b/tests/data/metadata/fence_netio.xml new file mode 100644 index 0000000..95f3cf3 --- /dev/null +++ b/tests/data/metadata/fence_netio.xml @@ -0,0 +1,167 @@ + + +fence_netio is an I/O Fencing agent which can be used with the Koukaam NETIO-230B Power Distribution Unit. It logs into device via telnet and reboots a specified outlet. Lengthy telnet connections should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.koukaam.se/ + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_openstack.xml b/tests/data/metadata/fence_openstack.xml new file mode 100644 index 0000000..0bf1a78 --- /dev/null +++ b/tests/data/metadata/fence_openstack.xml @@ -0,0 +1,218 @@ + + +fence_openstack is a Fencing agent which can be used with machines controlled by the Openstack's Nova service. This agent calls the python-novaclient and it is mandatory to be installed +https://wiki.openstack.org/wiki/Nova + + + + + Fencing action + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + UUID of the node to be fenced. + + + + + UUID of the node to be fenced. + + + + + Use SSL connection without verifying certificate + + + + + Login name + + + + + Keystone Auth URL + + + + + Keystone Auth URL + + + + + Keystone Project + + + + + Keystone Project + + + + + Keystone User Domain Name + + + + + Keystone User Domain Name + + + + + Keystone Project Domain Name + + + + + Keystone Project Domain Name + + + + + Cloud from clouds.yaml + + + + + openrc config file + + + + + Replaced by port/-n/--plug + + + + + SSL X.509 certificates file + + + + + Timeout in seconds to use for API calls, default is 60. + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ovh.xml b/tests/data/metadata/fence_ovh.xml new file mode 100644 index 0000000..79d5eda --- /dev/null +++ b/tests/data/metadata/fence_ovh.xml @@ -0,0 +1,152 @@ + + +fence_ovh is an Power Fencing agent which can be used within OVH datecentre. Poweroff is simulated with a reboot into rescue-pro mode. +http://www.ovh.net + + + + + Fencing action + + + + + Reboot email + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_powerman.xml b/tests/data/metadata/fence_powerman.xml new file mode 100644 index 0000000..10514fd --- /dev/null +++ b/tests/data/metadata/fence_powerman.xml @@ -0,0 +1,135 @@ + + +This is a Pacemaker Fence Agent for the Powerman management utility that was designed for LLNL systems. +https://github.com/chaos/powerman + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + Path to powerman binary + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_pve.xml b/tests/data/metadata/fence_pve.xml new file mode 100644 index 0000000..1ed3cda --- /dev/null +++ b/tests/data/metadata/fence_pve.xml @@ -0,0 +1,215 @@ + + +The fence_pve agent can be used to fence virtual machines acting as nodes in a virtualized cluster. +http://www.proxmox.com/ + + + + + Fencing action + + + + + IP Address or Hostname of a node within the Proxmox cluster. + + + + + IP Address or Hostname of a node within the Proxmox cluster. + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Id of the virtual machine. + + + + + Id of the virtual machine. + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Login name + + + + + Proxmox node name on which machine is located. (Must be specified if not using --pve-node-auto) + + + + + Automatically select proxmox node. (This option overrides --pve-node) + + + + + Virtual machine type lxc or qemu. (Default: qemu) + + + + + Replaced by --pve-node + + + + + Replaced by --pve-node + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_raritan.xml b/tests/data/metadata/fence_raritan.xml new file mode 100644 index 0000000..5e387c7 --- /dev/null +++ b/tests/data/metadata/fence_raritan.xml @@ -0,0 +1,167 @@ + + +fence_raritan is an I/O Fencing agent which can be used with the Raritan DPXS12-20 Power Distribution Unit. It logs into device via telnet and reboots a specified outlet. Lengthy telnet connections should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.raritan.com/ + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_raritan_px3.xml b/tests/data/metadata/fence_raritan_px3.xml new file mode 100644 index 0000000..af33cfd --- /dev/null +++ b/tests/data/metadata/fence_raritan_px3.xml @@ -0,0 +1,210 @@ + + +fence_raritan is an I/O Fencing agent which can be used with the Raritan PX2 and PX3 Power Distribution Unit series. It logs into device via telnet or ssh and reboots a specified outlet. Single outlets and grouped outlets are supported. The fence is tested on this model: PX3-5466V. There have been issues seen with the telnet prompt on 3.4.x and 3.5.x Raritan firmware versions. It's recommended to update to at least version 3.6.x +http://www.raritan.com/ + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_rcd_serial.xml b/tests/data/metadata/fence_rcd_serial.xml new file mode 100644 index 0000000..c14d342 --- /dev/null +++ b/tests/data/metadata/fence_rcd_serial.xml @@ -0,0 +1,111 @@ + + +fence_rcd_serial operates a serial cable that toggles a reset of an opposing server using the reset switch on its motherboard. The cable itself is simple with no power, network or moving parts. An example of the cable is available here: https://smcleod.net/rcd-stonith/ and the circuit design is available in the fence-agents src as SVG +https://github.com/sammcj/fence_rcd_serial + + + + + Fencing action + + + + + + Method to fence + + + + + Port of the serial device + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + diff --git a/tests/data/metadata/fence_redfish.xml b/tests/data/metadata/fence_redfish.xml new file mode 100644 index 0000000..76a23af --- /dev/null +++ b/tests/data/metadata/fence_redfish.xml @@ -0,0 +1,201 @@ + + +fence_redfish is an I/O Fencing agent which can be used with Out-of-Band controllers that support Redfish APIs. These controllers provide remote access to control power on a server. +http://www.dmtf.org + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Base or starting Redfish URI + + + + + Base or starting Redfish URI + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Redfish Systems resource URI, i.e. /redfish/v1/Systems/System.Embedded.1 + + + + + Redfish Systems resource URI, i.e. /redfish/v1/Systems/System.Embedded.1 + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_rhevm.xml b/tests/data/metadata/fence_rhevm.xml new file mode 100644 index 0000000..0b22399 --- /dev/null +++ b/tests/data/metadata/fence_rhevm.xml @@ -0,0 +1,210 @@ + + +fence_rhevm is an I/O Fencing agent which can be used with RHEV-M REST API to fence virtual machines. +http://www.redhat.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + VM name in RHV + + + + + VM name in RHV + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Reuse cookies for authentication + + + + + Login name + + + + + Version of RHEV API (default: auto) + + + + Path to cookie file for authentication + + + + The path part of the API URL + + + + + Set HTTP Filter header to false + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_rsa.xml b/tests/data/metadata/fence_rsa.xml new file mode 100644 index 0000000..284f918 --- /dev/null +++ b/tests/data/metadata/fence_rsa.xml @@ -0,0 +1,208 @@ + + +fence_rsa is an I/O Fencing agent which can be used with the IBM RSA II management interface. It logs into an RSA II device via telnet and reboots the associated machine. Lengthy telnet connections to the RSA II device should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.ibm.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_rsb.xml b/tests/data/metadata/fence_rsb.xml new file mode 100644 index 0000000..e3d6e10 --- /dev/null +++ b/tests/data/metadata/fence_rsb.xml @@ -0,0 +1,208 @@ + + +fence_rsb is an I/O Fencing agent which can be used with the Fujitsu-Siemens RSB management interface. It logs into device via telnet/ssh and reboots a specified outlet. Lengthy telnet/ssh connections should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.fujitsu.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_sanbox2.xml b/tests/data/metadata/fence_sanbox2.xml new file mode 100644 index 0000000..b29b8bb --- /dev/null +++ b/tests/data/metadata/fence_sanbox2.xml @@ -0,0 +1,176 @@ + + +fence_sanbox2 is an I/O Fencing agent which can be used with QLogic SANBox2 FC switches. It logs into a SANBox2 switch via telnet and disables a specified port. Disabling the port which a machine is connected to effectively fences that machine. Lengthy telnet connections to the switch should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.qlogic.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to telnet binary + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_sbd.xml b/tests/data/metadata/fence_sbd.xml new file mode 100644 index 0000000..d5600b7 --- /dev/null +++ b/tests/data/metadata/fence_sbd.xml @@ -0,0 +1,135 @@ + + +fence_sbd is I/O Fencing agent which can be used in environments where sbd can be used (shared storage). + + + + + + Fencing action + + + + + SBD Device + + + + + + Method to fence + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + Path to SBD binary + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_scsi.xml b/tests/data/metadata/fence_scsi.xml new file mode 100644 index 0000000..4fa8618 --- /dev/null +++ b/tests/data/metadata/fence_scsi.xml @@ -0,0 +1,169 @@ + + +fence_scsi is an I/O fencing agent that uses SCSI-3 persistent reservations to control access to shared storage devices. These devices must support SCSI-3 persistent reservations (SPC-3 or greater) as well as the "preempt-and-abort" subcommand. +The fence_scsi agent works by having each node in the cluster register a unique key with the SCSI device(s). Reservation key is generated from "node id" (default) or from "node name hash" (RECOMMENDED) by adjusting "key_value" option. Using hash is recommended to prevent issues when removing nodes from cluster without full cluster restart. 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. + +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. + + + + + + Fencing action + + + + + Use the APTPL flag for registrations. This option is only used for the 'on' action. + + + + + List of devices to use for current operation. Devices can be comma-separated list of raw devices (eg. /dev/sdc). Each device must support SCSI-3 persistent reservations. + + + + + Key to use for the current operation. This key should be unique to a node. 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). + + + + + Name of the node to be fenced. The node name is used to generate the key value used for the current operation. This option will be ignored when used with the -k option. + + + + + Name of the node to be fenced. The node name is used to generate the key value used for the current operation. This option will be ignored when used with the -k option. + + + + + Open DEVICE read-only. + + + + + Error log suppression. + + + + + Error log suppression. + + + + + Log output (stdout and stderr) to file + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to corosync-cmapctl binary + + + + + Method used to generate the SCSI key. "id" (default) uses the positional ID from "corosync-cmactl nodelist" output which can get inconsistent when nodes are removed from cluster without full cluster restart. "hash" uses part of hash made out of node names which is not affected over time but there is theoretical chance that hashes can collide as size of SCSI key is quite limited. + + + + Path to sg_persist binary + + + + Path to sg_turs binary + + + + Path to vgs binary + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_skalar.xml b/tests/data/metadata/fence_skalar.xml new file mode 100644 index 0000000..84f3f4e --- /dev/null +++ b/tests/data/metadata/fence_skalar.xml @@ -0,0 +1,192 @@ + + +A fence agent for Skala-R. +https://www.skala-r.ru/ + + + + + Fencing action + + + + + vm_stop command parameter, force stop or not, default false + + + + + vm_stop command parameter, graceful stop or not, default false + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_tripplite_snmp.xml b/tests/data/metadata/fence_tripplite_snmp.xml new file mode 100644 index 0000000..c5f66d5 --- /dev/null +++ b/tests/data/metadata/fence_tripplite_snmp.xml @@ -0,0 +1,225 @@ + + + +fence_apc_snmp is an I/O Fencing agent which can be used with the APC network power switch or Tripplite PDU devices.It logs into a device via SNMP and reboots a specified outlet. It supports SNMP v1, v2c, v3 with all combinations of authenticity/privacy settings. +http://www.apc.com + + + + + Fencing action + + + + + Set the community string + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + + Set authentication protocol + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set privacy protocol + + + + + + Set security level + + + + + + Specifies SNMP version to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to snmpget binary + + + + Path to snmpset binary + + + + Path to snmpwalk binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_vbox.xml b/tests/data/metadata/fence_vbox.xml new file mode 100644 index 0000000..35577a6 --- /dev/null +++ b/tests/data/metadata/fence_vbox.xml @@ -0,0 +1,240 @@ + + +fence_vbox is an I/O Fencing agent which can be used with the virtual machines managed by VirtualBox. It logs via ssh to a dom0 where it runs VBoxManage to do all of the work. + +By default, vbox needs to log in as a user that is a member of the vboxusers group. Also, you must allow ssh login in your sshd_config. +https://www.virtualbox.org/ + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + + Operating system of the host + + + + + Wait X seconds for cmd prompt after login + + + + + Missing port returns OFF instead of failure + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + Path to VBoxManage on the host + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to ssh binary + + + + Path to sudo binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_virsh.xml b/tests/data/metadata/fence_virsh.xml new file mode 100644 index 0000000..82fe9b6 --- /dev/null +++ b/tests/data/metadata/fence_virsh.xml @@ -0,0 +1,227 @@ + + +fence_virsh is an I/O Fencing agent which can be used with the virtual machines managed by libvirt. It logs via ssh to a dom0 and there run virsh command, which does all work. + +By default, virsh needs root account to do properly work. So you must allow ssh login in your sshd_config. +http://libvirt.org + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Missing port returns OFF instead of failure + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party software + + + + + Use sudo (without password) when calling 3rd party software + + + + Path to ssh binary + + + + Path to sudo binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_virt.xml b/tests/data/metadata/fence_virt.xml new file mode 100644 index 0000000..612d4d3 --- /dev/null +++ b/tests/data/metadata/fence_virt.xml @@ -0,0 +1,101 @@ + + +fence_virt is an I/O Fencing agent which can be used with virtual machines. + +NOTE: reboot-action does not power on nodes that are powered off. +https://libvirt.org + + + + + Specify (stdin) or increment (command line) debug level + + + + + Serial device (default=/dev/ttyS1) + + + + + Serial Parameters (default=115200,8N1) + + + + + VM Channel IP address (default=10.0.2.179) + + + + + TCP, Multicast, VMChannel, or VM socket port (default=1229) + + + + + Virtual Machine (domain name) to fence + + + + + Virtual Machine (domain name) to fence + + + + + Fencing action (null, off, on, [reboot], status, list, list-status, monitor, validate-all, metadata) + + + + + Fencing timeout (in seconds; default=30) + + + + + IP address to connect to in TCP mode (default=127.0.0.1 / ::1) + + + + + vm socket CID to connect to in vsock mode + + + + + Authentication (none, sha1, [sha256], sha512) + + + + + Packet hash strength (none, sha1, [sha256], sha512) + + + + + Shared key file (default=/etc/cluster/fence_xvm.key) + + + + + Fencing delay (in seconds; default=0) + + + + + Virtual Machine (domain name) to fence (deprecated; use port) + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_vmware.xml b/tests/data/metadata/fence_vmware.xml new file mode 100644 index 0000000..a46ffdb --- /dev/null +++ b/tests/data/metadata/fence_vmware.xml @@ -0,0 +1,217 @@ + + +fence_vmware is an I/O Fencing agent which can be used with the VMware ESX, VMware ESXi or VMware Server to fence virtual machines. + +Before you can use this agent, it must be installed VI Perl Toolkit or vmrun command on every node you want to make fencing. + +VI Perl Toolkit is preferred for VMware ESX/ESXi and Virtual Center. Vmrun command is only solution for VMware Server 1/2 (this command will works against ESX/ESXi 3.5 up2 and VC up2 too, but not cluster aware!) and is available as part of VMware VIX API SDK package. VI Perl and VIX API SDK are both available from VMware web pages (not int RHEL repository!). + +You can specify type of VMware you are connecting to with -d switch (or vmware_type for stdin). Possible values are esx, server2 and server1.Default value is esx, which will use VI Perl. With server1 and server2, vmrun command is used. + +After you have successfully installed VI Perl Toolkit or VIX API, you should be able to run fence_vmware_helper (part of this agent) or vmrun command. This agent supports only vmrun from version 2.0.0 (VIX API 1.6.0). +http://www.vmware.com + + + + + Fencing action + + + + + Command to execute + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Type of VMware to connect + + + + + VMWare datacenter filter + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Make "port/plug" to be an alias to IP address + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_vmware_rest.xml b/tests/data/metadata/fence_vmware_rest.xml new file mode 100644 index 0000000..5c69c2f --- /dev/null +++ b/tests/data/metadata/fence_vmware_rest.xml @@ -0,0 +1,198 @@ + + +fence_vmware_rest is an I/O Fencing agent which can be used with VMware API to fence virtual machines. + +NOTE: If there's more than 1000 VMs there is a filter parameter to work around the API limit. See https://code.vmware.com/apis/62/vcenter-management#/VM%20/get_vcenter_vm for full list of filters. +https://www.vmware.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Login name + + + + The path part of the API URL + + + + + Filter to only return relevant VMs. It can be used to avoid the agent failing when more than 1000 VMs should be returned. + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_vmware_soap.xml b/tests/data/metadata/fence_vmware_soap.xml new file mode 100644 index 0000000..72b27e3 --- /dev/null +++ b/tests/data/metadata/fence_vmware_soap.xml @@ -0,0 +1,189 @@ + + +fence_vmware_soap is an I/O Fencing agent which can be used with the virtual machines managed by VMWare products that have SOAP API v4.1+. + +Name of virtual machine (-n / port) has to be used in inventory path format (e.g. /datacenter/vm/Discovered virtual machine/myMachine). In the cases when name of yours VM is unique you can use it instead. Alternatively you can always use UUID to access virtual machine. +http://www.vmware.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_vmware_vcloud.xml b/tests/data/metadata/fence_vmware_vcloud.xml new file mode 100644 index 0000000..3c8bb74 --- /dev/null +++ b/tests/data/metadata/fence_vmware_vcloud.xml @@ -0,0 +1,191 @@ + + +fence_vmware_vcloud is an I/O Fencing agent which can be used with VMware vCloud Director API to fence virtual machines. +https://www.vmware.com + + + + + Fencing action + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSL connection with verifying certificate + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Login name + + + + The path part of the API URL + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_wti.xml b/tests/data/metadata/fence_wti.xml new file mode 100644 index 0000000..b9eb9c6 --- /dev/null +++ b/tests/data/metadata/fence_wti.xml @@ -0,0 +1,210 @@ + + +fence_wti is an I/O Fencing agent which can be used with the WTI Network Power Switch (NPS). It logs into an NPS via telnet or ssh and boots a specified plug. Lengthy telnet connections to the NPS should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.wti.com + + + + + Fencing action + + + + + Force Python regex for command prompt + + + + + Force Python regex for command prompt + + + + Identity file (private key) for SSH + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSH connection + + + + + Use SSH connection + + + + + SSH options to use + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to ssh binary + + + + Path to telnet binary + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_xenapi.xml b/tests/data/metadata/fence_xenapi.xml new file mode 100644 index 0000000..380ac28 --- /dev/null +++ b/tests/data/metadata/fence_xenapi.xml @@ -0,0 +1,153 @@ + + +fence_cxs is an I/O Fencing agent used on Citrix XenServer hosts. It uses the XenAPI, supplied by Citrix, to establish an XML-RPC session to a XenServer host. Once the session is established, further XML-RPC commands are issued in order to switch on, switch off, restart and query the status of virtual machines running on the host. +http://www.xenproject.org + + + + + Fencing action + + + + + Login name + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + URL to connect to XenServer on + + + + + Login name + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_zvmip.xml b/tests/data/metadata/fence_zvmip.xml new file mode 100644 index 0000000..6996ab7 --- /dev/null +++ b/tests/data/metadata/fence_zvmip.xml @@ -0,0 +1,225 @@ + + +The fence_zvm agent is intended to be used with with z/VM SMAPI service via TCP/IP + +To use this agent the z/VM SMAPI service needs to be configured to allow the virtual machine running this agent to connect to it and issue +the image_recycle operation. This involves updating the VSMWORK1 AUTHLIST VMSYS:VSMWORK1. file. The entry should look something similar to +this: + +Column 1 Column 66 Column 131 + + | | | + V V V + +XXXXXXXX ALL IMAGE_CHARACTERISTICS + +Where XXXXXXX is the name of the virtual machine used in the authuser field of the request. This virtual machine also has to be authorized +to access the system's directory manager. + +http://www.ibm.com + + + + + Fencing action + + + + + Forces agent to use IPv4 addresses only + + + + + Forces agent to use IPv6 addresses only + + + + + IP address or hostname of fencing device + + + + + IP address or hostname of fencing device + + + + + TCP/UDP port to use for connection with device + + + + + Login name + + + + + + Method to fence + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Login password or passphrase + + + + + Script to run to retrieve password + + + + + Physical plug number on device, UUID or identification of machine + + + + + Physical plug number on device, UUID or identification of machine + + + + + Use SSL connection with verifying certificate (Default) + + + + + Use SSL connection without verifying certificate + + + + + Use SSL connection with verifying certificate + + + + + Login name + + + + + Don't use SSL + + + + + Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog. + + + + + Verbose mode. Multiple -v flags can be stacked on the command line (e.g., -vvv) to increase verbosity. + + + + + 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). + + + + + Write debug information to given file + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for plug parameter when specifying more than 1 plug + + + + + Separator for CSV created by 'list' operation + + + + + Wait X seconds before fencing is started + + + + + Disable timeout (true/false) (default: true when run from Pacemaker 2.0+) + + + + + Wait X seconds for cmd prompt after login + + + + + Missing port returns OFF instead of failure + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Sleep X seconds between status calls during a STONITH action + + + + + Count of attempts to retry power on + + + + Path to gnutls-cli binary + + + + + + + + + + + + + + + -- cgit v1.2.3