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.htmlFencing actionSet the community stringIP address or hostname of fencing deviceIP address or hostname of fencing deviceTCP/UDP port to use for connection with deviceLogin nameLogin password or passphraseScript to run to retrieve passwordLogin password or passphraseScript to run to retrieve passwordPhysical plug number on device, UUID or identification of machinePhysical plug number on device, UUID or identification of machineSet authentication protocolSet privacy protocol passwordScript to run to retrieve privacy passwordSet privacy protocolSet security levelSpecifies SNMP version to useLogin nameDisable 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 fileWrite debug information to given fileDisplay version information and exitDisplay help and exitSeparator for plug parameter when specifying more than 1 plugSeparator for CSV created by 'list' operationWait X seconds before fencing is startedDisable timeout (true/false) (default: true when run from Pacemaker 2.0+)Wait X seconds for cmd prompt after loginTest X seconds for status change after ON/OFFWait X seconds after issuing ON/OFFWait X seconds for cmd prompt after issuing commandSleep X seconds between status calls during a STONITH actionCount of attempts to retry power onPath to snmpget binaryPath to snmpset binaryPath to snmpwalk binary