HCX - command line logs collection
search cancel

HCX - command line logs collection

book

Article ID: 382366

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

How to collect HCX logs from command line

Environment

HCX 4.x

Cause

Procedure on how to collect HCX manager command line logs when HCX manager UI access is not available. 

Resolution

  • Using SSH, log in to the HCX Manager as “admin” user and change to “root” user.

             Change to the /opt/vmware/tools/ directory.

       # cd /opt/vmware/tools/

  • Run the utility to review the script usage and options:

       # ./export_tech_support_bundle.sh

  • Utility script to export Core HCX-Manager Logs and/or the Database Dump Syntax:


       sh export_tech_support_bundle.sh [-l|d|h]


options:


l Export Core HCX Manager logs

d Export Database Dump

h Usage help

Run the script with Core HCX Manager and Database Dump options:

# ./export_tech_support_bundle.sh -l -d

The system checks for sufficient disk space, and then exports the bundle under the /tmp/techsupport directory. The bundle filename and location display on the screen