commit 11627cc153c891b2e55d0d5e64d5a566516f29d8 Author: Marek 'marx' Grac Date: Mon Jan 5 10:15:36 2015 +0100 fence_zvmip: Port fence agent to fencing library This rewrite adds a correct result codes, support for 'list' action and autogenerated manual page. The original code is still part of codebase as new agent requires additional testing. diff --git a/tests/data/metadata/fence_zvmip.xml b/tests/data/metadata/fence_zvmip.xml index 0a4ede1..03220cb 100644 --- a/tests/data/metadata/fence_zvmip.xml +++ b/tests/data/metadata/fence_zvmip.xml @@ -1,50 +1,138 @@ - -The fence_zvm agent is intended to be used with with z/VM SMAPI service via TCP/IP + +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_OPERATIONS + +Where XXXXXXX is the name of the virtual machine used in the authuser field of the request. + +http://www.ibm.com - - - - Name of the Virtual Machine to be fenced - - - - - IP Name or Address of SMAPI Server - - - - - Name of authorized SMAPI user - - - - - Password of authorized SMAPI user - - - - - Fencing action - - - - - Time to delay fencing action in seconds - - + + + + TCP/UDP port to use for connection with device + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + + Method to fence (onoff|cycle) + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + - - Print usage + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + - + + - - - +