[ClusterLabs] enhancement proposal for crm shell's configure command

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Aug 27 03:58:33 EDT 2018


Hi!

I realized that the current crm shell allows "show *something*" to show any configuration items (primitives, clones, constraints, etc.) with a name that matches.
However I'd like to select any items that _contain_ *something*. That could be relevant for constraints especially.
I'm not claiming that the origial behavior should be changed; instead I think of some additional option...

One use scenario is that you want to document a specific configuration, but it wil lalso be useful for editing the configuration.

For example "crm configure show *ston* may show a stonith resource, but it will not show the stonith-related properties (like "stonith-enabled").

The other feature I'd like to see is the ability to abbreviate commands, that is if TAB completion can complete the command uniquely, allow an abbreviation (like "sho" for "show"). I don't know how easy that is to implement.

Regards,
Ulrich




More information about the Users mailing list