cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: teigland@sourceware.org <teigland@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/fence/man fenced.8
Date: 17 Aug 2007 18:26:18 -0000	[thread overview]
Message-ID: <20070817182618.8508.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland at sourceware.org	2007-08-17 18:26:17

Modified files:
	fence/man      : fenced.8 

Log message:
	Outline the basic ideas of multiple methods and multiple devices.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/man/fenced.8.diff?cvsroot=cluster&r1=1.6&r2=1.7

--- cluster/fence/man/fenced.8	2007/08/16 21:02:24	1.6
+++ cluster/fence/man/fenced.8	2007/08/17 18:26:16	1.7
@@ -170,10 +170,10 @@
 will need to manually reset the failed node and then use fence_ack_manual
 to tell fenced to continue on without fencing it (see override above).
 
-There is typically a single method used to fence each node, where the
-method refers to a specific device listed in the separate <fencedevices>
-section and then lists any node-specific parameters related to using the
-device.
+There is typically a single method used to fence each node (the name given
+to the method is not significant).  A method refers to a specific device
+listed in the separate <fencedevices> section, and then lists any
+node-specific parameters related to using the device.
 
   <clusternodes>
 
@@ -206,10 +206,57 @@
           <fencedevice name="myswitch" ipaddr="1.2.3.4" .../>
   </fencedevices>
 
+.SS Multiple methods for a node
+
+In more advanced configurations, multiple fencing methods can be defined
+for a node.  If fencing fails using the first method, fenced will try the
+next method, and continue to cycle through methods until one succeeds.
+
+  <clusternode name="node1" nodeid="1">
+          <fence>
+             <method name="first">
+                <device name="powerswitch" hw-specific-param="x"/>
+             </method>
+
+             <method name="second">
+                <device name="storageswitch" hw-specific-param="1"/>
+             </method>
+          </fence>
+  </clusternode>
+
+.SS Dual path, redundant power
+
+Sometimes fencing a node requires disabling two power ports or two i/o
+paths.  This is done by specifying two or more devices within a method.
+
+  <clusternode name="node1" nodeid="1">
+          <fence>
+             <method name="single">
+                <device name="sanswitch1" hw-specific-param="x"/>
+                <device name="sanswitch2" hw-specific-param="x"/>
+             </method>
+          </fence>
+  </clusternode>
+
+When using power switches to fence nodes with dual power supplies, the
+agents must be told to turn off both power ports before restoring power to
+either port.  The default off-on behavior of the agent could result in the
+power never being fully disabled to the node.
+
+  <clusternode name="node1" nodeid="1">
+          <fence>
+             <method name="single">
+                <device name="nps1" hw-param="x" action="off"/>
+                <device name="nps2" hw-param="x" action="off"/>
+                <device name="nps1" hw-param="x" action="on"/>
+                <device name="nps2" hw-param="x" action="on"/>
+             </method>
+          </fence>
+  </clusternode>
+
 .SS Hardware-specific settings
 
-Find documentation for configuring specific devices, multiple methods per
-node, and redundant-power/dual-path hardware at
+Find documentation for configuring specific devices at
 .BR
 http://sources.redhat.com/cluster/
 



             reply	other threads:[~2007-08-17 18:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17 18:26 teigland [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-08-16 21:02 [Cluster-devel] cluster/fence/man fenced.8 teigland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070817182618.8508.qmail@sourceware.org \
    --to=teigland@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).