Home » VMware » VCP550D » Which two connections would allow an administrator to examine these files?
Immediately after installing an ESXi host, an administrator needs to examine the following log files:
/var/log/hostd.log
/var/log/vmkernel.log
/var/log/vpxa.log
Which two connections would allow an administrator to examine these files? (Choose two.)
A. Connecting to the Direct Console User Interface
B. Attaching a vSphere Client directly to the ESXi host
C. Attaching the vSphere Web Client directly to the ESXi host
D. Attaching the vSphere Client to the vCenter Server managing the ESXi host
Correct Answer: AB
Explanation/Reference:
Explanation:
The /var/log/vmkernel.log is located in the VM kernel and the log file records activities related to virtual machines and ESXi.
The /var/log/hostd.log is located in the ESXi host agent log and the log file contains information about the agent that manages and configures the ESXi host and its virtual machines.
The /var/log/vpxa.log is located in the vCenter agent log component and contains information about the agent that communicates with vCenter Server (if the host is managed by vCenter Server).
The /var/log/vpxa.log is located in the Shell log component and contains a record of all commands typed into the ESXi Shell as well as shell events (for example, when the shell was enabled).
A: You can set up logging with the vSphere Client or with the esxcli system syslog command. Thus to be able to view the log files you will need to connect to the Direct Console User Interface.
B: Logging can be set up by using the Host profiles interface in the vSphere Client and then import the host profile into other hosts. Thus if you attach a vSphere Client directly to the ESXi host you can view these files.
Incorrect Answers:
C: Attaching the vSphere Web client will not allow you to examine the log files as stated in the question.
D: You need to attach the vSphere client directly to the ESX host and not via the vCenter Server.
References:
https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vcli.migration.doc%2Fcos_upgrade_technote.1.6.html&resultof=%22%2fvar%2flog%2fhostd.log%22