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
[Linux-HA] updating cib without status attributes
Hello all, (running heartbeat-2.1.4-2.1 on Centos 5) In order to update my cluster, I always export the current running config (cibadmin -Q) and save it in svn for change management. I have hesitated from just modifying a portion of the configuration as I have always wanted the *full* last known good configuration in case the cluster has to be rebuilt. However, some of the running parameters that I don't really care to put into version control are also exported. In the past, I spent the time to *carefully* delete the entities and attributes that I didn't need and then modified the xml to support my new config. Is there a query/config dump setting that will dump the running config to the command line without the status attributes? 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
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