Description
Dtrace is a tool used by Enterprise Vault to diagnose problems when a service, task, or process fails. Dtrace.exe is a standalone utility that can be copied to any server hosting Enterprise Vault (EV) components. The dtrace tool can be run either from the Vault Administration Console or from the command line.Administration Console
On the EV server open the Vault Administration Console (VAC)
Expand Site and then Enterprise Vault Servers
Select the relevant EV server
Go to the Tools menu and select Advanced Features
Under the EV Server there should now be the additional Traces container (if there is not then press F5 to refresh)
Right click on Traces and select New > Trace...
Click Next on the first page of the New Trace Wizard
Select the appropriate category that you wish to trace from the dropdown menu and then click Next
Input a title for the trace and a description (optional) then click Next
Select the amount of time you require the trace to run for, making sure you set enough time to be able to recreate/capture the issue. Set the maximum log size (default 100MB), this will set the size of each trace file before rolling over to a new file. Also set the folder in which to write the trace files to, making sure this location has plenty of free space. Then click Next
Click Run Now to begin the Dtrace
Note : This command window may be minimized if required, but do not close
Log onto the EV Server as the Vault Service Account
Open a Command Prompt window
Navigate to the EV program folder (typically C:\Program Files (x86)\Enterprise Vault)
Type dtrace and press Enter
At the Dtrace prompt (DT>) type View and press Enter
Record the Id number beside the service or services that the trace will be run to capture
Use the following command to set Dtrace for logging against a specific service
set servicename_or_ID level
For example, if running a Dtrace on the Admin Service where the ID is 1 and the logging level required is verbose (maximum), then the syntax would be:
set 1 v
Note : For a list of possible services to dtrace see https://www.veritas.com/docs/000007015.
Repeat step 7 for as many separate processes as required
Use the following command to specify the log file name:
log tracelog.log
Note: A path can also be entered for the location of the file. If only a file name is provided, the location of the trace file will be the directory from which Dtrace has been run. For example:
log d:\tracelog.log
Reproduce the issue or wait until the issue reoccurs
At the DT prompt, type quit and press enter
Type y to confirm and disable all tracing
Collect the log file and send it to Technical Support for review.