fence_apc man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]


fence_apc(8)							  fence_apc(8)

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 Mas‐
       terSwitch network power switch.	It logs into a MasterSwitch via telnet
       and reboots a specified outlet.	Lengthy telnet connections to the Mas‐
       terSwitch 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 use‐
       ful 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), 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 blow‐
	      fish).

       -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 or for passphrase.  passwd_script = < param >
	      Script to run to retrieve password.  secure  =  <	 param	>  Use
	      secure connection over ssh.

       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)
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net