<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:"MS PGothic";
panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
{font-family:"\@MS PGothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:JA;}
span.EmailStyle18
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.fabric-text-color-mark
{mso-style-name:fabric-text-color-mark;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:813763720;
mso-list-template-ids:-269160414;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:843519268;
mso-list-template-ids:-2059231156;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2
{mso-list-id:1672558981;
mso-list-template-ids:-437206132;}
@list l2:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l2:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3
{mso-list-id:2059628348;
mso-list-template-ids:1052132840;}
@list l3:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l3:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l3:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">This is my first time using Pacemaker, and I wanted to try watchdog-only fencing with SBD.<o:p></o:p></p>
<p class="MsoNormal">I’m running on Ubuntu 21.10 and Pacemaker v2.0.5<o:p></o:p></p>
<p class="MsoNormal">My cluster is up just fine with Dummy services on two nodes.<o:p></o:p></p>
<p class="MsoNormal">Systemd says my sbd device is active and running.<o:p></o:p></p>
<p class="MsoNormal">But the ‘stonith’ command that Pacemaker uses won’t find it, so the resource fails to start in the cluster.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Help much appreciated!<o:p></o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Simon<o:p></o:p></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">$ sudo stonith -t external/sbd -E -S<o:p></o:p></p>
<p class="MsoNormal">external/sbd[361914]: ERROR: No sbd device(s) found in the configuration.<o:p></o:p></p>
<p class="MsoNormal">WARN: external_status: 'sbd status' failed with rc 1<o:p></o:p></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in">ERROR: external/sbd device not accessible.<o:p></o:p></p>
<p class="MsoNormal" style="border:none;padding:0in"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white">$ systemctl status sbd</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt"><br>
<span style="background:white">● sbd.service - Shared-storage based fencing daemon</span><br>
<span style="background:white">Loaded: loaded (/lib/systemd/system/sbd.service; enabled; vendor preset: enabled)</span><br>
<span class="fabric-text-color-mark"><b><span style="background:white">Active: active (running)
</span></b></span><span style="background:white">since Fri 2022-04-01 15:18:04 EDT; 4 days ago</span><br>
<span style="background:white">Docs: man:sbd(8)</span><br>
<span style="background:white">Process: 2474278 ExecStart=/usr/sbin/sbd $SBD_OPTS -p /var/run/sbd.pid watch (code=exited, status=0/SUCCESS)</span><br>
<span style="background:white">Main PID: 2474279 (sbd)</span><br>
<span style="background:white">Tasks: 3 (limit: 38258)</span><br>
<span style="background:white">Memory: 11.2M</span><br>
<span style="background:white">CPU: 4min 7.329s</span><br>
<span style="background:white">CGroup: /system.slice/sbd.service</span><br>
</span><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white">├─</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white">2474279
sbd: inquisitor</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt"><br>
</span><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white">├─</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white">2474280
sbd: watcher: Pacemaker</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt"><br>
</span><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white">└瘢雹─</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white">2474281
sbd: watcher: Cluster<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">$ sudo pcs status<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Cluster name: Axx<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Cluster Summary:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * Stack: corosync<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * Current DC: node0 (version 2.0.5-ba59be7122) - partition with quorum<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * Last updated: Wed Apr 6 14:38:44 2022<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * Last change: Wed Apr 6 14:38:35 2022 by root via cibadmin on node0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * 2 nodes configured<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * 6 resource instances configured<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Node List:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * Online: [ node0 node1 ]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Full List of Resources:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * Resource Group: AxxDummy:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * p_Dummy_1 (ocf::heartbeat:Dummy): Started node0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * p_Dummy_2 (ocf::heartbeat:Dummy): Started node0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * p_Dummy_3 (ocf::heartbeat:Dummy): Started node0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * ClusterIP (ocf::heartbeat:IPaddr2): Started node0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * p_Dummy_4 (ocf::heartbeat:Dummy): Started node0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * fence-sbd (stonith:external/sbd): Stopped<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Failed Resource Actions:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * fence-sbd_start_0 on node0 'error' (1): call=51, status='complete', exitreason='', last-rc-change='2022-04-06 14:38:13 -04:00', queued=0ms, exec=3102ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> * fence-sbd_start_0 on node1 'error' (1): call=41, status='complete', exitreason='', last-rc-change='2022-04-06 14:38:09 -04:00', queued=0ms, exec=3094ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Daemon Status:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> corosync: active/enabled<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> pacemaker: active/enabled<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> pcsd: active/enabled<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> sbd: active/enabled<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">This is from /var/log/syslog<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt;mso-fareast-language:EN-US">Apr 6 14:40:43 ubuntuserver pacemaker-controld[349716]: notice: Requesting local execution of start operation for fence-sbd on node0<br>
Apr 6 14:40:43 ubuntuserver external/sbd[349924]: [349930]: ERROR: No sbd device(s) found in the configuration.<br>
Apr 6 14:40:46 ubuntuserver pacemaker-fenced[349712]: notice: Operation 'monitor' [349931] for device 'fence-sbd' returned: -61 (No data available)<br>
Apr 6 14:40:46 ubuntuserver pacemaker-fenced[349712]: warning: fence-sbd:349931 [
<b>Performing: stonith -t external/sbd -E -S</b> ]<br>
Apr 6 14:40:46 ubuntuserver pacemaker-fenced[349712]: warning: fence-sbd:349931 [ failed: 1 ]<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>