NAME fence_brocade - Fence agent for Brocade over telnet
DESCRIPTION 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 spec- ified port. Disabling the port which a machine is connected to effec- tively 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 run- ning fence_brocade and specifying the enable action.
fence_brocade accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. fence_brocade can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts.
Vendor URL: http://www.brocade.com
PARAMETERS -o <action> Fencing Action (Default Value: disable)
-a <ip> IP Address or Hostname This parameter is always required.
-l <name> Login Name This parameter is always required.
-p <password> Login password or passphrase
-S <script> Script to retrieve password
-n <id> Physical plug number or name of virtual machine This parameter is always required.
-h Display help and exit
ACTIONS enable Enable fabric access.
disable Disable fabric access.
status This returns the status of the plug/virtual machine.
metadata Display the XML metadata describing this resource.
STDIN PARAMETERS action Fencing Action (Default Value: disable)
ipaddr IP Address or Hostname This parameter is always required.
login Login Name This parameter is always required.
passwd Login password or passphrase
passwd_script Script to retrieve password
port Physical plug number or name of virtual machine This parameter is always required.
help Display help and exit
fence_brocade (Fence Agent) 2009-10-20 FENCE_AGENT(8)