Provided by: fence_1.20060222-0ubuntu5_i386 bug

NAME

       fence_apc - I/O Fencing agent for APC MasterSwitch

SYNOPSIS

       fence_apc [OPTION]...

DESCRIPTION

       fence_apc  is  an  I/O  Fencing  agent  which  can be used with the APC
       MasterSwitch network power switch.  It logs  into  a  MasterSwitch  via
       telnet  and  reboots a specified outlet.  Lengthy telnet connections to
       the MasterSwitch should be avoided  while  a  GFS  cluster  is  running
       because the connection will block any necessary fencing actions.

       fence_apc  accepts  options  on the command line as well as from stdin.
       Fenced  sends  parameters  through  stdin  when  it  execs  the  agent.
       fence_apc  can  be  run  by  itself with command line options.  This is
       useful for testing and for turning outlets on or off from scripts.

OPTIONS

       -a IPaddress
              IP address or hostname of the switch.

       -h     Print out a help  message  describing  available  options,  then
              exit.

       -l login
              Login name.

       -n [<switch>:]outlet
              The outlet number to act upon.

       -o action
              The action required.  Reboot (default), Off or On.

       -p password
              Password for login.

       -T     Test only.  Answer NO to the confirmation prompt instead of YES.

       -v     Verbose.  Record telnet session in /tmp/apclog.

       -V     Print out a version message, then exit.

STDIN PARAMETERS

       agent = < param >
              This  option  is  used  by  fence_node(8)  and  is  ignored   by
              fence_apc.

       ipaddr = < hostname | ip >
              IP address or hostname of the switch.

       login = < param >
              Login name.

       option = < param >
              The action required.  Reboot (default), Off or On.

       passwd = < param >
              Password for login.

       port = < param >
              The outlet number to act upon.

       switch = < param >
              The switch to operate on.  Defaults to "1" if not specified.

       test = < param >
              Test only.  Answer NO to the confirmation prompt instead of YES.

       verbose = < param >
              Verbose.  Record telnet session in /tmp/apclog.

SEE ALSO

       fence(8), fence_node(8)

                                                                  fence_apc(8)