Re: [ClusterLabs] Antw: Re: crm shell: How to display properties?

2017-02-06 Thread Kristoffer Grönlund
Ulrich Windl  writes:

 xin  schrieb am 06.02.2017 um 10:50 in Nachricht
> <65fbbdf9-f820-63e7-fe02-1d1acefc5...@suse.com>:
>> Hi Ulrich:
>> 
>>"crm configure show" can display what you set for properties.
>> 
>>Do you find another way?
>
> Yes,, but it shows the while configuration. If your configuration is long, the
> output can be very long.
> What I'm talking about is:
> crm(live)configure# show property
> ERROR: object property does not exist
> crm(live)configure# show pe-error-series-max
> ERROR: object pe-error-series-max does not exist
>
> But I found out: This one works: "crm(live)configure# show
> cib-bootstrap-options".
>

You can also use

crm configure show type:property

If you follow the *-options naming convention, you can do

crm configure show \*options

Cheers,
Kristoffer

> Regards,
> Ulrich
>
>> 
>> 在 2017年02月06日 17:12, Ulrich Windl 写道:
>> Ken Gaillot  schrieb am 02.02.2017 um 21:19 in
> Nachricht
>>> :
>>>
>>> [...]
 The files are not necessary for cluster operation, so you can clean them
 as desired. The cluster can clean them for you based on cluster options;
 see pe-error-series-max, pe-warn-series-max, and pe-input-series-max:
>>> [...]
>>>
>>> Related question:
>>> in crm shell I can set properties in configure context ("property ..."),
> but 
>> how can I display them (except from looking at the end of a "show")?
>>>
>>> Regards,
>>> Ulrich
>>>
>>>
>>>
>>> ___
>>> Users mailing list: Users@clusterlabs.org 
>>> http://lists.clusterlabs.org/mailman/listinfo/users 
>>>
>>> Project Home: http://www.clusterlabs.org 
>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
>>> Bugs: http://bugs.clusterlabs.org 
>>>
>> 
>> 
>> ___
>> Users mailing list: Users@clusterlabs.org 
>> http://lists.clusterlabs.org/mailman/listinfo/users 
>> 
>> Project Home: http://www.clusterlabs.org 
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
>> Bugs: http://bugs.clusterlabs.org 
>
>
>
>
> ___
> Users mailing list: Users@clusterlabs.org
> http://lists.clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-- 
// Kristoffer Grönlund
// kgronl...@suse.com

___
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[ClusterLabs] Antw: Re: crm shell: How to display properties?

2017-02-06 Thread Ulrich Windl
>>> xin  schrieb am 06.02.2017 um 10:50 in Nachricht
<65fbbdf9-f820-63e7-fe02-1d1acefc5...@suse.com>:
> Hi Ulrich:
> 
>"crm configure show" can display what you set for properties.
> 
>Do you find another way?

Yes,, but it shows the while configuration. If your configuration is long, the
output can be very long.
What I'm talking about is:
crm(live)configure# show property
ERROR: object property does not exist
crm(live)configure# show pe-error-series-max
ERROR: object pe-error-series-max does not exist

But I found out: This one works: "crm(live)configure# show
cib-bootstrap-options".

Regards,
Ulrich

> 
> 在 2017年02月06日 17:12, Ulrich Windl 写道:
> Ken Gaillot  schrieb am 02.02.2017 um 21:19 in
Nachricht
>> :
>>
>> [...]
>>> The files are not necessary for cluster operation, so you can clean them
>>> as desired. The cluster can clean them for you based on cluster options;
>>> see pe-error-series-max, pe-warn-series-max, and pe-input-series-max:
>> [...]
>>
>> Related question:
>> in crm shell I can set properties in configure context ("property ..."),
but 
> how can I display them (except from looking at the end of a "show")?
>>
>> Regards,
>> Ulrich
>>
>>
>>
>> ___
>> Users mailing list: Users@clusterlabs.org 
>> http://lists.clusterlabs.org/mailman/listinfo/users 
>>
>> Project Home: http://www.clusterlabs.org 
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
>> Bugs: http://bugs.clusterlabs.org 
>>
> 
> 
> ___
> Users mailing list: Users@clusterlabs.org 
> http://lists.clusterlabs.org/mailman/listinfo/users 
> 
> Project Home: http://www.clusterlabs.org 
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
> Bugs: http://bugs.clusterlabs.org 




___
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org