How to debug NCM problems in Spectrum
search cancel

How to debug NCM problems in Spectrum

book

Article ID: 282533

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

How to debug the Network Configuration Manager (NCM) tool in DX NetOps Spectrum.

Environment

All supported DX NetOps Spectrum releases

Resolution

The following steps show how to enable NCM debug, gather the logging generated, and finally disable the logging.

  1. Open the $SPECROOT/NCM/config.xml file for editing.
  2. Edit these lines.
    1. Enable general NCM debug without printing configuration difference comparison logging.
      • Enable the debug by changing 'off' to 'max' in this line.
        • Default: <debugging type="java.lang.String">off</debugging>
        • Change to: <debugging type="java.lang.String">max</debugging>
    2. Optional: Enable additional logging that prints configuration difference comparison messaging.
      • Change 'off' to 'on' in this line.
        • Default: <print-config type="java.lang.String">off</print-config>
        • Change to: <print-config type="java.lang.String">on</print-config>
    3. Save the changes to the config.xml file.
  3. Reproduce the issue.
  4. Set aside the logs in $SPECROOT/NCM/logs/debug.
  5. Revert the changes made to the config.xml file.
    1. Disable the debug setting 'max' back to 'off'.
    2. If used disable the config printing setting 'on' back to 'off'
    3. Save the changes to the file.
  6. After 15 seconds the file will be reread. No restarts are necessary.