[Linux-HA] Problem to start hbagent

Lienard Anne (SII) Anne.Lienard at thomson.net
Fri Jul 4 00:50:37 MDT 2008


It is exactly my problem... I would like to know if there is a way to compile snmp-subagent to allow hbagent to connect to heartbeat v1 (when option crm is set to off). I tried the option --enable-crm=no, but I have errors when hbagent is compiled in that way.
There is however two programs hbagent.c and hbagentv2.c in source package...
Maybe I should ask in linux-ha-dev mailing list?

Anne

-----Message d'origine-----
De : linux-ha-bounces at lists.linux-ha.org [mailto:linux-ha-bounces at lists.linux-ha.org] De la part de Ryan Thomson
Envoyé : jeudi 3 juillet 2008 23:08
À : General Linux-HA mailing list
Objet : Re: [Linux-HA] Problem to start hbagent

Michael Schwartzkopff wrote:
> Lienard Anne (SII) schrieb:
>> Sorry to keep you going on that subject... 
>>
>> Is hbagent compatible with Linux-HA in v1-style?
>>
>>  
>>
>> Thank you for your answer.
>> Anne
> 
> Hi,
> 
> hbagent is a SUBagent, that connects to the local AgentX socket. All
> SNMP communications (v1, v3) is done by the Master Agent, which is
> net-snmp. So your question should be:
> 
> Is net-snmp v1 capable?
> 
> To answer is: YES!
> 
> Michael.

I believe Lienard was referring to Heartbeat v1, not SNMP v1.

While I don't have the answer, his problem was that starting up hbagent in his v1-style cluster fails because it tries to connect to the CIB and since it's a v1 haresources cluster, it obviously can't connect to the non-existent CIB and dies instead.

--Ryan

_______________________________________________
Linux-HA mailing list
Linux-HA at lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


More information about the Linux-HA mailing list