sourCEntral - mobile manpages

pdf

fence_eps

NAME

fence_eps - I/O Fencing agent for ePowerSwitch 8M+ power switch

SYNOPSIS

fence_eps [OPTION]...

DESCRIPTION

fence_eps is an I/O Fencing agent which can be used with the ePowerSwitch 8M+ power switch to fence connected machines. Fence agent works (in 2008/10/21) ONLY on 8M+ device, because this is only one, which has support for hidden page feature.

Agent basically works by connecting to hidden page and pass appropriate arguments to GET request. This means, that hidden page feature must be enabled and properly configured.

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

OPTIONS

-a IPaddress

IP address or hostname of ePowerSwitch 8M+ device. If device is configured to listen on nonstandard port (other than 80), it’s possible to use :port syntax (ex. psip:8080).

-h

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

-l login

Login name.

-o action

The action required. This can be reboot (default), status, off or on.

-p password

Password for login.

-S script

Script to run to retrieve password.

-n name

Physical plug number. Entered without P and with preceding zero (where is needed).

-c name

Name of hidden page. Default is (hidden.htm)

-T

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

-q

Quiet mode.

-v

Verbose. Record session to stdout, or debug file if specified (see -D).

-D

Specifies file, where will be written debug messages from session.

-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_eps.

ipaddr = < hostname | ip >

IP address or hostname of ePowerSwitch 8M+ device. If device is configured to listen on nonstandard port (other than 80), it’s possible to use :port syntax (ex. psip:8080).

login = < param >

Login name.

option = < param >

The action required. This can be reboot (default), status, off or on.

passwd = < param >

Password for login.

passwd_script = < param >

Script to run to retrieve password.

port = < param >

Physical plug number. Entered without P and with preceding zero (where is needed)

hidden_page = < param >

Name of hidden page. Default is (hidden.htm)

test = < param >

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

verbose = < param >

Verbose. Record session to stdout, or debug file if specified (see debug).

debug = < param >

Specifies file, where will be written debug messages from session.

SEE ALSO

fence(8), fence_node(8)

pdf