[Linux-HA] updating cib without status attributes
Dave Augustus
davea at support.kcm.org
Mon Jul 27 09:03:15 MDT 2009
On Mon, 2009-07-27 at 15:26 +0200, Dominik Klein wrote:
> Dave Augustus wrote:
> > On Mon, 2009-07-27 at 15:09 +0200, Dominik Klein wrote:
> >>> Is there a query/config dump setting that will dump the running config to the command line without the status attributes?
> >> cibadmin -Q -o configuration
> >
> > What a quick reply!
> >
> > However I get:
> >
> > Call cib_query failed (-48): Invalid CIB section specified
> >
>
> Might be quering "configuration" was only implemented later. Honestly no
> idea.
>
> You can try to compose the output of cibadmin -Q -o
> crm_config|resources|constraints to something usable for you.
>
looks like I have to run the command once for each type and then
concatenate the results.
Thanks for your help!
Dave
More information about the Linux-HA
mailing list