Skip to content

Fence agents - developers guide and UDP agent

Notifications You must be signed in to change notification settings

Tnthr/fence-agents

This branch is 86 commits behind ClusterLabs/fence-agents:main.

Folders and files

NameName
Last commit message
Last commit date
Jun 26, 2023
Jul 13, 2023
Jun 26, 2023
Jun 20, 2023
Jul 8, 2022
Jul 8, 2022
Jul 8, 2022
Jun 26, 2023
Mar 12, 2021
Nov 21, 2022
Jul 13, 2023
Nov 10, 2016
Jun 26, 2023
Nov 11, 2020
Jul 13, 2023

Repository files navigation

Fence agents

Fence agents were developed as device "drivers" which are able to prevent computers from destroying data on shared storage. Their aim is to isolate a corrupted computer, using one of three methods:

  • Power - A computer that is switched off cannot corrupt data, but it is important to not do a "soft-reboot" as we won't know if this is possible. This also works for virtual machines when the fence device is a hypervisor.
  • Network - Switches can prevent routing to a given computer, so even if a computer is powered on it won't be able to harm the data.
  • Configuration - Fibre-channel switches or SCSI devices allow us to limit who can write to managed disks.

Fence agents do not use configuration files, as configuration management is outside of their scope. All of the configuration has to be specified either as command-line arguments or lines of standard input (see the complete list for more info).

Because many fence agents are quite similar to each other, a fencing library (in Python) was developed. Please use it for further development. Creating or modifying a new fence agent should be quite simple using this library.

Where can I find more information?

About

Fence agents - developers guide and UDP agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.9%
  • C 35.3%
  • M4 4.0%
  • Makefile 2.3%
  • Roff 1.0%
  • XSLT 0.9%
  • Other 1.6%