[ClusterLabs] Antw: Re: Thoughts on crm shell
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Thu Aug 22 09:24:53 EDT 2019
>>> Andrei Borzenkov <arvidjaar at gmail.com> schrieb am 22.08.2019 um 12:47 in
Nachricht <64e562db-3ece-3b4d-a793-896fcf0b38ac at gmail.com>:
> 22.08.2019 12:49, Ulrich Windl пишет:
>> Hi!
>>
>> It's been a while since I used crm shell, and now after having moved from
> SLES11 to SLES12 (jhaving to use it again), I realized a few things:
>>
>> 1) As the ptest command is crm_simulate now, shouldn't crm shell's ptest
(in
> configure) be accomanied by a "simulate" command as well (declaring "ptest"
> as obsolete)?
>>
>> 2) Some commands in the "resource" group actually manipulate the CIB
> "configuration" section (and not the "status"). So why aren't those in
> "configure", but in "resource"?
>
> My educated guess is that crmsh "resource" maps directly to
> "crm_resource" ...
+1, but there is no crm_configure ;-)
>
>> Excamples: "utilization", "param", etc.
>>
>
> ... and these is simply wrapper around crm_resource functionality.
>
>> The really bad thing is that crm shell insists on "commit" if you do an
"up"
> from "configure".
>>
>> Also "configure" collects changes until commit, while "resource" commits
> immediately. Maybe that could be a criteria whcih commands should be in
> "configure", and which should be in "resource".
>>
>
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/
More information about the Users
mailing list