---
name: "fence_baytech"
section: "8"
platform: "linux"
package: "fence-agents"
version: "3.1.5-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fence_baytech"
---

# fence\_baytech(8)

I/O Fencing agent for Baytech RPC switches in combination with a Cyclades Terminal Server

## NAME

fence\_baytech - I/O Fencing agent for Baytech RPC switches in combination with a Cyclades Terminal Server

## SYNOPSIS

**fence\_baytech** \[*OPTION*\]...

## DESCRIPTION

This fencing agent is written for the Baytech RPC27-20nc in combination with a Cyclades terminal server.  The Cyclades TS exports the RPC's serial port via a Telnet interface.  Other interfaces, such as SSH, are possible.   However, this script relies upon the assumption that Telnet is used.  Future features to this agent would allow the agent to work with a multitude of  different communication protocols such as Telnet, SSH or Kermit.

The other assumption that is made is that Outlet names do not end in space. The name "Foo" and "Foo    " are identical when the RPC prints them with the status command.

fence\_baytech accepts options on the command line as well as from stdin. fenced sends parameters through stdin when it execs the agent.  fence\_baytech can be run by itself with command line options which is useful for testing.

Vendor URL: http://www.baytech.net

## OPTIONS

- **-a** *host*

  IP address or hostname to connect to.

- **-h**

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

- **-l** *login*

  Username name for the switch.

- **-n** *port*

  The name of the outlet to act upon.

- **-o** *action*

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

- **-p** *password*

  Password for login.

- **-S** *path*

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

- **-q**

  Quiet mode: print only error messages.

- **-V**

  Print out a version message, then exit.

## STDIN PARAMETERS

- *agent = \< param \>*

  This option is used by [fence\_node(8)](/fence_node/8.md) and is ignored by fence\_baytech.

- *host = \< hostname \| ip \>*

  IP address or hostname to connect to.

- *login = \< param \>*

  Login name.

- *action = \< param \>*

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

- *passwd = \< param \>*

  Password for login.

- *passwd\_script = \< param \>*

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

- *outlet = \< param \>*

  The name of the outlet to act upon.

## SEE ALSO

[fence(8)](/fence/8.md), [fence\_node(8)](/fence_node/8.md)
