How to run dtrace using triggers with Enterprise Vault (EV)
Details:
When troubleshooting intermittent issues, it is necessary
to set up DTRACE to begin capturing only if certain criteria are met. The use of
trigger words will help to reduce the size of the DTRACE log because only
relevant content will be captured.
To set up DTRACE, review Tech
Note
http://support.veritas.com/docs/276120
The following screen capture shows a simple trigger of "restarting
failed process" (Figure 1). The actual search terms will vary depending on the
problem being researched.
Figure
1
After
enabling dtrace on the desired process, the following parameters should be set
to enable a trigger on the words "restarting failed
process":
DT>trigger
Manage watch entry
trigger. (? for help)
DT Trigger>include "restarting
failed process"
'restarting failed process' - added to filter include
strings
DT Trigger>q
DT>watch
Watch Trace Output
Maximum number of snapshots [3[ >
*enter # of times to
capture*Log file [DTraceWatch.log] >
*enter logfile name if
desired*Number of trace entries to display after trigger entry [20]
>
*set # of lines*Apply display filter? [Yes/No] (Yes)>
Watching is enabled to 'C:\Program Files\Enterprise
Vault\DTraceWatch.log' (Use 'watch' to disable)
DT>
Products Applied:
Enterprise Vault for Microsoft Exchange 2007 7.5, 2007 7.5 SP1, 6.0, 6.0 SP1, 6.0 SP2, 6.0 SP3, 6.0 SP4, 6.0 SP5, 7.0, 7.0 SP1, 7.0 SP2
Subjects:
Enterprise Vault for Microsoft Exchange
Administration: Advice
Languages:
English (US)
Operating Systems:
Windows 2000Advanced Server SP1, Advanced Server SP2, Advanced Server SP3, Advanced Server SP4, Datacenter Server SP1, Datacenter Server SP2, Datacenter Server SP3, Datacenter Server SP4, Server SP1, Server SP2, Server SP3, Server SP4
Windows Server 2003
DataCenter, DataCenter SP1, DataCenter SP1(x64), DataCenter SP2, Datacenter SP2(x64), Enterprise (x64), Enterprise SP1(x64), Enterprise SP2, Enterprise SP2(x64), Enterprise Server, Enterprise ServerSP1, R2, Standard Server, Standard Server SP1, Standard Server SP1 (x64), Standard Server SP2, Standard Server SP2 (x64)
THE INFORMATION PROVIDED IN THE SYMANTEC SOFTWARE KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. SYMANTEC SOFTWARE DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SYMANTEC SOFTWARE OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,EVEN IF SYMANTEC SOFTWARE OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.