Aug 31

Print this Post

Exchange UM tracing with Snooper

There are multiple ways to enable tracing/debugging following the guidelines as stated here: http://technet.microsoft.com/en-us/library/bb430768.aspx or http://technet.microsoft.com/en-us/library/bb430783

During a training session Brad Owen provided a tip on how to enable SIP tracing on the Exchange UM servers.

To enable tracing on the Exchange UM servers, perform the following steps:

1. Open CMD prompt

2.Go to: cd C:\Program Files\Microsoft UCMA 2.0\Core Runtime\Tracing

3. Type:

OCSTracer.exe Start  /Component:Collaboration,TL_noise,tf_component,tf_diag,tf_protocol,tf_connection
/Component:S4,TL_VERBOSE,tf_component,tf_protocol /LogFileMode:NewFile,20

3. Reproduce the Issue

4. Type: OCSTracer.exe Stop /Component:Collaboration /component:s4 /OutputFile:traces.txt /View

    The traces.txt file can be opened in Snooper Tool. Snooper is a debugging tool that is part of the OCS and Lync resource kit. Depending on the Operating System on where you want to read the logfiles, download the Resource kits below:

    1. Windows XP/Vista/7 32 bit (x86): http://www.microsoft.com/en-us/download/details.aspx?id=19625
    2. Windows XP/Vista/7/8 64 bit (x64): http://www.microsoft.com/en-us/download/details.aspx?id=21165

    Once installed, go to the installed path or search for Snooper.exe on your computer. Once opened, you will see a similar screen as below:


    Open the S4.txt file and you should be able to see all the related SIP traffic:


    Another free tool is to use Network Monitor, here is the download link: http://www.microsoft.com/en-us/download/details.aspx?id=4865 and you can find blog info here: http://blogs.technet.com/b/netmon/

    Permanent link to this article: http://www.reijling.nl/?p=986

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>