How to gather vm-support (ESXi) / vc-support (vcSA) log using CLI or GUI

Loading

If you wish to collect the vCenter /ESXi logs via the GUI 

How to Gather a vm-support for ESXi host

  1. Log in with SSH to the ESXi host.
  2. Run the vm-support command to create a vm-support log bundle.
    HOW16890_en_US__1vm-support commandGather completed
    HOW16890_en_US__2vm-support collection completed
  • Confirm that log bundle is created with the name displayed at the command execution.
    In this article, “/var/tmp/esx-KCC2-2019-02-27–01.31.tgz” is the log bundle name.
  • Log in to the ESXi host using the SCP, copy the created vm-support log bundle to your machine.

How to Gather a vc-support for vCSA

  1. Log in with SSH to the vCSA.
  2. Since it logs in to the Appliance Shell in default, run the shell.set --enabled True command and shell command to launch the Bash.
    HOW16890_en_US__3shell command
  • Run the vc-support -l command to create a vc-support log bundle.
    HOW16890_en_US__4vc-support commandGather completed
    HOW16890_en_US__5vc-support collection completed
  • Confirm that log bundle is created with the name displayed at the command execution.
    In this article, “/storage/log/vc-vcsa65u2.altmine.local-2019-02-27-02.02-47743.tgz” is the log bundle name.
  • Log in to the vCSA using the SCP, copy the created vc-support log bundle to your machine.HOW16890_en_US__6icon If you use the WinSCP as an SCP tool, run the chsh -s /bin/bash root command to change the vCSA default shell to the Bash shell and use the WinSCP (run in step 2 after the Bash launched).
    If you return the default shell to the Appliance Shell, run the chsh -s /bin/appliancesh root command.
(Visited 573 times, 1 visits today)

By C A Thomas

Chinchu A. Thomas is an Infrastructure Analyst specializing in Microsoft Azure, the Microsoft 365 suite, AWS, and Windows infrastructure management products.

Leave a Reply