How to collect a support bundle for NSX nodes via CLI
search cancel

How to collect a support bundle for NSX nodes via CLI

book

Article ID: 383034

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

If it is not possible to collect a support bundle for NSX nodes using the NSX UI, a support bundle can be generated via CLI.

Environment

VMware NSX

Resolution

For NSX Manager or NSX Edge:

  1. Log in to the NSX node as admin, via SSH or the VM console.
  2. Generate the support bundle with the command: get support-bundle file nsx_support_bundle.tar
    Note: You may add some identifying data to the filename.
    Example: get support-bundle file nsx_support_bundle_manager1.tar
  3. Extract the support bundle:
    • Either using the command: copy file nsx_support_bundle.tar url <scp-file-url-arg>
      Note: Replace nsx_support_bundle.tar by the filename you used in the previous step, and <scp-file-url-arg> by an SCP URL.
      Example: copy file nsx_support_bundle_manager1.tar url scp://myuser@##.##.##.##/path/to/folder/
    • Or connecting into the NSX node as root using an application such as WinSCP. The file will be under /image/vmware/nsx/file-store/
      Example: scp root@manager1:/image/vmware/nsx/file-store/nsx_support_bundle_manager1.tar .

Documentation:

For ESXi host:

Extract the log bundle from vCenter UI, or the ESXi UI, or ESXi CLI.

Additional Information

If the NSX UI is accessible and the desired NSX node is available in the NSX UI, a support bundle may be generated from the NSX UI: NSX Administration Guide / Collect Support Bundles