On Fri, Jul 21, 2006 at 07:57:06PM +0200, Infomaniak Network SA / Guy Baconniere wrote: > Hi, > > I want to use snmp_subagent on Heartbeat 2.0.6 without > using CRM v2-style configuration. I don't like the complexity > of CRM daemons and CIB XML configuration so I have disabled > CRM support with configure options but CRM binaries still > compiled ??? --disabled-crm or --enable-crm=no same effect.. > > I want to use v1-style configuration but use hbagent anyway. > After some research I have found a post from Horms with > a patch from Takahiro Kurosawa. I have ported this patch > to Heartbeat 2.0.6 stable version. > http://lists.community.tummy.com/pipermail/linux-ha-dev/2005-August/011441.html > > Could you include the patch in attachment in your next release or > put in the contrib directory of your archive ?
That seems find in principle to me. I don't have time to review the forward-port right now, but I should be able to get to it once I get back from traveling. Of course, that is unless someone else beats me to it. > hbagent have some trouble accessing > "/opt/heartbeat/lib/hearbeat/ResourceManager" > Check grep -rn 'HA_LIBDIR"/heartbeat' *; grep -rn 'HALIB "/heartbeat' *; > grep -rn 'ResourceManager ' * > > # So what is the right path ? > sprintf(getcmd, HALIB "/ResourceManager status %s", resource); > sprintf(getcmd, HALIB "/heartbeat/ResourceManager status %s", resource); > sprintf(getcmd, HA_LIBDIR "/heartbeat/ResourceManager status %s", resource); That sounds like it is ripe for a cleanup patch. I suspect that part of the problem is that HALIB may not be defined consistently, or named consistently for that matter, HA_LIBDIR is probably supposed to be the same thing. -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
