[ClusterLabs] Antw: Re: Antw: [EXT] Re: Q: crm resource start/stop completion

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Dec 17 02:03:25 EST 2020


Hi!

Thanks, seems I have to wait until it comes out from the SUSE distillery ;-)

Regards,
Ulrich

>>> Xin Liang <XLiang at suse.com> schrieb am 16.12.2020 um 18:09 in Nachricht
<HE1PR04MB3209112CFF50E5B7B9F93259B0C50 at HE1PR04MB3209.eurprd04.prod.outlook.com>

> Hi Ulrich,
> 
> In https://github.com/ClusterLabs/crmsh/pull/273/files, the 4.2.0 definitely

> already included this change.
> 
> In my clean environment(0 resources configured cluster):
> 
>   1.  crm configure primitive d Dummy   (then resource d will started)
>   2.  crm resource stop<TAB><TAB> (or <one space><TAB> after stop, then you
will 
> find d completed)
>   3.  crm resource start<TAB><TAB> (or <one space><TAB> after start, then
you got d 
> completed)
> 
> ________________________________
> From: Users <users-bounces at clusterlabs.org> on behalf of Ulrich Windl 
> <Ulrich.Windl at rz.uni-regensburg.de>
> Sent: Wednesday, December 16, 2020 5:57 PM
> To: users at clusterlabs.org <users at clusterlabs.org>
> Subject: [ClusterLabs] Antw: [EXT] Re: Q: crm resource start/stop
completion
> 
>>>> Xin Liang <XLiang at suse.com> schrieb am 15.12.2020 um 03:55 in Nachricht
>
<HE1PR04MB3209C9F526ECB88178E8B222B0C60 at HE1PR04MB3209.eurprd04.prod.outlook.c

>om>
> 
>> Hi Ulrich,
>>
>> crmsh already could do this completion:)
> 
> Hi!
> 
> Since when? Mine (crmsh-4.2.0+git.1604052559.2a348644-5.26.1.noarch) seems
> unable: When I use "crm(live/h16)resource# start " and press TAB, I see
> resources that are running already. May be that they don't have a 
> target-role
> (so they are started by default).
> 
> Can you confirm?
> 
> Regards,
> Ulrich
> 
>>
>> Regards,
>> Xin
>> ________________________________
>> From: Users <users‑bounces at clusterlabs.org> on behalf of Ulrich Windl
>> <Ulrich.Windl at rz.uni‑regensburg.de>
>> Sent: Monday, December 14, 2020 6:51 PM
>> To: users at clusterlabs.org <users at clusterlabs.org>
>> Subject: [ClusterLabs] Q: crm resource start/stop completion
>>
>> Hi!
>>
>> I wonder: Would it be difficult and would it make sense to change crm
shell
> 
>> to:
>> Complete "resource start " with only those resources that aren't running
>> (per role) already
>> Complete "resource stopt " with only those resources that are running (per
>> role)
>>
>> I came to this after seeing "3 disabled resources" in crm_mon output. As
>> crm_mon itself cannot display just those disabled resources (yet? ;‑)), I
> used
>> crm shell...
>>
>> Regards,
>> Ulrich
>>
>>
>>
>> _______________________________________________
>> Manage your subscription:
>> https://lists.clusterlabs.org/mailman/listinfo/users 
>>
>> ClusterLabs home: https://www.clusterlabs.org/ 
> 
> 
> 
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users 
> 
> ClusterLabs home: https://www.clusterlabs.org/ 





More information about the Users mailing list