<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I have a situation when a cloned resource is being deployed only on some of the nodes, even though this resource is similar to others, which are being deployed according to location rules properly.<br><br></div>Please take a look at the configuration below and let me know if there is anything to do to make the resource "dbx_nfs_mounts_datas" (which is a primitive of "dbx_nfs_mounts_datas-clone") being deployed on all 4 nodes matching its location rules.<br><br></div><div><br>Thanks in advance,<br><br><br><br></div><div>* Configuration:<br></div>** Nodes:<br>    <nodes><br>      <node uname="ip-10-180-224-134" id="4"><br>        <instance_attributes id="nodes-4"><br>          <nvpair id="nodes-4-STATE" value="Active" name="STATE"/><br>          <nvpair id="nodes-4-ROLE" value="AD" name="ROLE"/><br>          <nvpair id="nodes-4-Primary" value="True" name="Primary"/><br>        </instance_attributes><br>      </node><br>      <node uname="ip-10-183-39-69" id="5"><br>        <instance_attributes id="nodes-5"><br>          <nvpair id="nodes-5-STATE" value="Active" name="STATE"/><br>          <nvpair id="nodes-5-ROLE" value="AD" name="ROLE"/><br>          <nvpair id="nodes-5-Primary" value="True" name="Primary"/><br>        </instance_attributes><br>      </node><br>      <node uname="ip-10-13-191-168" id="3"><br>        <instance_attributes id="nodes-3"><br>          <nvpair id="nodes-3-STATE" value="Active" name="STATE"/><br>          <nvpair id="nodes-3-ROLE" value="AD" name="ROLE"/><br>          <nvpair id="nodes-3-Primary" value="True" name="Primary"/><br>        </instance_attributes><br>      </node><br>      <node uname="ip-10-180-227-53" id="2"><br>        <instance_attributes id="nodes-2"><br>          <nvpair id="nodes-2-STATE" value="Active" name="STATE"/><br>          <nvpair id="nodes-2-ROLE" value="AD" name="ROLE"/><br>          <nvpair id="nodes-2-Primary" value="True" name="Primary"/><br>        </instance_attributes><br>      </node><br>      <node uname="ip-10-182-69-89" id="1"><br>        <instance_attributes id="nodes-1"><br>          <nvpair id="nodes-1-STATE" value="Active" name="STATE"/><br>          <nvpair id="nodes-1-ROLE" value="AH" name="ROLE"/><br>          <nvpair id="nodes-1-Primary" value="True" name="Primary"/><br>        </instance_attributes><br>      </node><br>    </nodes><br><br><br><br></div>** Resource in question:<br>      <clone id="dbx_nfs_mounts_datas-clone"><br>        <primitive id="dbx_nfs_mounts_datas" type="<a href="http://dbx_mounts.ocf.sh">dbx_mounts.ocf.sh</a>" class="ocf" provider="dbxcl"><br>          <instance_attributes id="dbx_nfs_mounts_datas-instance_attributes"><br>             ...<br>          </instance_attributes><br>          <operations><br>             ...<br>          </operations><br>        </primitive><br>        <meta_attributes id="dbx_nfs_mounts_datas-meta_attributes"><br>          <nvpair name="target-role" value="Started" id="dbx_nfs_mounts_datas-meta_attributes-target-role"/><br>          <nvpair name="clone-max" value="4" id="dbx_nfs_mounts_datas-meta_attributes-clone-max"/><br>        </meta_attributes><br>      </clone><br><br><br><br></div>** Resource location<br clear="all"><div><div><div><div><div><div>      <rsc_location id="nodes_dbx_nfs_mounts_datas" rsc="dbx_nfs_mounts_datas"><br>        <rule score="INFINITY" id="on_nodes_dbx_nfs_mounts_datas-INFINITY" boolean-op="and"><br>          <expression attribute="STATE" operation="eq" type="string" id="on_nodes_dbx_nfs_mounts_datas-INFINITY-0-expr" value="Active"/><br>          <expression attribute="ROLE" operation="eq" type="string" id="on_nodes_dbx_nfs_mounts_datas-INFINITY-1-expr" value="AD"/><br>        </rule><br>        <rule score="-INFINITY" id="on_nodes_dbx_nfs_mounts_datas--INFINITY" boolean-op="or"><br>          <expression attribute="STATE" operation="ne" type="string" id="on_nodes_dbx_nfs_mounts_datas--INFINITY-0-expr" value="Active"/><br>          <expression attribute="ROLE" operation="ne" type="string" id="on_nodes_dbx_nfs_mounts_datas--INFINITY-1-expr" value="AD"/><br>        </rule><br>      </rsc_location><br><br><br><br></div><div>** Status on properly deployed node:<br>          <lrm_resource id="dbx_nfs_mounts_datas" type="<a href="http://dbx_mounts.ocf.sh">dbx_mounts.ocf.sh</a>" class="ocf" provider="dbxcl"><br>            <lrm_rsc_op id="dbx_nfs_mounts_datas_last_0" operation_key="dbx_nfs_mounts_datas_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="156:0:0:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd" transition-magic="0:0;156:0:0:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd" on_node="ip-10-180-227-53" call-id="85" rc-code="0" op-status="0" interval="0" last-run="1490720995" last-rc-change="1490720995" exec-time="733" queue-time="0" op-digest="e95785e3e2d043b0bda24c5bd4655317" op-force-restart="" op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/><br>            <lrm_rsc_op id="dbx_nfs_mounts_datas_monitor_137000" operation_key="dbx_nfs_mounts_datas_monitor_137000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="157:0:0:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd" transition-magic="0:0;157:0:0:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd" on_node="ip-10-180-227-53" call-id="86" rc-code="0" op-status="0" interval="137000" last-rc-change="1490720995" exec-time="172" queue-time="0" op-digest="a992d78564e6b3942742da0859d8c734"/><br>          </lrm_resource><br><br><br><br></div><div>** Status on not properly deployed node:<br>          <lrm_resource id="dbx_nfs_mounts_datas" type="<a href="http://dbx_mounts.ocf.sh">dbx_mounts.ocf.sh</a>" class="ocf" provider="dbxcl"><br>            <lrm_rsc_op id="dbx_nfs_mounts_datas_last_0" operation_key="dbx_nfs_mounts_datas_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="73:0:7:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd" transition-magic="0:7;73:0:7:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd" on_node="ip-10-183-39-69" call-id="39" rc-code="7" op-status="0" interval="0" last-run="1490720950" last-rc-change="1490720950" exec-time="172" queue-time="0" op-digest="e95785e3e2d043b0bda24c5bd4655317" op-force-restart="" op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/><br>          </lrm_resource><br><br><br><br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best Regards,<br><br>Radoslaw Garbacz<br></div>XtremeData Incorporated<br></div></div></div></div>
</div></div></div></div></div></div></div>