Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1627550.1
Update Date:2017-08-16
Keywords:

Solution Type  Technical Instruction Sure

Solution  1627550.1 :   SL8500/SL3000 - How to Enable SNMP Trace Logging  


Related Items
  • Sun StorageTek SL3000 Modular Library System
  •  
  • Sun StorageTek SL8500 Modular Library System
  •  
Related Categories
  • PLA-Support>Sun Systems>TAPE>Tape Hardware>SN-TP: SL3000-8500 Library
  •  




In this Document
Goal
Solution


Oracle Confidential PARTNER - Available to partners (SUN).
Reason: customer does not have access to log on with root or eng user

Applies to:

Sun StorageTek SL8500 Modular Library System - Version All Versions and later
Sun StorageTek SL3000 Modular Library System - Version All Versions and later
Information in this document applies to any platform.

Goal

Enabling SNMP debug tracing on SL8500 and SL3000 libraries.

This can help in diagnosing issues where STA (StorageTek Analytics) is not seeing exchanges.

Solution

1. Support engineer must have either root or eng user access to SL8500 or SL3000.

2. ssh to library ip address using root or eng user.

3. Type >shell   

4. vi /mnt/idcard/etc/snmp/snmpdebug.conf

5. Add the following to the file to enable snmp debug tracing.

6. 0x7fff0007

7. Save the file :wq!

8. Re-start snmptrapd

9. killall -SIGUSR1 snmptrapd

10. tail /var/log/syslog

11. If enabled correctly, you will see the following in syslog.

      Feb 21 08:29:48 (none) snmptrapd: SnmpDebug_Debug_Dump: SNMP debug 0x7fff0007

 

Here is a successful trap sent to STA:

Feb 21 09:07:22 (none) snmptrapd: trap_Send: Calling SnmpStkNet_Trap_Send
Feb 21 09:07:22 (none) snmptrapd: SnmpStkNet_Trap_Send: sending a trap
Feb 21 09:07:22 (none) snmptrapd: SnmpTrapRec_Trap_NextByLevel:
Feb 21 09:07:22 (none) snmptrapd: levelRange_Check:
Feb 21 09:07:22 (none) snmptrapd: SnmpTrapRec_Trap_NextByLevel: at the end of the trap table for level 100
Feb 21 09:07:22 (none) snmptrapd: SnmpTrapBuild_EventListenTrap_Send: Total number of TBI Traps sent: 205
Feb 21 09:07:22 (none) snmptrapd: eventListen_Token_Delete:
Feb 21 09:07:22 (none) snmptrapd: SnmpUtil_Socket_Rcv: socket event listener, received message length 173, rcvBuffSize remain 16211
Feb 21 09:07:22 (none) snmptrapd: SnmpUtil_RcvdMsg_CheckM: message found len=171, 2014-02-21T09:07:22.467,   1.0.0.0.0,    root, default,    internal,       0,   tbi, 4066, "06370003010101011-10110011+02101TS06ABC717011002380185005300000000000000000000"

12. Once tracing is no longer required snmp debug tracing should be disabled.

13. vi /mnt/idcard/etc/snmp/snmpdebug.conf

14. Change it to read.

15. 0x7fff0001

16. Save file :wq!

17. killall -SIGUSR1 snmptrapd




Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback