Skip to content

Commit 777a657

Browse files
committed
DOCTEAM-1985 diskless SBD (#629)
* Test and complete diskless SBD article jsc#DOCTEAM-1985 * Add back-up full version of SBD * Update abstracts * Add some conditions for diskless/diskbased
1 parent 8226f9e commit 777a657

9 files changed

+233
-48
lines changed

DC-HA-sbd-changing-configuration

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ IMG_SRC_DIR="images"
44

55
## Profiling
66
PROFOS="sleha"
7-
PROFCONDITION="16.0"
7+
PROFCONDITION="16.0;sbd-diskless;sbd-diskbased"
88
# Use the STRUCTID if there are several structures in one assembly file
99
#STRUCTID="STRUCTURE-ID"
1010
#PROFARCH="x86_64;zseries;power;aarch64"

DC-HA-sbd-configuring-diskless

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
MAIN="ha-sbd-configuring.asm.xml"
2+
SRC_DIR="articles"
3+
IMG_SRC_DIR="images"
4+
5+
## Profiling
6+
PROFOS="sleha"
7+
PROFCONDITION="16.0;sbd-diskless"
8+
# Use the STRUCTID if there are several structures in one assembly file
9+
STRUCTID="ha-sbd-configuring-diskless"
10+
#PROFARCH="x86_64;zseries;power;aarch64"
11+
12+
DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat"
13+
14+
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
15+
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse-ns"

articles/ha-fencing-configuring.asm.xml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<productname version="16.0" os="sleha">&productname;</productname>
6666
</meta>
6767
<meta name="title" its:translate="yes">Configuring Node Fencing in a &ha; Cluster</meta>
68-
<meta name="description" its:translate="yes">How to add physical fencing devices to manage node fencing in a &sleha; cluster</meta>
68+
<meta name="description" its:translate="yes">How to add physical fencing devices to manage node fencing in a &ha; cluster</meta>
6969
<meta name="social-descr" its:translate="yes">Add physical fencing devices to manage HA node fencing</meta>
7070
<meta name="category" its:translate="no">
7171
<phrase>Initial Configuration</phrase>
@@ -94,7 +94,7 @@
9494
<term>WHAT?</term>
9595
<listitem>
9696
<para>
97-
How to configure a &sleha; cluster to use a physical node fencing device.
97+
Node fencing protects the cluster from data corruption by resetting failed nodes.
9898
</para>
9999
</listitem>
100100
</varlistentry>
@@ -120,7 +120,9 @@
120120
<term>GOAL</term>
121121
<listitem>
122122
<para>
123-
Protect the cluster from data corruption by fencing failed nodes.
123+
Configure a &ha; cluster to use a physical node fencing device. Physical
124+
fencing devices can only be added after the cluster is already installed
125+
and running, not during the initial cluster setup.
124126
</para>
125127
</listitem>
126128
</varlistentry>
@@ -143,10 +145,23 @@
143145
</varlistentry>
144146
</variablelist>
145147
<para>
146-
To use &sbd; as the node fencing mechanism instead of a physical device, see
147-
<link xlink:href="https://documentation.suse.com/sle-ha/16.0/html/HA-sbd-configuring-diskbased/">
148-
<citetitle>Configuring Disk-Based &sbd; in an Existing &ha; Cluster</citetitle></link>.
148+
To use &sbd; as the node fencing mechanism instead of a physical device, see one of the
149+
following articles:
149150
</para>
151+
<itemizedlist>
152+
<listitem>
153+
<para>
154+
<link xlink:href="https://documentation.suse.com/sle-ha/16.0/html/HA-sbd-configuring-diskbased/">
155+
<citetitle>Configuring Disk-Based &sbd; in an Existing &ha; Cluster</citetitle></link>
156+
</para>
157+
</listitem>
158+
<listitem>
159+
<para>
160+
<link xlink:href="https://documentation.suse.com/sle-ha/16.0/html/HA-sbd-configuring-diskless/">
161+
<citetitle>Configuring Diskless &sbd; in an Existing &ha; Cluster</citetitle></link>
162+
</para>
163+
</listitem>
164+
</itemizedlist>
150165
</abstract>
151166
</merge>
152167
<module resourceref="_ha-fencing-what-is" renderas="section"/>

articles/ha-qdevice-configuring.asm.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,18 @@
9797
<term>WHAT?</term>
9898
<listitem>
9999
<para>
100-
How to use the &crmshell; to configure &qdevice; and &qnet; in a &ha; cluster that is
101-
already installed and running.
100+
&qdevice; and the arbitrator &qnet; help the cluster make quorum calculations in a
101+
split-brain scenario. This allows the cluster to sustain more node failures than
102+
the standard quorum rules allow.
102103
</para>
103104
</listitem>
104105
</varlistentry>
105106
<varlistentry>
106107
<term>WHY?</term>
107108
<listitem>
108109
<para>
109-
&qdevice; and the arbitrator &qnet; participate in quorum calculations in a
110-
split-brain scenario. This allows the cluster to sustain more node failures than
111-
the standard quorum rules allow.
110+
We recommend using &qdevice; and &qnet; in clusters with an even number of nodes,
111+
especially two-node clusters.
112112
</para>
113113
</listitem>
114114
</varlistentry>
@@ -125,8 +125,9 @@
125125
<term>GOAL</term>
126126
<listitem>
127127
<para>
128-
Help the cluster make quorum calculations more easily. This is recommended for
129-
clusters with an even number of nodes, especially two-node clusters.
128+
&qdevice; and &qnet; can be configured during the initial cluster setup or later in
129+
a running cluster. This article explains how to configure them in a &ha; cluster
130+
that is already installed and running.
130131
</para>
131132
</listitem>
132133
</varlistentry>

articles/ha-sbd-configuring.asm.xml

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<description>GNU Free Documentation License</description>
4646
</resource>
4747
</resources>
48+
4849
<!-- S T R U C T U R E S -->
4950
<structure renderas="article" xml:id="ha-sbd-configuring-diskbased" xml:lang="en">
5051
<merge>
@@ -94,8 +95,8 @@
9495
<term>WHAT?</term>
9596
<listitem>
9697
<para>
97-
How to use the &crmshell; to configure disk-based &sbd; in a &ha; cluster that is
98-
already installed and running.
98+
&sbd; provides a node fencing mechanism without using an external power-off device.
99+
Node fencing protects the cluster from data corruption by resetting failed nodes.
99100
</para>
100101
</listitem>
101102
</varlistentry>
@@ -104,8 +105,7 @@
104105
<listitem>
105106
<para>
106107
To be supported, all &sleha; clusters <emphasis>must</emphasis> have node fencing
107-
configured. &sbd; provides a node fencing mechanism without using an external
108-
power-off device.
108+
configured.
109109
</para>
110110
</listitem>
111111
</varlistentry>
@@ -122,7 +122,9 @@
122122
<term>GOAL</term>
123123
<listitem>
124124
<para>
125-
Protect the cluster from data corruption by fencing failed nodes.
125+
&sbd; can be configured during the initial cluster setup or later in a running
126+
cluster. This article explains how to configure &sbd; in a &ha; cluster that is
127+
already installed and running.
126128
</para>
127129
</listitem>
128130
</varlistentry>
@@ -149,6 +151,11 @@
149151
</listitem>
150152
</varlistentry>
151153
</variablelist>
154+
<para>
155+
To configure diskless &sbd; instead, see
156+
<link xlink:href="https://documentation.suse.com/sle-ha/16.0/html/HA-sbd-configuring-diskless/">
157+
<citetitle>Configuring Diskless &sbd; in an Existing &ha; Cluster</citetitle></link>.
158+
</para>
152159
<para>
153160
If the &sbd; service is already running, see
154161
<link xlink:href="https://documentation.suse.com/sle-ha/16.0/html/HA-sbd-changing-configuration/">
@@ -190,12 +197,11 @@
190197
<module resourceref="_ha-glossary" renderas="glossary"/>
191198
</structure>
192199

193-
<!-- On hold until https://bugzilla.suse.com/show_bug.cgi?id=1248874 is fixed in HA 16
194-
<structure renderas="article" xml:id="ha-sbd-configuring-diskless" xml:lang="en">
200+
<structure renderas="article" xml:id="ha-sbd-configuring-diskless" xml:lang="en">
195201
<merge>
196202
<title>Configuring Diskless &sbd; in an Existing &ha; Cluster</title>
197203
<revhistory xml:id="rh-ha-sbd-configuring-diskless">
198-
<revision><date>2025-11-04</date>
204+
<revision><date>2026-01-15</date>
199205
<revdescription>
200206
<para>
201207
Initial version
@@ -210,7 +216,7 @@
210216
<phrase>&zseries;</phrase>
211217
</meta>
212218
<meta name="productname" its:translate="no">
213-
<productname version="16.0">&sleha;</productname>
219+
<productname version="16.0" os="sleha">&productname;</productname>
214220
</meta>
215221
<meta name="title" its:translate="yes">Configuring Diskless &sbd; in an Existing HA Cluster</meta>
216222
<meta name="description" its:translate="yes">How to configure diskless &sbd; in a &ha; cluster that is already installed and running</meta>
@@ -227,7 +233,7 @@
227233
<dm:url>https://bugzilla.suse.com/enter_bug.cgi</dm:url>
228234
<dm:component>Documentation</dm:component>
229235
<dm:product>
230-
<dm:product condition="16.0">SUSE Linux Enterprise High Availability 16.0</dm:product>
236+
<dm:product>SUSE Linux Enterprise High Availability 16.0</dm:product>
231237
</dm:product>
232238
<dm:assignee>tahlia.richardson@suse.com</dm:assignee>
233239
</dm:bugtracker>
@@ -239,18 +245,17 @@
239245
<term>WHAT?</term>
240246
<listitem>
241247
<para>
242-
How to use the &crmshell; to configure diskless &sbd; in a &ha; cluster that is
243-
already installed and running.
248+
&sbd; provides a node fencing mechanism without using an external power-off device.
249+
Node fencing protects the cluster from data corruption by resetting failed nodes.
244250
</para>
245251
</listitem>
246252
</varlistentry>
247253
<varlistentry>
248254
<term>WHY?</term>
249255
<listitem>
250256
<para>
251-
To be supported, all &sleha; clusters <emphasis>must</emphasis> have &stonith;
252-
(node fencing) configured. &sbd; provides a node fencing mechanism without using
253-
an external power-off device.
257+
To be supported, all &sleha; clusters <emphasis>must</emphasis> have node fencing
258+
configured.
254259
</para>
255260
</listitem>
256261
</varlistentry>
@@ -267,7 +272,9 @@
267272
<term>GOAL</term>
268273
<listitem>
269274
<para>
270-
Protect the cluster from data corruption by fencing failed nodes.
275+
&sbd; can be configured during the initial cluster setup or later in a running
276+
cluster. This article explains how to configure &sbd; in a &ha; cluster that is
277+
already installed and running.
271278
</para>
272279
</listitem>
273280
</varlistentry>
@@ -289,9 +296,15 @@
289296
</listitem>
290297
</varlistentry>
291298
</variablelist>
299+
<para>
300+
To configure disk-based &sbd; instead, see
301+
<link xlink:href="https://documentation.suse.com/sle-ha/16.0/html/HA-sbd-configuring-diskbased/">
302+
<citetitle>Configuring Disk-Based &sbd; in an Existing &ha; Cluster</citetitle></link>.
303+
</para>
292304
<para>
293305
If the &sbd; service is already running, see
294-
<citetitle>Changing &sbd; Configuration</citetitle> instead. <!Add link when available>
306+
<link xlink:href="https://documentation.suse.com/sle-ha/16.0/html/HA-sbd-changing-configuration/">
307+
<citetitle>Changing the Configuration of &sbd;</citetitle></link>.
295308
</para>
296309
</abstract>
297310
</merge>
@@ -306,8 +319,8 @@
306319
<para>
307320
The <command>crm cluster crash_test</command> command simulates cluster failures and
308321
reports the results. To test &sbd; and node fencing, you can run one or more of the
309-
tests <option>-fence-node</option>, <option>-kill-sbd</option> and
310-
<option>-split-brain-iptables</option>.
322+
tests <option>--fence-node</option>, <option>--kill-sbd</option> and
323+
<option>--split-brain-iptables</option>.
311324
</para>
312325
</abstract>
313326
</merge>
@@ -317,5 +330,5 @@
317330
<output renderas="appendix"/>
318331
</module>
319332
<module resourceref="_ha-glossary" renderas="glossary"/>
320-
</structure> -->
333+
</structure>
321334
</assembly>

concepts/ha-sbd-what-is.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
<meta name="maintainer" content="tahlia.richardson@suse.com" its:translate="no"/>
2020
<abstract>
2121
<para>
22-
&sbd; (&sbd.long;) provides a node fencing mechanism without using an external power-off
23-
device. The software component (the &sbd; daemon) works together with a watchdog device to
24-
ensure that misbehaving nodes are fenced. &sbd; can be used in disk-based mode with shared
25-
block storage, or in diskless mode using only the watchdog.
22+
&sbd; (&sbd.long; or Storage-Based Death) provides a node fencing mechanism without using
23+
an external power-off device. The software component (the &sbd; daemon) works together with
24+
a watchdog device to ensure that misbehaving nodes are fenced. &sbd; can be used in
25+
disk-based mode with shared block storage, or in diskless mode using only the watchdog.
2626
</para>
27-
<para>
27+
<para condition="sbd-diskbased">
2828
Disk-based &sbd; uses shared block storage to exchange fencing messages between the nodes.
2929
It can be used with one to three devices. One device is appropriate for simple cluster setups,
3030
but two or three devices are recommended for more complex setups or critical workloads.
3131
</para>
32-
<para>
33-
Diskless &sbd; fences nodes by using only the watchdog, without relying on a shared storage
34-
device. A node is fenced if it loses quorum, if any monitored daemon is lost and cannot be
32+
<para condition="sbd-diskless">
33+
Diskless &sbd; fences nodes by using only the watchdog, without a shared storage device.
34+
A node is fenced if it loses quorum, if any monitored daemon is lost and cannot be
3535
recovered, or if &pace; determines that the node requires fencing.
3636
</para>
3737
</abstract>
@@ -49,7 +49,7 @@
4949
</para>
5050
</listitem>
5151
</varlistentry>
52-
<varlistentry>
52+
<varlistentry condition="sbd-diskbased">
5353
<term>&sbd; device (disk-based &sbd;)</term>
5454
<listitem>
5555
<para>
@@ -58,7 +58,7 @@
5858
</para>
5959
</listitem>
6060
</varlistentry>
61-
<varlistentry>
61+
<varlistentry condition="sbd-diskbased">
6262
<term>Messages (disk-based &sbd;)</term>
6363
<listitem>
6464
<para>
@@ -80,7 +80,7 @@
8080
<section xml:id="ha-sbd-limitations-recommendations">
8181
<title>Limitations and recommendations</title>
8282
<variablelist>
83-
<varlistentry>
83+
<varlistentry condition="sbd-diskbased">
8484
<term>Disk-based &sbd;</term>
8585
<listitem>
8686
<itemizedlist>
@@ -121,7 +121,7 @@
121121
</itemizedlist>
122122
</listitem>
123123
</varlistentry>
124-
<varlistentry>
124+
<varlistentry condition="sbd-diskless">
125125
<term>Diskless &sbd;</term>
126126
<listitem>
127127
<itemizedlist>

snippets/ha-cluster-restart-warning.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ xmlns:xi="http://www.w3.org/2001/XInclude"
1010
xmlns:xlink="http://www.w3.org/1999/xlink">
1111
<title>Cluster restart required</title>
1212
<para>
13-
In this procedure, the script checks whether it is safe to restart the cluster services
13+
In this procedure, the setup script checks whether it is safe to restart the cluster services
1414
automatically. If any non-<literal>stonith</literal> resources are running, the script warns
1515
you to restart the cluster services manually. This allows you to put the cluster into
1616
maintenance mode first to avoid resource downtime. However, be aware that the resources will

tasks/ha-sbd-setting-up-diskbased.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</listitem>
4949
<listitem>
5050
<para>
51-
The &sbd; service is not running.
51+
&sbd; is not configured yet.
5252
</para>
5353
</listitem>
5454
<listitem>

0 commit comments

Comments
 (0)