<div dir="ltr"><div>Hi folks,</div><div><br></div><div>I am looking for a good way of checking if a resource is in "starting" state.</div><div>The thing is - I need to issue a command and I don't want to issue that command when this particular resource is starting. This resource start can take up to a few min. </div><div>As a note, I am OK with issuing that command if a resource is stopped (before it starts).</div><div><br></div><div>The best I can think of, is to check for an ongoing state transition of a resource in a loop with "crm_simulate -Ls" command.</div><div>But with this approach I need to put the command into a loop, cut "Transition Summary" part, and then grep for the needed resource.</div><div>And even that I have a question if this way is reliable?</div><div><br></div><div>Maybe be there is a better way of achieving the same result.  </div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Thank you,<div>Kostia</div></div></div></div></div></div>
</div>