<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 &quot;dbx_nfs_mounts_datas&quot; (which is a primitive of &quot;dbx_nfs_mounts_datas-clone&quot;) 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>    &lt;nodes&gt;<br>      &lt;node uname=&quot;ip-10-180-224-134&quot; id=&quot;4&quot;&gt;<br>        &lt;instance_attributes id=&quot;nodes-4&quot;&gt;<br>          &lt;nvpair id=&quot;nodes-4-STATE&quot; value=&quot;Active&quot; name=&quot;STATE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-4-ROLE&quot; value=&quot;AD&quot; name=&quot;ROLE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-4-Primary&quot; value=&quot;True&quot; name=&quot;Primary&quot;/&gt;<br>        &lt;/instance_attributes&gt;<br>      &lt;/node&gt;<br>      &lt;node uname=&quot;ip-10-183-39-69&quot; id=&quot;5&quot;&gt;<br>        &lt;instance_attributes id=&quot;nodes-5&quot;&gt;<br>          &lt;nvpair id=&quot;nodes-5-STATE&quot; value=&quot;Active&quot; name=&quot;STATE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-5-ROLE&quot; value=&quot;AD&quot; name=&quot;ROLE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-5-Primary&quot; value=&quot;True&quot; name=&quot;Primary&quot;/&gt;<br>        &lt;/instance_attributes&gt;<br>      &lt;/node&gt;<br>      &lt;node uname=&quot;ip-10-13-191-168&quot; id=&quot;3&quot;&gt;<br>        &lt;instance_attributes id=&quot;nodes-3&quot;&gt;<br>          &lt;nvpair id=&quot;nodes-3-STATE&quot; value=&quot;Active&quot; name=&quot;STATE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-3-ROLE&quot; value=&quot;AD&quot; name=&quot;ROLE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-3-Primary&quot; value=&quot;True&quot; name=&quot;Primary&quot;/&gt;<br>        &lt;/instance_attributes&gt;<br>      &lt;/node&gt;<br>      &lt;node uname=&quot;ip-10-180-227-53&quot; id=&quot;2&quot;&gt;<br>        &lt;instance_attributes id=&quot;nodes-2&quot;&gt;<br>          &lt;nvpair id=&quot;nodes-2-STATE&quot; value=&quot;Active&quot; name=&quot;STATE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-2-ROLE&quot; value=&quot;AD&quot; name=&quot;ROLE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-2-Primary&quot; value=&quot;True&quot; name=&quot;Primary&quot;/&gt;<br>        &lt;/instance_attributes&gt;<br>      &lt;/node&gt;<br>      &lt;node uname=&quot;ip-10-182-69-89&quot; id=&quot;1&quot;&gt;<br>        &lt;instance_attributes id=&quot;nodes-1&quot;&gt;<br>          &lt;nvpair id=&quot;nodes-1-STATE&quot; value=&quot;Active&quot; name=&quot;STATE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-1-ROLE&quot; value=&quot;AH&quot; name=&quot;ROLE&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-1-Primary&quot; value=&quot;True&quot; name=&quot;Primary&quot;/&gt;<br>        &lt;/instance_attributes&gt;<br>      &lt;/node&gt;<br>    &lt;/nodes&gt;<br><br><br><br></div>** Resource in question:<br>      &lt;clone id=&quot;dbx_nfs_mounts_datas-clone&quot;&gt;<br>        &lt;primitive id=&quot;dbx_nfs_mounts_datas&quot; type=&quot;<a href="http://dbx_mounts.ocf.sh">dbx_mounts.ocf.sh</a>&quot; class=&quot;ocf&quot; provider=&quot;dbxcl&quot;&gt;<br>          &lt;instance_attributes id=&quot;dbx_nfs_mounts_datas-instance_attributes&quot;&gt;<br>             ...<br>          &lt;/instance_attributes&gt;<br>          &lt;operations&gt;<br>             ...<br>          &lt;/operations&gt;<br>        &lt;/primitive&gt;<br>        &lt;meta_attributes id=&quot;dbx_nfs_mounts_datas-meta_attributes&quot;&gt;<br>          &lt;nvpair name=&quot;target-role&quot; value=&quot;Started&quot; id=&quot;dbx_nfs_mounts_datas-meta_attributes-target-role&quot;/&gt;<br>          &lt;nvpair name=&quot;clone-max&quot; value=&quot;4&quot; id=&quot;dbx_nfs_mounts_datas-meta_attributes-clone-max&quot;/&gt;<br>        &lt;/meta_attributes&gt;<br>      &lt;/clone&gt;<br><br><br><br></div>** Resource location<br clear="all"><div><div><div><div><div><div>      &lt;rsc_location id=&quot;nodes_dbx_nfs_mounts_datas&quot; rsc=&quot;dbx_nfs_mounts_datas&quot;&gt;<br>        &lt;rule score=&quot;INFINITY&quot; id=&quot;on_nodes_dbx_nfs_mounts_datas-INFINITY&quot; boolean-op=&quot;and&quot;&gt;<br>          &lt;expression attribute=&quot;STATE&quot; operation=&quot;eq&quot; type=&quot;string&quot; id=&quot;on_nodes_dbx_nfs_mounts_datas-INFINITY-0-expr&quot; value=&quot;Active&quot;/&gt;<br>          &lt;expression attribute=&quot;ROLE&quot; operation=&quot;eq&quot; type=&quot;string&quot; id=&quot;on_nodes_dbx_nfs_mounts_datas-INFINITY-1-expr&quot; value=&quot;AD&quot;/&gt;<br>        &lt;/rule&gt;<br>        &lt;rule score=&quot;-INFINITY&quot; id=&quot;on_nodes_dbx_nfs_mounts_datas--INFINITY&quot; boolean-op=&quot;or&quot;&gt;<br>          &lt;expression attribute=&quot;STATE&quot; operation=&quot;ne&quot; type=&quot;string&quot; id=&quot;on_nodes_dbx_nfs_mounts_datas--INFINITY-0-expr&quot; value=&quot;Active&quot;/&gt;<br>          &lt;expression attribute=&quot;ROLE&quot; operation=&quot;ne&quot; type=&quot;string&quot; id=&quot;on_nodes_dbx_nfs_mounts_datas--INFINITY-1-expr&quot; value=&quot;AD&quot;/&gt;<br>        &lt;/rule&gt;<br>      &lt;/rsc_location&gt;<br><br><br><br></div><div>** Status on properly deployed node:<br>          &lt;lrm_resource id=&quot;dbx_nfs_mounts_datas&quot; type=&quot;<a href="http://dbx_mounts.ocf.sh">dbx_mounts.ocf.sh</a>&quot; class=&quot;ocf&quot; provider=&quot;dbxcl&quot;&gt;<br>            &lt;lrm_rsc_op id=&quot;dbx_nfs_mounts_datas_last_0&quot; operation_key=&quot;dbx_nfs_mounts_datas_start_0&quot; operation=&quot;start&quot; crm-debug-origin=&quot;do_update_resource&quot; crm_feature_set=&quot;3.0.12&quot; transition-key=&quot;156:0:0:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd&quot; transition-magic=&quot;0:0;156:0:0:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd&quot; on_node=&quot;ip-10-180-227-53&quot; call-id=&quot;85&quot; rc-code=&quot;0&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1490720995&quot; last-rc-change=&quot;1490720995&quot; exec-time=&quot;733&quot; queue-time=&quot;0&quot; op-digest=&quot;e95785e3e2d043b0bda24c5bd4655317&quot; op-force-restart=&quot;&quot; op-restart-digest=&quot;f2317cad3d54cec5d7d7aa7d0bf35cf8&quot;/&gt;<br>            &lt;lrm_rsc_op id=&quot;dbx_nfs_mounts_datas_monitor_137000&quot; operation_key=&quot;dbx_nfs_mounts_datas_monitor_137000&quot; operation=&quot;monitor&quot; crm-debug-origin=&quot;do_update_resource&quot; crm_feature_set=&quot;3.0.12&quot; transition-key=&quot;157:0:0:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd&quot; transition-magic=&quot;0:0;157:0:0:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd&quot; on_node=&quot;ip-10-180-227-53&quot; call-id=&quot;86&quot; rc-code=&quot;0&quot; op-status=&quot;0&quot; interval=&quot;137000&quot; last-rc-change=&quot;1490720995&quot; exec-time=&quot;172&quot; queue-time=&quot;0&quot; op-digest=&quot;a992d78564e6b3942742da0859d8c734&quot;/&gt;<br>          &lt;/lrm_resource&gt;<br><br><br><br></div><div>** Status on not properly deployed node:<br>          &lt;lrm_resource id=&quot;dbx_nfs_mounts_datas&quot; type=&quot;<a href="http://dbx_mounts.ocf.sh">dbx_mounts.ocf.sh</a>&quot; class=&quot;ocf&quot; provider=&quot;dbxcl&quot;&gt;<br>            &lt;lrm_rsc_op id=&quot;dbx_nfs_mounts_datas_last_0&quot; operation_key=&quot;dbx_nfs_mounts_datas_monitor_0&quot; operation=&quot;monitor&quot; crm-debug-origin=&quot;do_update_resource&quot; crm_feature_set=&quot;3.0.12&quot; transition-key=&quot;73:0:7:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd&quot; transition-magic=&quot;0:7;73:0:7:d817e2a2-50fb-4462-bd6b-118d1d7b8ecd&quot; on_node=&quot;ip-10-183-39-69&quot; call-id=&quot;39&quot; rc-code=&quot;7&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1490720950&quot; last-rc-change=&quot;1490720950&quot; exec-time=&quot;172&quot; queue-time=&quot;0&quot; op-digest=&quot;e95785e3e2d043b0bda24c5bd4655317&quot; op-force-restart=&quot;&quot; op-restart-digest=&quot;f2317cad3d54cec5d7d7aa7d0bf35cf8&quot;/&gt;<br>          &lt;/lrm_resource&gt;<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>