How to turn on OC_ACQUISITION debug with the UI disabled
search cancel

How to turn on OC_ACQUISITION debug with the UI disabled

book

Article ID: 239790

calendar_today

Updated On:

Products

CA Spectrum CA Virtual Network Assurance DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

In DX NetOps Virtual Network Assurance (VNA) releases 21.2.7 and newer the debug UI has been disabled for improved security.

How can the debug options be turned on without the UI?

How do we enable poll logging debug for DX NetOps Virtual Network Assurance (VNA) for data validation issues?

How to enable OC_ACQUISITION debug in VNA.

Environment

All DX NetOps Virtual Network Assurance (VNA) releases 21.2.7+

Cause

In DX NetOps Virtual Network Assurance (VNA) releases 21.2.7 and newer the debug UI has been disabled for improved security.

Resolution

Take the following steps to enable the VNA poll logging using OC_ACQUISITION debug.

NOTE: All paths shown are based on the default path. Change as needed.

  1. Enable the debug:

    1. Go to the (default path shown) /opt/CA/wildfly/bin directory.

    2. Run the command:

      • ./jboss-cli.sh
      • Enter: connect

    3. Run the following command to set the debug level for the category.
       
      • /subsystem=logging/logger=OC_ACQUISITION:write-attribute(name=level,value=DEBUG)


        # cd /opt/CA/VNA/wildfly/bin/
        # ./jboss-cli.sh
        You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
        [disconnected /] connect
        [standalone@localhost:9990 /] /subsystem=logging/logger=OC_ACQUISITION:write-attribute(name=level,value=DEBUG)
        {"outcome" => "success"}

        [standalone@localhost:9990 /] quit
        #



  2. After enabling OC_ ACQUISITION log level to DEBUG we'll get dumps of raw data received from polled SDN devices.

    • The logging is stored in the /opt/CA/VNA/collector/Engine_UUID/tmp/ directory.

  3. Wait for 2-3 poll cycles minimum, or longer as directed by Broadcom Support or Engineering, before gathering logging.

  4. Collect the following logging for Support:

    • The folders generated via the logging noted in Step 2 above.
    • All logs from the /opt/CA/VNA/wildfly/standalone directory.
    • All logs and folders under the /opt/CA/VNA/collector/Engine_UUID/tmp directory.

  5. When the logging is safely set aside disable the debug using these steps:

    1. Go to the (default path shown) /opt/CA/wildfly/bin directory.

    2. Run the command:

      • ./jboss-cli.sh
      • Enter: connect

    3. Run the following command to set the debug level for the category.

      • /subsystem=logging/logger=OC_ACQUISITION:write-attribute(name=level,value=INFO)