Hello,<br><br>I have cluster with 2 nodes with multiple Master/slave resources.<br>The ordering of resources on the master node is achieved using order option of crm. When standby node started, the processes are started one after the another. <br>
Following is the configuration info:<br>p<b><span style="color:rgb(51,102,255)">rimitive ClusterIP ocf:mcg:MCG_VIPaddr_RA \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">
params ip="192.168.113.67" cidr_netmask="255.255.255.0" nic="eth0:1" \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)"> op monitor interval="40" timeout="20"</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">primitive Rmgr ocf:mcg:RM_RA \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)"> op monitor interval="60" role="Master" timeout="30" on-fail="restart" \</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">
op monitor interval="40" role="Slave" timeout="40" on-fail="restart"</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">primitive Tmgr ocf:mcg:TM_RA \</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)"> op monitor interval="60" role="Master" timeout="30" on-fail="restart" \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">
op monitor interval="40" role="Slave" timeout="40" on-fail="restart"</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">primitive pimd ocf:mcg:PIMD_RA \</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)"> op monitor interval="60" role="Master" timeout="30" on-fail="restart" \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">
op monitor interval="40" role="Slave" timeout="40" on-fail="restart"</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">ms ms_Rmgr Rmgr \</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)"> meta master-max="1" master-max-node="1" clone-max="2" clone-node-max="1" notify="true"</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">
ms ms_Tmgr Tmgr \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)"> meta master-max="1" master-max-node="1" clone-max="2" clone-node-max="1" notify="true"</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">ms ms_pimd pimd \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)"> meta master-max="1" master-max-node="1" clone-max="2" clone-node-max="1" notify="true"</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">
colocation ip_with_Rmgr inf: ClusterIP ms_Rmgr:Master</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">colocation ip_with_Tmgr inf: ClusterIP ms_Tmgr:Master</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">colocation ip_with_pimd inf: ClusterIP ms_pimd:Master</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">order TM-after-RM inf: ms_Rmgr:promote ms_Tmgr:start</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">
order ip-after-pimd inf: ms_pimd:promote ClusterIP:start</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">order pimd-after-TM inf: ms_Tmgr:promote ms_pimd:start</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">property $id="cib-bootstrap-options" \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)"> dc-version="1.0.11-</span></b><b><span style="color:rgb(51,102,255)">db98485d06ed3fe0fe236509f023e1</span></b><b><span style="color:rgb(51,102,255)">bd4a5566f1" \</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)">
cluster-infrastructure="</span></b><b><span style="color:rgb(51,102,255)">Heartbeat" \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)"> no-quorum-policy="ignore" \</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)"> stonith-enabled="false"</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">rsc_defaults $id="rsc-options" \</span><br style="color:rgb(51,102,255)">
<span style="color:rgb(51,102,255)"> migration_threshold="3" \</span><br style="color:rgb(51,102,255)"><span style="color:rgb(51,102,255)">
resource-stickiness="100"<br><br></span></b>I have a system requirement in which start of resource (e.g. pimd) is dependent on successful start of another resource (e.g. Tmgr) <br>Everything run smoothly on the master node. This is due to <b>ordering and few seconds delay</b> untill a resource is promoted as Master.<br>
But on the standby node since the resources are started one after the another without any delay , Standby node in the cluster behaves erratically<br><br>Is there a way, through which I can serialize/control resource start up on the standby node.<br>
<br>Thanks and regards<br>Neha Chatrath <br>