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

# fence\_rackswitch(8)

I/O Fencing agent for RackSaver RackSwitch

## NAME

fence\_rackswitch - I/O Fencing agent for RackSaver RackSwitch

## SYNOPSIS

**fence\_rackswitch** \[*OPTION*\]...

## DESCRIPTION

fence\_rackswitch is an I/O Fencing agent which can be used with the RackSaver  RackSwitch.  It logs into the RackSwitch and boots a specified plug. Using the http interface to the RackSwitch should be avoided while a GFS cluster is  running because the connection may interfere with the operation of this agent.

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

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

## OPTIONS

- **-a** *IPaddress*

  IP address of the switch.

- **-h**

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

- **-n** *plug*

  The plug number to power cycle.

- **-p** *password*

  Password for login.

- **-S** *path*

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

- **-l** *username*

  Username for login.

- **-q**

  Quiet operation.  Only print out 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\_rackswitch.

- *ipaddr = \< ip \>*

  IP address of the switch.

- *username = \< param \>*

  Username for login.

- *password = \< param \>*

  Password for login.

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

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

- *port = \< param \>*

  The port (outlet) number to act upon.

## SEE ALSO

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