How to create a Dtrace log for troubleshooting Archive option related issues

Article:TECH126096  |  Created: 2010-01-05  |  Updated: 2014-08-19  |  Article URL http://www.symantec.com/docs/TECH126096
Article Type
Technical Solution


Environment

Issue



How to create a Dtrace log for troubleshooting Archive option related issues


Solution



The Dtrace log is helpful when troubleshooting a Backup Exec Archive Option issue.  A Dtrace log can be created from the Backup Exec Debug Monitor or from the command line.
 
To Create a Dtrace log from the Backup Exec Debug Monitor:

      1. On the Tools menu, click Support Utilities > Run the Debug Monitor for active debugging.

      2. Select the option Start Archive Option Logging, as shown below:
 
 
 
3. After the issue is reproduced, select the option Stop Archive Option Logging.
 
The log is saved to the folder \Program Files\Symantec\Backup Exec\Logs with a name similar to BEAO_TRACE_LOG_21112009_044626.LOG
 
The Dtrace options are specified in file script_for_BEAO_logging.xml, which is in the folder \Program Files\Symantec\Backup Exec\Scripts\BEAO
 
Following is a sample from the file: 
<?xml version="1.0" ?>
<!-- Use this XML file to define settings for tracing issues with Exchange mailbox archiving and file system archiving. -->
<settings>
 <!-- These commands will be passed into DTrace -->
 <commands>
   <command text="set dllhost v" />
   <command text="set beremote v" />
   <command text="set bengine v" />
   <command text="set bewebservices.exe v" />
   <command text="set EVItemAccessor32.exe v" />
   <command text="set ArchivalHelper32.exe v" />
   <command text="set Beserver.exe v" />
   <command text="set ArchiveRemsrv.exe v" />
 </commands>
</settings> 
 
An editor can be used to add new options to the file script_for_BEAO_logging.xml. The Debug Monitor runs all of the options that are added from the script file. 
 
To view Dtrace options, complete steps 1 through 3 in the following instructions for creating a Dtrace log from the command line.
 
To Create a Dtrace log from the command line:
 
1. At the command prompt, go to \Program Files\Symantec\Backup Exec\Enterprise Vault, and then run Dtrace.exe.
 
2. The following prompt appears:
 
 
3. At the command prompt, type "View" to view the available Dtrace options. 
  
 
4. Use the command set with the ID as shown by the View command in the previous screen.  For example: If a Dtrace log for the Admin service is required, type Set 1, and then press Enter
  
 
5. When prompted for Detail, type verbose, and then press Enter.
 
6. When prompted to Include Events, type yes, and then press Enter
  
 
7. At the prompt, type log, and then press enter.
 
8. At the next prompt, press Enter.
 
The log location is listed as shown below. Note the log location:  
  
 
7.  At the next prompt, type monitor, and then press Enter.
 
The Dtrace logging starts. 
  
 
After the problem is reproduced, stop the command window. The Dtrace log is available at \Program Files\Symantec\Backup Exec\Enterprise Vault\DTrace.log



Legacy ID



345191


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


Terms of use for this information are found in Legal Notices