<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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:Aptos;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.gmail-apple-converted-space
        {mso-style-name:gmail-apple-converted-space;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        mso-ligatures:none;
        mso-fareast-language:DE;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:534730786;
        mso-list-type:hybrid;
        mso-list-template-ids:799977266 67567633 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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="DE" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Aptos",serif;color:#1F497D;mso-fareast-language:EN-US">Hi!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Aptos",serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Aptos",serif;color:#1F497D;mso-fareast-language:EN-US">I’d suggest two things:<o:p></o:p></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="color:#1F497D;margin-left:0cm;mso-list:l0 level1 lfo1">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Aptos",serif;mso-fareast-language:EN-US">Check the status using the systemctl status for the units and check the RA’s monitor operation<o:p></o:p></span></li><li class="MsoListParagraph" style="color:#1F497D;margin-left:0cm;mso-list:l0 level1 lfo1">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Aptos",serif;mso-fareast-language:EN-US">Provide cluster status output when the state looks bad (I’m using “crm_mon -1Arfj”, but your preference may be different)<o:p></o:p></span></li></ol>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Aptos",serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Ulrich Windl<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Users <users-bounces@clusterlabs.org>
<b>On Behalf Of </b>Marek Pastierik<br>
<b>Sent:</b> Wednesday, January 21, 2026 1:29 PM<br>
<b>To:</b> users@clusterlabs.org<br>
<b>Subject:</b> [EXT] [ClusterLabs] Systemd resources stopping issue<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p><span style="color:black">Dear ClusterLabs team,<o:p></o:p></span></p>
<p><span style="color:black">I would like to ask for clarification regarding Pacemaker behavior with systemd services.<o:p></o:p></span></p>
<p><span style="color:black">I am running<span class="gmail-apple-converted-space"> </span><strong>Pacemaker 2.1.10-2.el9</strong><span class="gmail-apple-converted-space"> </span>on a<span class="gmail-apple-converted-space"> </span><strong>3-node cluster</strong><span class="gmail-apple-converted-space"> </span>and
 currently have<span class="gmail-apple-converted-space"> </span><strong>8 cluster resources</strong>, two of which are systemd-based services:<span class="gmail-apple-converted-space"> </span><strong>nginx.service</strong><span class="gmail-apple-converted-space"> </span>and<span class="gmail-apple-converted-space"> </span><strong>puppetserver.service</strong>.<br>
Both of these services are intended to run on only one node, but I am testing whether Pacemaker will stop them if I manually start them on a second node.<o:p></o:p></span></p>
<p><span style="color:black">I am seeing different behavior for two very similarly defined primitives.<o:p></o:p></span></p>
<p><span style="color:black">Specifically,<span class="gmail-apple-converted-space"> </span><strong>nginx.service</strong><span class="gmail-apple-converted-space"> </span>is actively being stopped by Pacemaker on nodes where it should not be running, while<span class="gmail-apple-converted-space"> </span><strong>puppetserver.service</strong><span class="gmail-apple-converted-space"> </span>is
 not, even though I would expect the same behavior.<o:p></o:p></span></p>
<p><span style="color:black">For nginx, I can see the following message in<span class="gmail-apple-converted-space"> </span></span><code><span style="font-size:10.0pt;color:black">pacemaker-controld</span></code><span class="gmail-apple-converted-space"><span style="color:black"> </span></span><span style="color:black">logs:<o:p></o:p></span></p>
<pre><code><span style="color:black">pacemaker-controld[520998]: notice: Requesting local execution of stop operation for nginx_service on X.Y.Z<o:p></o:p></span></code></pre>
<p><span style="color:black">For puppetserver, I do not see a corresponding stop operation being requested.<o:p></o:p></span></p>
<p><span style="color:black">The primitive definitions are:<o:p></o:p></span></p>
<pre><code><span style="color:black"><primitive id="nginx_service" class="systemd" type="nginx.service"><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">  <operations><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">    <op name="monitor" interval="10s" role="Started"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">        id="nginx_service-monitor-interval-10s"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">    <op name="monitor" interval="11s" role="Stopped"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">        id="nginx_service-monitor-interval-11s"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">    <op name="start" interval="0s"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">        id="nginx_service-start-interval-0s"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">    <op name="stop" interval="0s"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">        id="nginx_service-stop-interval-0s"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">  </operations><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">  <meta_attributes id="nginx_service-meta_attributes"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black"></primitive><o:p></o:p></span></code></pre>
<pre><code><span style="color:black"><o:p> </o:p></span></code></pre>
<pre><code><span style="color:black"><primitive id="puppetserver_service" class="systemd" type="puppetserver.service"><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">  <operations><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">    <op name="monitor" interval="10s" role="Started"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">        id="puppetserver_service-monitor-interval-10s"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">    <op name="monitor" interval="30s" role="Stopped" timeout="30s"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">        id="puppetserver_service-monitor-interval-11s"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">    <op name="start" interval="0s"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">        id="puppetserver_service-start-interval-0s"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">    <op name="stop" interval="0s"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">        id="puppetserver_service-stop-interval-0s"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">  </operations><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">  <meta_attributes id="puppetserver_service-meta_attributes"/><o:p></o:p></span></code></pre>
<pre><code><span style="color:black"></primitive><o:p></o:p></span></code></pre>
<p><span style="color:black">Could someone please explain why Pacemaker requests a local stop operation for<span class="gmail-apple-converted-space"> </span></span><code><span style="font-size:10.0pt;color:black">nginx.service</span></code><span style="color:black">,
 but not for<span class="gmail-apple-converted-space"> </span></span><code><span style="font-size:10.0pt;color:black">puppetserver.service</span></code><span style="color:black">?<br>
Is this related to differences in monitor intervals, systemd unit behavior, or Pacemaker’s internal state handling?<o:p></o:p></span></p>
<p><span style="color:black">Thank you in advance for any insight.<o:p></o:p></span></p>
<p><span style="color:black">Best regards,<br>
Marek Pastierik<o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>