<div>Hello All,</div><div><br></div><div>I would like to know what is the easiest way to ensure that a resource (especially an lsb resource) is running only at one place? </div><div>Because by default on my asymmetric cluster I saw that the op monitor action is only executed on the node where the resource is currently running, and when a user start manually (not through the crm) the same resource on another node pacemaker won't see it because it is not executing the op monitor on all nodes that are potentially able to run the resource.</div>
<div><br></div><div>Here is the relevant part of my configuration with 4 nodes, an asymmetric configuration, 1 resource named ExtractProcess with 2 possible host on which it can run (hostA and hostB through location rule loc-ExtractProcess)</div>
<div><br></div><div>node hostA</div><div>node hostB</div><div>node hostC</div><div>node hostD</div><div>primitive ExtractProcess lsb:ExtractProcess \</div><div>        op monitor on-fail="restart" interval="20" \</div>
<div>        meta migration-threshold="10" failure-timeout="30s" multiple-active="stop_start" target-role="Started"</div><div>location loc-ExtractProcess ExtractProcess \</div><div>
        rule $id="loc-ExtractProcess-rule" 100: #uname eq hostA or #uname eq hostB</div><div>property $id="cib-bootstrap-options" \</div><div>        expected-quorum-votes="4" \</div><div>        stonith-enabled="false" \</div>
<div>        dc-version="1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87" \</div><div>        no-quorum-policy="ignore" \</div><div>        cluster-recheck-interval="20s" \</div><div>        cluster-infrastructure="openais" \</div>
<div>        start-failure-is-fatal="false" \</div><div>        symmetric-cluster="false" \</div><div>        is-managed-default="true"</div><div>rsc_defaults $id="rsc-options" \</div>
<div>        target-role="started" \</div><div>        resource-stickiness="100"</div><div><br></div><div>Am I obliged to write my own RA with a master/slave or primary/secondary knowledge to be sure that the resource is active only at one place at a time?</div>
<div><br></div><div>Thank you in advance for your feedback :)</div><div><br></div>