fence_ifmib

Langue: en

Version: 304810 (debian - 07/07/09)

Section: 8 (Commandes administrateur)

NAME

fence_ifmib - I/O Fencing agent for IF-MIB capable SNMP devices

SYNOPSIS

fence_ifmib [OPTION]...

DESCRIPTION

fence_ifmib is an I/O Fencing agent which can be used with any IF-MIB capable SNMP 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.

fence_ifmib accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. fence_ifmib can be run by itself with command line options. This is useful for testing.

OPTIONS

-a IPaddress
IP address or hostname of the SNMP agent to be written.
-h
Print out a help message describing available options, then exit.
-c community
The write community string to be used in the request.
-i iIindex
The ifIndex of the interface to be acted upon. This will need to be determined manually prior to configuration.
-o action
The action required. off (default), on, or status. off sets ifAdminStatus down, on sets ifAdminStatus up, and status returns the current state.
-V
Verbose. Print informational messages to standard out.

STDIN PARAMETERS

agent = < param >
This option is used by fence_node(8) and is ignored by fence_ifmib.
ipaddr = < hostname | ip >
IP address or hostname of the device.
comm = < param >
Write community string to be used in the request.
ifindex = < param >
The ifIndex of the interface to be acted upon.
option = < param >
The action required. off (default), on, or status.

SEE ALSO

fence(8), fence_node(8)