1
2fence_apc(8)                System Manager's Manual               fence_apc(8)
3
4
5

NAME

7       fence_apc - I/O Fencing agent for APC MasterSwitch
8
9

SYNOPSIS

11       fence_apc [OPTION]...
12
13

DESCRIPTION

15       fence_apc  is  an I/O Fencing agent which can be used with the APC Mas‐
16       terSwitch network power switch.  It logs into a MasterSwitch via telnet
17       and reboots a specified outlet.  Lengthy telnet connections to the Mas‐
18       terSwitch should be avoided while a GFS cluster is running because  the
19       connection will block any necessary fencing actions.
20
21       fence_apc  accepts  options  on the command line as well as from stdin.
22       Fenced  sends  parameters  through  stdin  when  it  execs  the  agent.
23       fence_apc can be run by itself with command line options.  This is use‐
24       ful for testing and for turning outlets on or off from scripts.
25
26

OPTIONS

28       -a IPaddress
29              IP address or hostname of the switch.
30
31       -h     Print out a help  message  describing  available  options,  then
32              exit.
33
34       -l login
35              Login name.
36
37       -n [<switch>:]outlet
38              The outlet number to act upon.
39
40       -o action
41              The action required.  Reboot (default), Off or On.
42
43       -p password
44              Password for login.
45
46       -T     Test only.  Answer NO to the confirmation prompt instead of YES.
47
48       -v     Verbose.  Record telnet session in /tmp/apclog.
49
50       -V     Print out a version message, then exit.
51
52

STDIN PARAMETERS

54       agent = < param >
55              This   option  is  used  by  fence_node(8)  and  is  ignored  by
56              fence_apc.
57
58       ipaddr = < hostname | ip >
59              IP address or hostname of the switch.
60
61       login = < param >
62              Login name.
63
64       option = < param >
65              The action required.  Reboot (default), Off or On.
66
67       passwd = < param >
68              Password for login.
69
70       port = < param >
71              The outlet number to act upon.
72
73       switch = < param >
74              The switch to operate on.  Defaults to "1" if not specified.
75
76       test = < param >
77              Test only.  Answer NO to the confirmation prompt instead of YES.
78
79       verbose = < param >
80              Verbose.  Record telnet session in /tmp/apclog.
81
82

SEE ALSO

84       fence(8), fence_node(8)
85
86
87
88                                                                  fence_apc(8)
Impressum