How do you place CAM in debug mode?
search cancel

How do you place CAM in debug mode?

book

Article ID: 54683

calendar_today

Updated On:

Products

CA Directory CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On CA Security Command Center CA Data Protection (DataMinder) CA User Activity Reporting

Issue/Introduction

I.E. We're trying to add a UNIX namespace and we're getting a CAM/CAFT timeout when adding the namespace via CA Admin on Windows? How can we get more diagnostic information from this CA shared component to send to support?

Environment

Release:
Component: ETRADM

Resolution

This procedure will place CAM and caft in debug mode.
It will create 8 files for au, dg, trace with a 20MB size each.

*Please note the procedure is fairly platform independent. If on UNIX, please execute the commands from $CAI_MSQ/bin. Also if on UNIX/LINUX you can edit the $CAI_MSQ/cam.cfg via VI or whatever editor suits you, just as long as the modifications are saved. As always, should you want to disable debug, it's a best practice to make a backup of the cam.cfg to restore to the original version. I.E. restore original $CAI_MSQ/cam.cfg cd to $CAI_MSQ/bin then issue a camclose and cam start.

  1. camsave persist
    (NOTE: Run camsave only if the system doesn't contain the cam.cfg file. The camsave persist will create the cam.cfg file.)

  2. Edit the cam.cfg file
    Modify the following:

    dg_log_files = 8
    dg_log_size = 64
    dg_log = *
    au_log_files = 8
    au_log_size = 256
    au_log = *
    tr_log_files = 8
    tr_log_size = 1024
    tr_log = *
    trace = none

    *AUDIT
    off

    to

    dg_log_files = 8
    dg_log_size = 20480
    dg_log = *
    au_log_files = 8
    au_log_size = 20480
    au_log = *
    tr_log_files = 8
    tr_log_size = 20480
    tr_log = *
    trace=+all-timer

    *AUDIT
    on

  3. camclose

  4. cam start

    ----------------
    The cam debug log file are in %CAI_MSQ%\logs\*.*, for windows and $CAI_MSQ/logs, for UNIX
    ----------------
    Please upload all files to support.
    Please keep in mind that the diagnostics will only be collected on the node in question. So if you're tracing the CAM from Admin to the Endpoint you'd have to invoke debug on both ends and upload both sets of logs.