On Tue, Apr 01, 2008 at 04:39:04PM +0200, Lars Marowsky-Bree wrote: > On 2008-03-31T11:44:26, Simon Horman <[EMAIL PROTECTED]> wrote: > > > > The only way I can currently think of is to create yet another > > > package which would contain stuff which depends on both heartbeat > > > and CRM. Which is quite ugly as it serves only to resolve the > > > build interdependency. > > > > It might be ugly, but it sounds to me that it accurately reflects > > the position of snmp_subagent. That is that it needs stuff > > from both heartbeat and CRM. > > The alternative which I favor is to split the SNMP agents into two, one > which deals with heartbeat (the cluster infrastructure) and one which > interfaces with Pacemaker. > > That makes perfect sense, as the Pacemaker agent is useful even when the > cluster infrastructure is swapped out for something else, say, openAIS. > ;-) > > And it is reasonable to expect that openAIS will expose slightly > different data than the heartbeat infrastructure does.
That also sounds reasonable to me, though I wonder how much of the snmp_subagent code would end up being duplicated. If its a lot then I think that it might be worth going with Dejan's idea. -- Horms _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
