How to enable debug logging on a NetApp NDMP device

Article:TECH57961  |  Created: 2008-01-25  |  Updated: 2011-09-26  |  Article URL http://www.symantec.com/docs/TECH57961
Article Type
Technical Solution


Subject

Problem



How to enable debug logging on a NetApp NDMP device


Solution




1. Log into the NDMP device via telnet

2. From the prompt enter ndmpd debug n

 
  • n specifies debug level from  0 - 70; default value is 0
  • Level 0 : Turns off debugging
  • Level 10 : Displays NDMP connection info
  • Level 30 : Level 10 + displays actual NDMP messages and NDMP errors
  • Level 50 : Level 30 + displays environment variables and NDMP exceptions
  • Level 70 : Level 50 + displays SCSI Command descriptor blocks (CDBs)

 
Notes:

 
  • NDMP session debug log files are stored in the "/etc/log" directory
  • The file name is ndmplog.yyyymmdd format
  • Wireshark (  http://www.wireshark.org/ ) is another good tool for debugging as it captures NDMP request/replies and SCSI CDBs sent/received over the wire
  • Remember to set the logging level back to 0 when finished troubleshooting



Using the Backup Exec Debug Monitor (SGMon) for troubleshooting NDMP

The Backup Exec Debug Monitor, or SGMon, is a diagnostic tool that captures debug output from Backup Exec and saves it in one debug log as <server name>SGMon.log. SGMon debug logs can help you troubleshoot backup issues. Furthermore, debug logs can help Symantec Technical Support diagnose and correct issues.
SGMon captures debug data from the selected items when SGMon is open and running or when it is scheduled to run.  In Tools | Settings for SGMon, console settings and more specific debug settings can be configured.  By default, the logs are saved to  \Program Files\Symantec\Backup Exec\logs\

To open the Backup Exec Debug Monitor Console - SGMon:

 
  • In Backup Exec 12.5 and above:  On the Tools menu, click Support Utilities > Run the Debug Monitor for active debugging.

 
  • In versions 11.x and 12.0:  Open \Program Files\Symantec\Backup Exec\SGMon.exe

 

In order to troubleshoot the problem with the NDMP device on the SGMON window, click on the tools setting,
select Device and Media from the debug settings, and check Enable Verbose Logging.

 

On the main SGMON windows select Job Engine, RAWS, Agent Browse Backup Exec Server , Device and Media and Capture to file.

 

Note: After collecting the log, uncheck Enable Verbose Logging, because leaving this option select will decrease backup performance.


 



Legacy ID



300464


Article URL http://www.symantec.com/docs/TECH57961


Terms of use for this information are found in Legal Notices