<div dir="ltr"><div><div><div><div><div>hi,<br></div>i started<br></div> lsb:nfs-common<br></div> lsb:nfs-kernel-server<br></div> ocf:heartbeat:exportfs<br><br></div><div>everything running on Node0 (drbd:Master, clusterip,filesystem,..) <br>
nothing running on Node1 <br><br></div><div>crm_mon shows: <br> Failed actions:<br> p_nfscommon_monitor_0 (node=linag, call=189, rc=5, status=complete): not installed<br><br><br></div><div>'linag' is Node1 (drbd:Slave) <br>
</div><div><br></div><div>that cannot cleaned up :<br></div><div> crm_resource -P <br></div><div> crm_resource --cleanup --resource p_nfscommon <br><br></div><div>what can i do ?<br></div><div>thanks in advace<br>andreas<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/6 andreas graeper <span dir="ltr"><<a href="mailto:agraeper@googlemail.com" target="_blank">agraeper@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>hi, <br></div>in examples using crmsh to create a resource with constraints is an interactive mode is used<br><br></div>crm configure edit <br>
</div> > primitive B<br></div> > order B_after_A <br></div> > colocation B_on_A<br></div> > commit<br></div> > end <br></div> quit<br><br></div>when resource B depends on another resource A that is running once on Node0 <br>
</div><div>(or as master/slave on both nodes, as master on Node0, slave on Node1) <br>
</div>and i call<br></div>`crm configure primitive B ...`<br></div><div><br>will in first attempt (not necessarily) the new resource A started on Node1 till i define the constraints <br></div><div>`crm configure colocation c_B_on_A inf: B A`<br>
? <br><br></div><div>and is this the reason for a 'failed action' on Node1 <br></div><div>that can get cleaned up with `crm_resource -P` for instance ? <br></div><br></div>how can i achieve such a session-like creation of a resource with constraints <br>
</div>from out of a script ? ( i have prepared for each resource a s_xxx.sh and k_xxx.sh (start/kill) <br></div><div>to add and remove .. ) <br></div><div><br></div>thanks in advance <br><span class="HOEnZb"><font color="#888888">andreas <br>
</font></span></div>
</blockquote></div><br></div>