Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RE: problem configuring foundry load balancer using snmpset

8 views
Skip to first unread message

Mike Ayers

unread,
Dec 8, 2009, 2:20:05 PM12/8/09
to
> From: Raj Gurung [mailto:r...@linkmemobile.com]
> Sent: Monday, December 07, 2009 11:22 AM

> But when I try to change the configuration using snmpset command, I am
> getting errors:
> # snmpset -v1 -c rwcommunity
> 10.10.10.253 .1.3.6.1.4.1.1991.1.1.4.3.1.1.2.1 s my-new-server-name
> Error in packet.
> Reason: (genError) A general failure occured
> Failed object: SNMPv2-SMI::enterprises.1991.1.1.4.3.1.1.2.1

> snL4RealServerRowStatus OBJECT-TYPE
> SYNTAX L4RowSts
> ACCESS read-write
> STATUS mandatory
> DESCRIPTION
> "To create or delete a real server entry."
> ::= {snL4RealServerEntry 7 }

You may need to take the row out of service to chante the name. See the description clause of the RowStatus TC in http://www.ietf.org/rfc/rfc2579.txt for the gory details, which point you to the MIB you are using, which should document the extra logic it uses for row modification. Just because a column is writable does not mean it can be changed at any time.


HTH,

Mike

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Dave Shield

unread,
Dec 9, 2009, 3:36:01 AM12/9/09
to
2009/12/9 Raj Gurung <r...@linkmemobile.com>:
> I could not find the logic for row modification in Foundry MIT either.
> I should be missing something. Any suggestions or RTFMs?

This may be an implementation issue.
Where did the code for this MIB module come from?
[I'm pretty sure it's not one of ours!]
It might be worth talking to the vendor about this.

Dave

Raj Gurung

unread,
Dec 9, 2009, 2:05:35 PM12/9/09
to

On Dec 9, 2009, at 12:36 AM, Dave Shield wrote:

> 2009/12/9 Raj Gurung <r...@linkmemobile.com>:
>> I could not find the logic for row modification in Foundry MIT either.
>> I should be missing something. Any suggestions or RTFMs?
>
> This may be an implementation issue.
> Where did the code for this MIB module come from?
> [I'm pretty sure it's not one of ours!]
> It might be worth talking to the vendor about this.

The Foundry MIB was downloaded from src: http://www.notarus.net/networking/foundry_snmp.html

Thanks,
raj

Mike Ayers

unread,
Dec 9, 2009, 3:27:44 PM12/9/09
to
> From: Raj Gurung [mailto:r...@linkmemobile.com]
> Sent: Wednesday, December 09, 2009 11:06 AM

> The Foundry MIB was downloaded from src:
> http://www.notarus.net/networking/foundry_snmp.html

Did you try the suggestion in the first section of that page?


HTH,

Mike

Mike Ayers

unread,
Dec 10, 2009, 1:36:44 PM12/10/09
to

> From: Raj Gurung [mailto:r...@evryx.com]
> Sent: Wednesday, December 09, 2009 2:32 PM

> I tried providing enable password in snmpget command and also with "no
^^^^^^^
|||||||
You mean "snmpset", right? Otherwise, I've found your problem...

> snmp-server pw-check" enabled on Load Balancer.
> Uploading the configuration to tftp worked for both.
>
> But, no joy still with the load balancer (real server) add/modify.

It can be tough to work through these things sometimes. The web page you pointed to is very helpful, though, and strongly suggests you should be able to manage through SNMP.

Try this:

$ snmpset -v1 -c rwcommunity 10.10.10.253 . snL4RealServerRowStatus.1 i notInService snAgGblPassword.0 s my-password
$ snmpset -v1 -c rwcommunity 10.10.10.253 . snL4RealServerName.1 s my-new-server-name snL4RealServerRowStatus.1 i active snAgGblPassword.0 s my-password

Mike Ayers

unread,
Dec 10, 2009, 5:45:41 PM12/10/09
to
> From: Raj Gurung [mailto:r...@evryx.com]
> Sent: Thursday, December 10, 2009 2:23 PM

> Foundry didnt like notInService(2) value for
> snL4RealServerRowStatus.Found that foundry snL4RealServerRowStatus
> value mappings for row creation/modification/deletion as [modify(3),
> create(4), delete (5)].
> And it worked.

Just so I'm clear - you are up and running? You must delete the rows to reconfigure the device, correct?


Thanks,

0 new messages