Generating Tech Support Logs for VMware Avi Load Balancer When Controller UI is Unavailable
search cancel

Generating Tech Support Logs for VMware Avi Load Balancer When Controller UI is Unavailable

book

Article ID: 402033

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

This article provides steps to generate the controller Debuglogs / SE Tech Support logs from the Avi Controller and Service Engines (SEs) using the CLI, in scenarios where the Controller UI is inaccessible.

  • The controller UI is unreachable or inaccessible
  • Need to collect Debuglogs/Tech Support logs for troubleshooting

 

Environment

VMware Avi Load Balancer 

Cause

  • The inability to access the Avi UI prevents the standard method of generating tech support bundles.
  • This procedure offers an alternative command-line interface (CLI) approach.

Resolution

1. Generate Controller Debuglogs Logs via CLI

  1. SSH into the Avi Controller:
  2. Navigate to the Avi scripts directory:
    • cd /opt/avi/scripts
  3. (Optional) Review available options for the script:
    • sudo python3 generate_techsupport.py --help
  4. Run the following command to generate tech support logs:
    • sudo python3 generate_techsupport.py
  • The default output file path for the Controller Debuglogs will be displayed once the script completes.
    • Example:


2. Generate Service Engine SE Tech Support Logs via CLI

  1. SSH into the Service Engine.
  2. Navigate to the Avi scripts directory:
    • cd /opt/avi/scripts
  3. (Optional) Review available options for the script:
    • sudo python3 generate_techsupport.py --help
  4. Run the following command:
    • sudo python3 generate_techsupport.py
  • The default output file path for SE Tech Support will be displayed once the script completes.
    • Example:

 

Notes:
The script may take a few minutes to complete depending on the system state.
The generated .tar.gz file can be downloaded using SCP for further analysis or shared with Broadcom Support.