Re: [Linux-HA] updating cib without status attributes
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. That's sort of what I meant to say. Sorry for being unclear. Regards Dominik ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] updating cib without status attributes
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 ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] updating cib without status attributes
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 running heartbeat-2.1.4-2.1 Thanks! Dave ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] updating cib without status attributes
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. Regards Dominik ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] updating cib without status attributes
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 ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems