[ClusterLabs] Antw: [EXT] Re: Parsing the output of crm_mon

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Mar 18 07:25:15 EDT 2022


>>> Reid Wahl <nwahl at redhat.com> schrieb am 18.03.2022 um 10:02 in Nachricht
<CAPiuu9-K2TRpCgksND2zEP8bCWi9=TzPhFVzk_RCNzm5aVONzw at mail.gmail.com>:
> On Fri, Mar 18, 2022 at 12:47 AM Ulrich Windl
> <Ulrich.Windl at rz.uni‑regensburg.de> wrote:
>>
>> Hi!
>>
>> Parsing the output of crm_mon I wonder:
>> Is there a collection of sample outputs for pacemaker 1 and 2 formats 
> showing all types of resources?
>>
>> Also I realized that the coutput for clone sets in unfortunate:
>> Consider a normal primitive like this:
>>   * primitive_name    (ocf::heartbeat:agent_name):  Started host‑name
>> And a clone set:
>>   * Clone Set: clone_name [primitive_name]:
>>
>> If you want to filter clone sets by resource agent you're lost there.
>> It would have been nicht if the format of clone sets were:
>>   * Clone Set: clone_name [primitive_name] (ocf::heartbeat:agent_name):
>>
>> I see that there's the "‑R" option that "expands" the clones similar as 
> resource groups like this:
>>     * primitive_name     (ocf::heartbeat:agent):    Started host‑name
> 
> What exactly are you asking for that "‑R" ("‑‑show‑detail") doesn't
provide?

Actually I found it out, but still it's a bit tricky to parse as clone
instance.
(The only difference from plain resources is the indent)

Regards,
Ulrich


> 
>> Regards,
>> Ulrich
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Manage your subscription:
>> https://lists.clusterlabs.org/mailman/listinfo/users 
>>
>> ClusterLabs home: https://www.clusterlabs.org/ 
>>
> 
> 
> ‑‑ 
> Regards,
> 
> Reid Wahl (He/Him), RHCA
> Senior Software Maintenance Engineer, Red Hat
> CEE ‑ Platform Support Delivery ‑ ClusterHA
> 
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users 
> 
> ClusterLabs home: https://www.clusterlabs.org/ 





More information about the Users mailing list