<div dir="ltr"><div>pacemaker-configuration is looking similar for both resources.</div><div>But nginx service-type should be 'forking' while while service-type of 'puppetserver' is simple.</div><div>Would've guessed it shouldn't make a difference here but maybe still worth while checking if this is the crucial difference.</div><div><br></div><div>Regards,</div><div>Klaus</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Jan 30, 2026 at 2:42 PM Windl, Ulrich <<a href="mailto:u.windl@ukr.de">u.windl@ukr.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg4398474593117235265">
<div lang="DE" style="overflow-wrap: break-word;">
<div class="m_4398474593117235265WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Aptos,serif;color:rgb(31,73,125)">Hi!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Aptos,serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Aptos,serif;color:rgb(31,73,125)">I’d suggest two things:<u></u><u></u></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="m_4398474593117235265MsoListParagraph" style="color:rgb(31,73,125);margin-left:0cm">
<span lang="EN-US" style="font-size:11pt;font-family:Aptos,serif">Check the status using the systemctl status for the units and check the RA’s monitor operation<u></u><u></u></span></li><li class="m_4398474593117235265MsoListParagraph" style="color:rgb(31,73,125);margin-left:0cm">
<span lang="EN-US" style="font-size:11pt;font-family:Aptos,serif">Provide cluster status output when the state looks bad (I’m using “crm_mon -1Arfj”, but your preference may be different)<u></u><u></u></span></li></ol>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Aptos,serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Kind regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Ulrich Windl<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0cm 0cm 0cm 4pt">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Users <<a href="mailto:users-bounces@clusterlabs.org" target="_blank">users-bounces@clusterlabs.org</a>>
<b>On Behalf Of </b>Marek Pastierik<br>
<b>Sent:</b> Wednesday, January 21, 2026 1:29 PM<br>
<b>To:</b> <a href="mailto:users@clusterlabs.org" target="_blank">users@clusterlabs.org</a><br>
<b>Subject:</b> [EXT] [ClusterLabs] Systemd resources stopping issue<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p><span style="color:black">Dear ClusterLabs team,<u></u><u></u></span></p>
<p><span style="color:black">I would like to ask for clarification regarding Pacemaker behavior with systemd services.<u></u><u></u></span></p>
<p><span style="color:black">I am running<span class="m_4398474593117235265gmail-apple-converted-space"> </span><strong>Pacemaker 2.1.10-2.el9</strong><span class="m_4398474593117235265gmail-apple-converted-space"> </span>on a<span class="m_4398474593117235265gmail-apple-converted-space"> </span><strong>3-node cluster</strong><span class="m_4398474593117235265gmail-apple-converted-space"> </span>and
currently have<span class="m_4398474593117235265gmail-apple-converted-space"> </span><strong>8 cluster resources</strong>, two of which are systemd-based services:<span class="m_4398474593117235265gmail-apple-converted-space"> </span><strong>nginx.service</strong><span class="m_4398474593117235265gmail-apple-converted-space"> </span>and<span class="m_4398474593117235265gmail-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.<u></u><u></u></span></p>
<p><span style="color:black">I am seeing different behavior for two very similarly defined primitives.<u></u><u></u></span></p>
<p><span style="color:black">Specifically,<span class="m_4398474593117235265gmail-apple-converted-space"> </span><strong>nginx.service</strong><span class="m_4398474593117235265gmail-apple-converted-space"> </span>is actively being stopped by Pacemaker on nodes where it should not be running, while<span class="m_4398474593117235265gmail-apple-converted-space"> </span><strong>puppetserver.service</strong><span class="m_4398474593117235265gmail-apple-converted-space"> </span>is
not, even though I would expect the same behavior.<u></u><u></u></span></p>
<p><span style="color:black">For nginx, I can see the following message in<span class="m_4398474593117235265gmail-apple-converted-space"> </span></span><code><span style="font-size:10pt;color:black">pacemaker-controld</span></code><span class="m_4398474593117235265gmail-apple-converted-space"><span style="color:black"> </span></span><span style="color:black">logs:<u></u><u></u></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<u></u><u></u></span></code></pre>
<p><span style="color:black">For puppetserver, I do not see a corresponding stop operation being requested.<u></u><u></u></span></p>
<p><span style="color:black">The primitive definitions are:<u></u><u></u></span></p>
<pre><code><span style="color:black"><primitive id="nginx_service" class="systemd" type="nginx.service"><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <operations><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <op name="monitor" interval="10s" role="Started"<u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> id="nginx_service-monitor-interval-10s"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <op name="monitor" interval="11s" role="Stopped"<u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> id="nginx_service-monitor-interval-11s"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <op name="start" interval="0s"<u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> id="nginx_service-start-interval-0s"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <op name="stop" interval="0s"<u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> id="nginx_service-stop-interval-0s"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> </operations><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <meta_attributes id="nginx_service-meta_attributes"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"></primitive><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"><u></u> <u></u></span></code></pre>
<pre><code><span style="color:black"><primitive id="puppetserver_service" class="systemd" type="puppetserver.service"><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <operations><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <op name="monitor" interval="10s" role="Started"<u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> id="puppetserver_service-monitor-interval-10s"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <op name="monitor" interval="30s" role="Stopped" timeout="30s"<u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> id="puppetserver_service-monitor-interval-11s"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <op name="start" interval="0s"<u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> id="puppetserver_service-start-interval-0s"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <op name="stop" interval="0s"<u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> id="puppetserver_service-stop-interval-0s"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> </operations><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"> <meta_attributes id="puppetserver_service-meta_attributes"/><u></u><u></u></span></code></pre>
<pre><code><span style="color:black"></primitive><u></u><u></u></span></code></pre>
<p><span style="color:black">Could someone please explain why Pacemaker requests a local stop operation for<span class="m_4398474593117235265gmail-apple-converted-space"> </span></span><code><span style="font-size:10pt;color:black">nginx.service</span></code><span style="color:black">,
but not for<span class="m_4398474593117235265gmail-apple-converted-space"> </span></span><code><span style="font-size:10pt;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?<u></u><u></u></span></p>
<p><span style="color:black">Thank you in advance for any insight.<u></u><u></u></span></p>
<p><span style="color:black">Best regards,<br>
Marek Pastierik<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</div></blockquote></div></div>