If you wish to collect the vCenter /ESXi logs via the GUI
How to Gather a vm-support for ESXi host
- Log in with SSH to the ESXi host.
- Run the
vm-support
command to create a vm-support log bundle.
Gather 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
- Log in with SSH to the vCSA.
- Since it logs in to the Appliance Shell in default, run the
shell.set --enabled True
command andshell
command to launch the Bash.
- Run the
vc-support -l
command to create a vc-support log bundle.
Gather 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. 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 thechsh -s /bin/appliancesh root
command.
(Visited 573 times, 1 visits today)