Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3154871
fence_apc.8
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
fence_apc.8
View Options
.\" Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
.\" Copyright (C) 2004 Red Hat, Inc. All rights reserved.
.\"
.\" This copyrighted material is made available to anyone wishing to use,
.\" modify, copy, or redistribute it subject to the terms and conditions
.\" of the GNU General Public License v.2.
.TH fence_apc 8
.SH NAME
fence_apc - I/O Fencing agent for APC MasterSwitch
.SH SYNOPSIS
.B
fence_apc
[\fIOPTION\fR]...
.SH 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.
.SH OPTIONS
.TP
\fB-a\fP \fIIPaddress\fR
IP address or hostname of the switch.
.TP
\fB-h\fP
Print out a help message describing available options, then exit.
.TP
\fB-l\fP \fIlogin\fR
Login name.
.TP
\fB-n\fP \fI[<switch>:]outlet\fR
The outlet number to act upon.
.TP
\fB-o\fP \fIaction\fR
The action required. Reboot (default), Off or On.
.TP
\fB-p\fP \fIpassword\fR
Password for login.
.TP
\fB-T\fP
Test only. Answer NO to the confirmation prompt instead of YES.
.TP
\fB-v\fP
Verbose. Record telnet session in /tmp/apclog.
.TP
\fB-V\fP
Print out a version message, then exit.
.SH STDIN PARAMETERS
.TP
\fIagent = < param >\fR
This option is used by fence_node(8) and is ignored by fence_apc.
.TP
\fIipaddr = < hostname | ip >\fR
IP address or hostname of the switch.
.TP
\fIlogin = < param >\fR
Login name.
.TP
\fIoption = < param >\fR
The action required. Reboot (default), Off or On.
.TP
\fIpasswd = < param >\fR
Password for login.
.TP
\fIport = < param >\fR
The outlet number to act upon.
.TP
\fIswitch = < param >\fR
The switch to operate on. Defaults to "1" if not specified.
.TP
\fItest = < param >\fR
Test only. Answer NO to the confirmation prompt instead of YES.
.TP
\fIverbose = < param >\fR
Verbose. Record telnet session in /tmp/apclog.
.SH SEE ALSO
fence(8), fence_node(8)
File Metadata
Details
Attached
Mime Type
text/troff
Expires
Wed, Feb 26, 5:13 PM (20 m, 45 s ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1465588
Default Alt Text
fence_apc.8 (2 KB)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment