Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

SNMP Subagent in OpenAIS

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


misch at multinet

Jul 6, 2009, 7:06 AM

Post #1 of 8 (681 views)
Permalink
SNMP Subagent in OpenAIS

Hi,

anybody gained already some experience using the heartbeat snmp subagent in an
openais enviroment? any problems?

Thanks,
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch [at] multinet
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht M黱chen HRB 114375
Gesch鋐tsf黨rer: G黱ter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


misch at multinet

Jul 6, 2009, 7:14 AM

Post #2 of 8 (631 views)
Permalink
Re: SNMP Subagent in OpenAIS [In reply to]

Am Montag, 6. Juli 2009 16:06:55 schrieb Michael Schwartzkopff:
> Hi,
>
> anybody gained already some experience using the heartbeat snmp subagent in
> an openais enviroment? any problems?
>
> Thanks,


Ok. Found the answer myself:
# /usr/lib/heartbeat/hbagent -d
lha-snmpagent[1218]: 2009/07/06_16:11:41 debug: PID=1218
lha-snmpagent[1218]: 2009/07/06_16:11:41 debug: Signing in with heartbeat
lha-snmpagent[1218]: 2009/07/06_16:11:41 ERROR: Cannot sign on with heartbeat
lha-snmpagent[1218]: 2009/07/06_16:11:41 ERROR: REASON: hb_api_signon: Can't
initiate connection to heartbeat

:-(

--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch [at] multinet
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht M黱chen HRB 114375
Gesch鋐tsf黨rer: G黱ter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


ygao at novell

Jul 6, 2009, 9:28 PM

Post #3 of 8 (621 views)
Permalink
Re: SNMP Subagent in OpenAIS [In reply to]

On Mon, 2009-07-06 at 16:14 +0200, Michael Schwartzkopff wrote:
> Am Montag, 6. Juli 2009 16:06:55 schrieb Michael Schwartzkopff:
> > Hi,
> >
> > anybody gained already some experience using the heartbeat snmp subagent in
> > an openais enviroment? any problems?
> >
> > Thanks,
>
>
> Ok. Found the answer myself:
> # /usr/lib/heartbeat/hbagent -d
Before start it:
# export HA_cluster_type="openais"

> lha-snmpagent[1218]: 2009/07/06_16:11:41 debug: PID=1218
> lha-snmpagent[1218]: 2009/07/06_16:11:41 debug: Signing in with heartbeat
> lha-snmpagent[1218]: 2009/07/06_16:11:41 ERROR: Cannot sign on with heartbeat
> lha-snmpagent[1218]: 2009/07/06_16:11:41 ERROR: REASON: hb_api_signon: Can't
> initiate connection to heartbeat
>
> :-(
>
--
Regards,
Yan Gao
China R&D Software Engineer
ygao [at] novell

Novell, Inc.
Making IT Work As One™

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


ikedaj at intellilink

Jul 7, 2009, 1:10 AM

Post #4 of 8 (613 views)
Permalink
Re: SNMP Subagent in OpenAIS [In reply to]

Hi,

> On Mon, 2009-07-06 at 16:14 +0200, Michael Schwartzkopff wrote:
>> Am Montag, 6. Juli 2009 16:06:55 schrieb Michael Schwartzkopff:
>> > Hi,
>> >
>> > anybody gained already some experience using the heartbeat snmp subagent in
>> > an openais enviroment? any problems?
>> >
>> > Thanks,
>>
>>
>> Ok. Found the answer myself:
>> # /usr/lib/heartbeat/hbagent -d
> Before start it:
> # export HA_cluster_type="openais"

I am trying this,
and SNMP manager can get some information from hbagent successfully.
By the way, it seems that hbagent doesn't use "LINUX-HA-MIB.mib".
Is pacemaker-mgmt's hbagent different from heartbeat's one?


Thanks,
Junko




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


misch at multinet

Jul 7, 2009, 1:18 AM

Post #5 of 8 (613 views)
Permalink
Re: SNMP Subagent in OpenAIS [In reply to]

Am Dienstag, 7. Juli 2009 10:10:09 schrieb Junko IKEDA:
> Hi,
>
> > On Mon, 2009-07-06 at 16:14 +0200, Michael Schwartzkopff wrote:
> >> Am Montag, 6. Juli 2009 16:06:55 schrieb Michael Schwartzkopff:
> >> > Hi,
> >> >
> >> > anybody gained already some experience using the heartbeat snmp
> >> > subagent in an openais enviroment? any problems?
> >> >
> >> > Thanks,
> >>
> >> Ok. Found the answer myself:
> >> # /usr/lib/heartbeat/hbagent -d
> >
> > Before start it:
> > # export HA_cluster_type="openais"
>
> I am trying this,
> and SNMP manager can get some information from hbagent successfully.
> By the way, it seems that hbagent doesn't use "LINUX-HA-MIB.mib".
> Is pacemaker-mgmt's hbagent different from heartbeat's one?
>
>
> Thanks,
> Junko

I got a hint. You have to set an env variable accodingly:

# export HA_cluster_type=openais

Then you can start the subagent. MIB should be the same.

Greetings,

--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch [at] multinet
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht M黱chen HRB 114375
Gesch鋐tsf黨rer: G黱ter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


misch at multinet

Jul 7, 2009, 1:23 AM

Post #6 of 8 (614 views)
Permalink
Re: SNMP Subagent in OpenAIS [In reply to]

Am Dienstag, 7. Juli 2009 10:10:09 schrieb Junko IKEDA:
> Hi,
>
> > On Mon, 2009-07-06 at 16:14 +0200, Michael Schwartzkopff wrote:
> >> Am Montag, 6. Juli 2009 16:06:55 schrieb Michael Schwartzkopff:
> >> > Hi,
> >> >
> >> > anybody gained already some experience using the heartbeat snmp
> >> > subagent in an openais enviroment? any problems?
> >> >
> >> > Thanks,
> >>
> >> Ok. Found the answer myself:
> >> # /usr/lib/heartbeat/hbagent -d
> >
> > Before start it:
> > # export HA_cluster_type="openais"
>
> I am trying this,
> and SNMP manager can get some information from hbagent successfully.
> By the way, it seems that hbagent doesn't use "LINUX-HA-MIB.mib".
> Is pacemaker-mgmt's hbagent different from heartbeat's one?
>
>
> Thanks,
> Junko

hi,

Just checked it. You only get the LHAResourceTable. At least in my 1-node
testcluster I do not get any other information.

Greetings,


--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch [at] multinet
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht M黱chen HRB 114375
Gesch鋐tsf黨rer: G黱ter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


ikedaj at intellilink

Jul 7, 2009, 1:43 AM

Post #7 of 8 (612 views)
Permalink
Re: SNMP Subagent in OpenAIS [In reply to]

On Tue, 07 Jul 2009 17:23:41 +0900, Michael Schwartzkopff <misch [at] multinet> wrote:

> Am Dienstag, 7. Juli 2009 10:10:09 schrieb Junko IKEDA:
>> Hi,
>>
>> > On Mon, 2009-07-06 at 16:14 +0200, Michael Schwartzkopff wrote:
>> >> Am Montag, 6. Juli 2009 16:06:55 schrieb Michael Schwartzkopff:
>> >> > Hi,
>> >> >
>> >> > anybody gained already some experience using the heartbeat snmp
>> >> > subagent in an openais enviroment? any problems?
>> >> >
>> >> > Thanks,
>> >>
>> >> Ok. Found the answer myself:
>> >> # /usr/lib/heartbeat/hbagent -d
>> >
>> > Before start it:
>> > # export HA_cluster_type="openais"
>>
>> I am trying this,
>> and SNMP manager can get some information from hbagent successfully.
>> By the way, it seems that hbagent doesn't use "LINUX-HA-MIB.mib".
>> Is pacemaker-mgmt's hbagent different from heartbeat's one?
>>
>>
>> Thanks,
>> Junko
>
> hi,
>
> Just checked it. You only get the LHAResourceTable. At least in my 1-node
> testcluster I do not get any other information.
>
> Greetings,

I tried to renamed LINUX-HA-MIB.mib to LINUX-HA-MIB.txt,
but I got the same result...
There were no message related to LINUX-HA-MIB.
I think pacemaker-mgmt's hbagent has almost the same function as heartbeat's.

Thanks,
Junko

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


ygao at novell

Jul 7, 2009, 2:50 AM

Post #8 of 8 (612 views)
Permalink
Re: SNMP Subagent in OpenAIS [In reply to]

On Tue, 2009-07-07 at 17:43 +0900, Junko IKEDA wrote:
> On Tue, 07 Jul 2009 17:23:41 +0900, Michael Schwartzkopff <misch [at] multinet> wrote:
>
> > Am Dienstag, 7. Juli 2009 10:10:09 schrieb Junko IKEDA:
> >> Hi,
> >>
> >> > On Mon, 2009-07-06 at 16:14 +0200, Michael Schwartzkopff wrote:
> >> >> Am Montag, 6. Juli 2009 16:06:55 schrieb Michael Schwartzkopff:
> >> >> > Hi,
> >> >> >
> >> >> > anybody gained already some experience using the heartbeat snmp
> >> >> > subagent in an openais enviroment? any problems?
> >> >> >
> >> >> > Thanks,
> >> >>
> >> >> Ok. Found the answer myself:
> >> >> # /usr/lib/heartbeat/hbagent -d
> >> >
> >> > Before start it:
> >> > # export HA_cluster_type="openais"
> >>
> >> I am trying this,
> >> and SNMP manager can get some information from hbagent successfully.
> >> By the way, it seems that hbagent doesn't use "LINUX-HA-MIB.mib".
> >> Is pacemaker-mgmt's hbagent different from heartbeat's one?
> >>
> >>
> >> Thanks,
> >> Junko
> >
> > hi,
> >
> > Just checked it. You only get the LHAResourceTable. At least in my 1-node
> > testcluster I do not get any other information.
> >
> > Greetings,
>
> I tried to renamed LINUX-HA-MIB.mib to LINUX-HA-MIB.txt,
> but I got the same result...
> There were no message related to LINUX-HA-MIB.
> I think pacemaker-mgmt's hbagent has almost the same function as heartbeat's.
The MIBs are exactly same. The hbagent from pacemaker-mgmt has no
difference when working with heartbeat based cluster stack.
Besides that,it's able to work with openAIS based cluster, though
there's two limits:
1. We have to manually start it
2. There's only LHARsourceTable, as Michael mentioned. Because the other
information were previously got from heartbeat daemon, and they're only
available for heartbeat based cluster.

--
Regards,
Yan Gao
China R&D Software Engineer
ygao [at] novell

Novell, Inc.
Making IT Work As One™

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

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.