Hi,
 
   Since openSAF doesn't use IP for communication( uses TIPC which runs over 
raw ethernet), it
 doesn't use/track the IP adresses so it doesn't have the info with it. So the 
MIB is also not there.
 
 
Regards
Sugadeesh

________________________________

From: [EMAIL PROTECTED] on behalf of Bishop, Michael (OSLO R&D)
Sent: Sat 03-Nov-2007 1:44 AM
To: Mathivanan Np-G19859; Petersen Scott-P27052; [email protected]
Subject: Re: [Users] Need help with snmpwalk



Mathi, Scott -

Thanks very much for your help.  I've got SNMP working properly now on my 
cluster, and I can query the SAF snmp variables.

I have another question though:

Is it possible thru snmp queries on the active controller to get the Unix 
hostnames and IP addresses for each node participating in the SAF cluster?

I'd like to get something like this:

Item                 Hostname            IP Address
---------------------------------------------------
Controller (active)  saf1-1              10.100.100.1
Controller (standby) saf1-2              10.100.100.2
Payload              saf1-3              10.100.100.3
Payload              saf1-4              10.100.100.4

If not thru SNMP, then is there some other way to get this information?

I've dumped out all of the SNMP data that OpenSAF knows about - and none of it 
includes the node hostnames or IP addresses - as far as I can tell.

Thanks again for listening.

Regards,
Michael Bishop
Open Source & Linux Organization (OSLO)
Hewlett-Packard Company
3404 E. Harmony Rd.  Bldg. 5L, Post C8,  Mailstop 42
Fort Collins, CO  80528-9599
Phone: 970-898-4393
E-Mail: [EMAIL PROTECTED]



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Mathivanan Np-G19859
> Sent: Thursday, November 01, 2007 11:58 PM
> To: [email protected]
> Subject: Re: [Users] Need help with snmpwalk
>
>
> To add on to scott's response,
>
> You could also try using the -m option to get a more readable
> output of
> your MIB walks.
> i.e.
> snmpwalk -v2c -c public localhost -m /usr/share/snmp/mibs/SAF-AMF-MIB
> saAmfObjects
>
> (I guess the "snmpd -x tcp:localhost:705" way of starting master agent
> got necessitated around net-snmp 5.4,
>  while "snmpd -x 705" was enough during net-snmp 5.2*)
>
>
> - Mathivanan.
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Petersen
> > Scott-P27052
> > Sent: Friday, November 02, 2007 3:57 AM
> > To: Bishop, Michael (OSLO R&D); [email protected]
> > Subject: Re: [Users] Need help with snmpwalk
> >
> >
> >  Hi Michael,
> >
> > Try running snmpd as follows:
> >
> >       snmpd -x tcp:705 -I interfaces -c /usr/share/snmp/snmpd.conf
> >
> > That will make it listen for tcp connections which is what is
> > specified in ncsSnmpSubagt.conf
> >
> > When you have run it as above and then restarted your
> > payload(s) you should be able to run the following command to
> > verify the connections:
> >
> > [EMAIL PROTECTED]:~# netstat -ap | grep snmp
> > tcp        0      0 *:705                   *:*
> > LISTEN     3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.140:34441
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.140:34440
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.200:36895
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.200:36896
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.150:39767
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.150:39768
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.150:39769
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.160:43553
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.160:43552
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.160:43554
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.110:53035
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.110:53036
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.60:59097
> > ESTABLISHED3961/snmpd
> > tcp        0      0 192.168.50.200:705      192.168.50.60:59096
> > ESTABLISHED3961/snmpd
> > udp        0      0 *:32775                 *:*
> > 3961/snmpd
> > udp        0      0 *:snmp                  *:*
> > 3961/snmpd
> >
> > This setup is working in our lab so hopefully this will
> help you out.
> > Note that there are tcp connections from each of the payload
> > and controller blades. Only one of the connections from each
> > blade is from the snmp_subagt. We have other processes
> > running that also connect to snmpd.
> >
> >
> > Scott G. Petersen
> > System Validation
> > Motorola, Inc.
> > Embedded Communications Computing
> > 2900 S Diablo Way
> > Tempe, AZ 85282
> > Phone: 602-438-3471
> > Cell: 480-600-6964
> > Text: [EMAIL PROTECTED]
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Bishop,
> > Michael (OSLO R&D)
> > Sent: Thursday, November 01, 2007 3:10 PM
> > To: [email protected]
> > Subject: [Users] Need help with snmpwalk
> >
> > I have snmpd configured on my controller for master agentx usage.
> > I'm running OpenSAF and the ncs_snmp_subagt daemon is coming
> > up properly as far as I can tell.
> >
> > However, I cannot access the OpenSAF MIBs.
> >
> > Here's a typical error that I get:
> >
> > # snmpwalk -v2c -c public localhost aisE SAF-TC-MIB::aisE =
> > No more variables left in this MIB View (It is past the end
> > of the MIB tree)
> >
> > If I try walking specific OpenSAF MIBs, and I get the same error.
> >
> > I have the OpenSAF MIBs copied over to: /usr/share/snmp/mibs
> >
> > And I have the snmp.conf, snmpd.conf, and ncsSnmpSubagt.conf
> > files set up in:  /usr/share/snmp
> >
> > I start the snmpd daemon with:
> >
> > snmpd -x 705 -I interfaces -c /usr/share/snmp/snmpd.conf
> >
> > I then start OpenSAF, and note that the ncs_snmp_subagt
> > daemon comes up properly.
> >
> > # ps -ef | grep snmp
> > root     20039     1  0 15:15 ttyS0  00:00:00
> > /opt/opensaf/controller/bin/ncs_snmp_subagt ROLE=1 NID_SVC_ID=20
> > root     21133     1  0 15:49 ?        00:00:00
> /usr/sbin/snmpd -x 705
> > -I interfaces -c /usr/share/snmp/snmpd.conf
> >
> > Then I run the snmpwalk command - and got the above error.
> >
> > I'm sure I'm doing something wrong.  What is it?
> >
> > I've attached my snmp.conf, snmpd.conf, and
> ncsSnmpSubagt.conf files.
> > Please help.  Thank you.
> >
> > Regards,
> > Michael Bishop
> > Open Source & Linux Organization (OSLO)
> > Hewlett-Packard Company
> > 3404 E. Harmony Rd.  Bldg. 5L, Post C8,  Mailstop 42 Fort
> Collins, CO
> > 80528-9599
> > Phone: 970-898-4393
> > E-Mail: [EMAIL PROTECTED]
> >
> >
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://list.opensaf.org/maillist/listinfo/users
> >
> _______________________________________________
> Users mailing list
> [email protected]
> http://list.opensaf.org/maillist/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users

Reply via email to