How do I put DMPrimer in debug mode?
search cancel

How do I put DMPrimer in debug mode?

book

Article ID: 26058

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

Sometimes, there are problems with the agent deployment (DMDeploy) component and the debug information is needed to troubleshoot the problem.


Note: This procedure can be used for new machines too, that do not have DMPrimer installed.

Environment

Client Automation - All Versions

Resolution

  1. On the target machine create or update the file <DSMPATH>\DMPRIMER\dmprimer.cfg (Default path: C:\Program Files (x86)\CA\DSM\DMPrimer\dmprimer.cfg) with the following 2 lines:
    TRACE=[TRUE]
    TRACE_LEVEL=[5]
    If the above path does not exist, create a folder structure as in the default path mentioned above.

  2. If 'dmprimer' already exists on the target machine, stop the dm_primer.exe process using:
    cd "C:\Program Files (x86)\CA\DSM\DMPrimer\"
    dm_primer.exe stop
  3. On the server, set 'DMDeploy' in the DETAIL trace mode:
    cftrace -c set -f CF -pp DMDeploy -s 60000 -l DETAIL
  4. Go through the Deployment and collect the following logs:

    1. On the target machine, the file %TEMP%\dmprimer.log (system variable TEMP)
    2. On the server the files DSM\logs\TRC_CF_DMDEPLOY_*.log (Default path: C:\Program Files (x86)\CA\DSM\logs\TRC_CF_DMDEPLOY_*.log).