2V0-21.23 Question 370
Select 3You are troubleshooting an issue in a vSphere environment and need to generate a log bundle from an ESXi host for VMware Support. Which of the following steps must you take to collect the log bundle successfully?
- A
Use the vSphere Client to navigate to the ESXi host, select 'Actions,' and choose 'Export System Logs.'
- B
Use an SSH session to log in to the ESXi host and run the 'esxcli system logs collect' command.
- C
Reboot the ESXi host into maintenance mode before collecting the logs.
- D
Use the vCenter Server Appliance Management Interface (VAMI) to generate the ESXi host logs.
- E
Ensure sufficient storage space is available on the destination to save the log bundle.
Show answer and explanation
Correct answers: A, B, E
Explanation
To generate an ESXi host log bundle, you can use the vSphere Client or SSH into the host and run the appropriate command. Additionally, you must ensure there is enough storage space on the destination to save the logs. Rebooting into maintenance mode or using the VAMI interface is not necessary for this task.
- A. Correct.
Correct: The vSphere Client provides an option to export system logs directly, which is a commonly used method to generate a log bundle.
- B. Correct.
Correct: The 'esxcli system logs collect' command can be executed via SSH for log collection, offering an alternative method.
- C. Incorrect.
Incorrect: Rebooting the ESXi host into maintenance mode is not required for generating log bundles. This step is unrelated to log collection.
- D. Incorrect.
Incorrect: The VAMI interface is used for managing the vCenter Server Appliance, but it does not provide an option to generate ESXi host logs specifically.
- E. Correct.
Correct: Having sufficient storage space on the destination is critical to avoid failures when saving large log bundles.