ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to turn on OC_ACQUISITION debug with the UI disabled

book

Article ID: 239790

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

From 21.2.7, due to vulnerability, the debug UI has been disabled.

How can the debug options be turned on?

Environment

Release : 21.2

Component : Virtual Network Assurance For CA Spectrum

Resolution

 

1) Go to <VNA_HOME>/wildfly/bin.

2) Run ./jboss-cli.sh

3) Enter *connect*

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

(After enabling OC_ ACQUISITION  log level to DEBUG, VNA logs the dump of raw data that is received from the target SDN devices to /opt/CA/VNA/collector/Engine_UUID/tmp/)

5) Wait for 2-3 polls and collect the folders generated in step 4, also upload logs folder from 
/opt/CA/VNA/wildfly/standalone
and
/opt/CA/VNA/collector/Engine_UUID/tmp/

6) After collecting logs revert back the log level to INFO for  OC_ACQUISITION