Fencing (computing)

Fencing (computing)

Fencing is isolating a node of a computer cluster when it is malfunctioning. Isolating a node means ensuring that I/O can no longer be done from it. Fencing is typically done automatically, by cluster infrastructure such as shared disk file systems, in order to protect processes from other active nodes modifying the resources during node failures.

Fencing is required because it is impossible to distinguish between a real failure and a temporary hang. If the malfunctioning node is really down, then it cannot do any damage, so theoretically no action would be required (it could simply be brought back into the cluster with the usual join process). However, because there is a possibility that a malfunctioning node could itself consider the rest of the cluster to be the one that is malfunctioning, a race condition could ensue, and cause data corruption. Instead, the system has to assume the worst scenario and always fence in case of problems.

Fencing methods include:
* STONITH, which stands for "Shoot The Other Node In The Head", meaning automatically power off the server
* reserve/release ('R/R')
* persistent reservation (SCSI3)
* SAN Fabric fencing, which is widely used both by Red Hat Global File System (GFS) and the PolyServe File System (PSFS)

Reserve/release by its nature only works with two-node clusters, because one of the two nodes in the cluster, upon detecting that the other node has 'failed', will issue the reserve and grab all the disks for itself. The other node will commit suicide if it tries to do I/O (in case it was temporarily hung). The I/O failure triggers some code to kill the node. In general, in the case of two-node clusters, R/R is sufficient to address the split-brain issue, also.

For clusters greater than two nodes, R/R fencing does not work very well because it would cause all the nodes but one to commit suicide. In those cases persistent reservation is used. Persistent reservation is essentially a match on a key, so the node which has the right key can do I/O, otherwise its I/O fails. Therefore, it is sufficient to change the key on a failure to ensure the right behavior during failure.

External links

* [http://www.redhat.com/docs/manuals/csgfs/admin-guide/ch-fence.html Red Hat GFS 6.0 Administrator's Guide - Using the Fencing System]
* [http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#QUORUM OCFS2 FAQ - Quorum and fencing]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Node fencing — is a concept in computer clusters. A node fence (or I/O fence) is a virtual fence that separates nodes which may have access to a shared resource from nodes which must not. It may separate an active node from its backup. If the backup crosses the …   Wikipedia

  • Red Hat cluster suite — Пакет RHCS (Red Hat cluster suite) включает в себя два программных продукта. ПО для создания кластера высокой доступности (High availability cluster) и ПО для создания кластера выравненной нагрузки (Load balancing cluster). Оба инструмента могут… …   Википедия

  • Fence (disambiguation) — A fence is a structure to restrict or prevent movement. It may also refer to:* Fence (criminal), a person who deals in the purchase and sale of stolen property * Fence (woodworking), a portion of a tool used as a guide * Fence Collective, a… …   Wikipedia

  • Trinity College, Dublin — The College of the Holy and Undivided Trinity of Queen Elizabeth near Dublin Coláiste na Tríonóide, Baile Átha Cliath Coláiste Thríonóid Naofa Neamhroinnte na Banríona Eilís gar do Bhaile Átha Cliath Latin …   Wikipedia

  • Wayne State University — Not to be confused with Wayne State College, the college in Nebraska. Wayne State University Motto Industry, Intelligence, Integrity Established 1868 Type …   Wikipedia

  • Royal Military College of Canada — Motto Truth, Duty, Valour Established 1876 Type …   Wikipedia

  • Marist College — This article is about Marist College in Poughkeepsie, New York. For other schools with the same name, see Marist College (disambiguation). For other Marist Brothers schools, see List of Marist Brothers schools. Coordinates: 41°43′34″N 73°56′01″W …   Wikipedia

  • Thin client — A thin client (sometimes also called a lean or slim client) is a client computer or client software in client server architecture networks which depends primarily on the central server for processing activities, and mainly focuses on conveying… …   Wikipedia

  • Information security — Components: or qualities, i.e., Confidentiality, Integrity and Availability (CIA). Information Systems are decomposed in three main portions, hardware, software and communications with the purpose to identify and apply information security… …   Wikipedia

  • Western Washington University — Infobox University name = Western Washington University native name = latin name = motto = established = February 24, 1893 type = Public endowment = $30,059,846 [http://www.usnews.com/usnews/edu/college/directory/brief/drglance 3802 brief.php… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”