[Pacemaker] How to get current resource action

Andrew Beekhof andrew at beekhof.net
Tue Aug 6 04:43:49 UTC 2013


On 06/08/2013, at 2:41 PM, Andrew Beekhof <andrew at beekhof.net> wrote:

> 
> On 06/08/2013, at 12:38 PM, Mia Lueng <xiaozunvlg at gmail.com> wrote:
> 
>> Hi All:
>> Sometime a resource action takes long time and causes other resources' action  pending . How can I get the current resource action?
>> 
>> Suggestion: why not set an intermediate state like starting/stopping of a resource so that use can easily get what resource pacemaker is handling. 
> 
> We did have that functionality, but while looking up the name of the option to turn it on I discovered that its broken :(


My mistake, its still there.

To set it globally, you need something like:

    <op_defaults>
      <meta_attributes id="op-options">
        <nvpair id="op-options-record-pending" name="record-pending" value="true"/>
      </meta_attributes>
    </op_defaults>





More information about the Pacemaker mailing list