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

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed Dec 16 04:57:23 EST 2020


>>> Xin Liang <XLiang at suse.com> schrieb am 15.12.2020 um 03:55 in Nachricht
<HE1PR04MB3209C9F526ECB88178E8B222B0C60 at HE1PR04MB3209.eurprd04.prod.outlook.com>

> 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/ 





More information about the Users mailing list