Re: [Linux-HA] Antw: Re: Q: "cib-last-written"
On 2011-12-01T13:48:56, Ulrich Windl wrote: > I wonder about that usefulness of that value, especially as any configuration > change seems to increase the epoch anyway. I never saw that CRM cares about > the cib-last-written string. It is for easy inspection by admins and for display by UIs. Regards, Lars -- Architect Storage/HA SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) "Experience is the name everyone gives to their mistakes." -- Oscar Wilde ___ 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] Antw: Re: Q: "cib-last-written"
>>> Tim Serong schrieb am 01.12.2011 um 10:19 in Nachricht <4ed74691.9000...@suse.com>: > On 12/01/2011 09:10 AM, Ulrich Windl wrote: > "Gao,Yan" schrieb am 01.12.2011 um 06:55 in Nachricht > > <4ed716be.9090...@suse.com>: > >> Hi, > >> > >> On 11/30/11 21:35, Ulrich Windl wrote: > >>> Hi! > >>> > >>> Simple question: when is the attribute "cib-last-written" in XML's "cib" > >> element updated? > >> When "//cib/configuration" is changed. > > > > So why isn't that an attribute of then? > > From: > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/c > h-cluster-options.html > > "The reason for these fields to be placed at the top level instead of > with the rest of cluster options is simply a matter of parsing. These > options are used by the configuration database which is, by design, > mostly ignorant of the content it holds. So the decision was made to > place them in an easy to find location." Hi! I wonder about that usefulness of that value, especially as any configuration change seems to increase the epoch anyway. I never saw that CRM cares about the cib-last-written string. When talking about "easy to find locations", it was a mistake to use XML anyway ;-) Regards, Ulrich ___ 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] Antw: Re: Q: "cib-last-written"
On 12/01/2011 09:10 AM, Ulrich Windl wrote: "Gao,Yan" schrieb am 01.12.2011 um 06:55 in Nachricht > <4ed716be.9090...@suse.com>: >> Hi, >> >> On 11/30/11 21:35, Ulrich Windl wrote: >>> Hi! >>> >>> Simple question: when is the attribute "cib-last-written" in XML's "cib" >> element updated? >> When "//cib/configuration" is changed. > > So why isn't that an attribute of then? From: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch-cluster-options.html "The reason for these fields to be placed at the top level instead of with the rest of cluster options is simply a matter of parsing. These options are used by the configuration database which is, by design, mostly ignorant of the content it holds. So the decision was made to place them in an easy to find location." Regards, Tim -- Tim Serong Senior Clustering Engineer SUSE tser...@suse.com ___ 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] Antw: Re: Q: "cib-last-written"
On 12/01/11 16:10, Ulrich Windl wrote: "Gao,Yan" schrieb am 01.12.2011 um 06:55 in Nachricht > <4ed716be.9090...@suse.com>: >> Hi, >> >> On 11/30/11 21:35, Ulrich Windl wrote: >>> Hi! >>> >>> Simple question: when is the attribute "cib-last-written" in XML's "cib" >> element updated? >> When "//cib/configuration" is changed. > > So why isn't that an attribute of then? Actually besides that, changes on some attributes of will trigger to update "cib-last-written" too, such as "validate-with". Regards, Gaoyan -- Gao,Yan Software Engineer China Server Team, SUSE. ___ 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] Antw: Re: Q: "cib-last-written"
>>> "Gao,Yan" schrieb am 01.12.2011 um 06:55 in Nachricht <4ed716be.9090...@suse.com>: > Hi, > > On 11/30/11 21:35, Ulrich Windl wrote: > > Hi! > > > > Simple question: when is the attribute "cib-last-written" in XML's "cib" > element updated? > When "//cib/configuration" is changed. So why isn't that an attribute of then? > > > > > I have a CIB that was changed (new epoch) today, but the "cib-last-written" > is "Thu Sep 29 08:24:01 2011" > > > > Regards, > > Ulrich > > > > > > ___ > > 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 > > > > > > Regards, > Gaoyan ___ 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