On 2013-06-15T08:26:33, Andrew Beekhof <and...@beekhof.net> wrote: > > (I'm not sure I get the second point. Even the "old" cluster-glue > > scripts were executable from the commandline?) > The RH ones are executable directly, not relying on separate command line > utils.
Well, you can call the cluster-glue ones directly too; at least the "external" scripts, which by now seem to be all of those that really matter ;-) > > Over the years, that has eroded more and more; nowadays, a lot of that > > stuff no longer makes any sense. > Yep. I know why things work that way, but reality got in the way :) Yes, that tends to suck. My life would be much better if better insulated against reality! (And a previous obsession with run-time-loadable C plugins with silly interfaces. Turns out C really sucks for interfacing with text-based interfaces, surprise. And then they needed memory *anyway* for their network calls and external programs ...) > > Yes, I think the RH APIs might be better. I'm planning on adding a > > fence_sbd wrapper for example, and wondering how much code pacemaker > > could save if the cluster-glue ones were dropped? > Code in Pacemaker? Not much, just fence_legacy I think. Sad, I was hoping it'd help simplify interfaces somewhere. But there's still the gain of not maintaining certain modules twice, getting access to those that are in the other, and a reduced admin/user story. So I hope it's going to be worth it anyway. > > (I'm assuming that fence-agents has most devices too; or that the agents > > could be changed to conform with that interface.) > I think most devices are covered. Here is the install list (there may be > more that we don't ship): Yeah, another thing I like about fence-agents as shown there is how they are broken out into sub-packages, so one doesn't pull in all those dependencies in one go. 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 _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org