Steps to collect management packs adapter logs using the PAVO tool
search cancel

Steps to collect management packs adapter logs using the PAVO tool

book

Article ID: 405827

calendar_today

Updated On:

Products

VMware Aria Operations (formerly vRealize Operations) 8.x

Issue/Introduction

PAVO is a script that collects debug-level AI logs required for troubleshooting management packs.

Resolution

To identify the errors, follow the steps below to collect the adapter logs:

  • In Aria Ops, go to the Integrations section and select NSX-T management pack.

The below step is just an example:

  • If there is only one remote collector, this step can be skipped. For setups with more than 2 - 4 remote collectors, take a screenshot of the current status as shown below, then select any of the Remote Collectors.

    Note: Select any Collector / Group accordingly

Example screenshot:

 

Capture a Log with Pavo

 

Example Screenshot:

 

Steps:

  • Click on View and copy the script.

  • Log in as root to the remote collector node you selected for the NSXTAdapter integration

  • Go to the directory:

    # /usr/local/bin/pavo


  • To save and exit, press Esc and type:

    :wq!


  • Then run the command:

    pavo


    - If you get a permission denied error, use:

    chmod +x /usr/local/bin/pavo

     
  1. Select Option 2 for NSXTAdapter.

  2. Select Option 1 to choose the log file (NSXTAdapter_###.log).

  3. Set the collection cycle to 3.

  4. This sets the debug level to debug, tails the log file into a dedicated log file, and rolls it over. It will run for three collection cycles. Since each cycle lasts five minutes, the process will take around 15 minutes to complete.

The screenshot below is an example - ensure that you select NSXTAdapter.

Example Screenshot:

 

  • The log file will be saved in the location shown below, with the file name starting with "longrun." If you generate a support bundle, this file will be included automatically.

Path:   Administration > Support Bundles > Expand the remote collector (selected for the NSXTAdapter integration) > Collector > Adapters > NSXTAdapter

 

Example Screenshot:

 

  • From CLI, the "longrun" file can be found at:
/usr/lib/vmware-vcops/user/log/adapters/NSXTAdapter/

 

Note: The required log file is located on the Collector/Group you selected initially.

Collecting diagnostic information from VMware Aria Operations

  • Alternatively, you can copy the log file directly from the Collector/Group you selected initially.
The file is located at:

/usr/lib/vmware-vcops/user/log/adapters/NSXtAdapter/

and will have a name starting with "longrun-"