Man Linux: Main Page and Category List

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. This can be reboot (default), status, off
              or on.

       -p password
              Password for login or for passphrase.

       -S script
              Script to run to retrieve password.

       -x     Use  secure  connection  over  ssh  (using  version  1,   cipher
              blowfish).

       -S path
              Full path to an executable to generate the password for login.

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

       -v     Verbose.

       -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. This can be reboot (default), off or on.

       passwd = < param >
              Password for login or for passphrase.  passwd_script = < param >
              Script to run to retrieve password.  secure  =  <  param  >  Use
              secure connection over ssh.

       passwd_script = < param >
              Full path to an executable to generate the 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.

SEE ALSO

       fence(8), fence_node(8)

                                                                  fence_apc(8)