03.07.2013 00:16, Lars Marowsky-Bree wrote: > On 2013-07-03T00:11:53, Vladislav Bogdanov <[email protected]> wrote: > >> F.e. I need to do CIB update (think of it as of full replace), because I >> generate crmsh configuration with custom template-based system. And I >> have some RAs which set utilization attributes on nodes. > > The template system should insert the *diff*, not do a full replace, > obviously, when new resources are added or previous ones removed.
Yes. And I rely on crmsh to do that. With additional hooks for stale resource deletion. > > And transient load attributes also seem to suggest that you're doing a > whole lot of that. That's probably beyond what utilization was > originally spec'ed for (simplifying location constraints for a large > number of pretty similar resources, e.g., VMs). Can I ask what you're > doing? With utilization I just set node utilization attributes to what node X has right now. I'm free to replace hardware in a cluster, am I? And that way I always have utilization attributes consistent with real hardware, independently of CIB configuration I produce with my template framework. And I use utilization for what it was originally intended - for VMs. > > And what are you doing with tickets? ;-) Answered in another message. > > > Regards, > Lars > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
