• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/40

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

40 Cards in this Set

  • Front
  • Back
Identify vCenter Server log file names and locations: vpxd.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

The main vCenter Server logs, consisting of all vSphere Client and webservices connections, internal tasks and events, and communication with the vCenter Server Agent (vpxa) on managed ESX/ESXi hosts.
Identify vCenter Server log file names and locations: vpxd-profiler.log, profiler.log, and scoreboard.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Profiled metrics for operations performed in vCenter Server. Used by the VPX Operational Dashboard (VOD) accessible at https://VSHostNameorIPAddress/vod/index.html
Identify vCenter Server log file names and locations: vpxd-alert.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Non-fatal information logged about the vpxd process.
Identify vCenter Server log file names and locations: cim-diag.log; vws.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Common Information Model monitoring information, including communication between vCenter Server and managed hosts' CIM interface.
Identify vCenter Server log file names and locations: drmdump
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs\drmdump

Actions proposed and taken by VMware Distributed Resource Scheduler (DRS), grouped by the DRS-enabled cluster managed by vCenter Server.
Identify vCenter Server log file names and locations: ls.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Health reports for the Licensing Sevices extension, connectivity logs to vCenter server.
Identify vCenter Server log file names and locations: vimtool.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Dump of string used during the installation of vCenter Server with hashed information for DNS, username and output for ODBC creation.
Identify vCenter Server log file names and locations: stats.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Provides information about the historical performance data collection from the ESXi hosts.
Identify vCenter Server log file names and locations: sms.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Health reports for the Storage Monitoring Service extension, connectivity logs to vCenter Server, the vCenter Server database and the xDB for vCenter Inventory Service.
Identify vCenter Server log file names and locations: eam.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Health reports for the ESX Agent Monitor extension, connectivity logs to vCenter Server.
Identify vCenter Server log file names and locations: catalina.<date>.log; localhost.<date>.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Connectivity information and status of the VMware webmanagement services.
Identify vCenter Server log file names and locations:
jointool.log
Found at: C:\ProgramData\vmware\VMware VirtualCenter\Logs

Health status of the VMware VMCMSDS service and individual ADAM database objects, internal tasks and events, and replication logs between linked-mode vCenter Servers.
Viewing vCenter Server logs
Can be viewed from the vSphere Client connected to vCenter Server:

Home-> Administration -> System Logs

From the vSphere web client

Home-> Log Browser

Click Select Object now, choose an ESXi host of vCenter Server object and click OK.
Identify ESXi log files names and locations: auth.log
Found at: /var/log/auth.log

ESXi shell authentication success/failure
Identify ESXi log files names and locations: dhclient.log
Found at: /var/log/dhclient.log

DHCP client service log
Identify ESXi log files names and locations: esxupdate.log
Found at: /var/log/esxupdate.log

Update installation log.
Identify ESXi log files names and locations: hostd.log
Found at: /var/log/hostd.log

Host management event log; also for VM tasks and events.
Identify ESXi log files names and locations: shell.log
Found at: /var/log/shell.log

Logs things that happen in the ESXi shell.
Identify ESXi log files names and locations: sysboot.log
Found at: /var/log/sysboot.log

Early VMkernel startup and module loading.
Identify ESXi log files names and locations: syslog.log
Found at: /var/log/syslog.log

Scheduled tasks, DCUI use and watchdogs.
Identify ESXi log files names and locations: usb.log
Found at: /var/log/usb.log

USB arbitration events.
Identify ESXi log files names and locations: vob.log
Found at: /var/log/vob.log

VMkernel observation events
Identify ESXi log files names and locations: vmkernel.log
Found at: /var/log/vmkernel.log

Core VMkernel logs, storage and networking device driver events and virtual machine startup
Identify ESXi log files names and locations: vmkwarning.log
Found at: /var/log/vmkwarning.log

Summary of warning and alert log messages from the VMkernel logs
Identify ESXi log files names and locations: vmksummary.log
Found at: /var/log/vmksummary.log

Summary of ESXi startup and shutdown, hourly heartbeat with uptime, number of VMs running and service resource consumption.
Identify ESXi log files names and locations: vpxa.log
Found at: /var/log/vpxa.log

vCenter server vpxa agent logs, communication between vCenter and hostd.
Identify ESXi log files names and locations: fdm.log
Found at: /var/log/fdm.log

vSphere HA (High Availability) events generated by the FDM service.
Viewing ESXi logs
You can view logs by connecting via SSH to an ESXi host.

Log and configuration files can also be found by going to the following URL: https://IPorHostNameof ESXiHost/host

You can also access logs via the DCUI
Generate vCenter Server and ESXi Log Bundles: GUI
1. Click on the vCenter name.
2. Click File->Export
3. Click Export System Logs.
4. Select at which level you want to export logs.
5. Select Next.
6. Select which logs you want to export.
7. Click Next.
8. Click the Browse button to select a location to save the log bundle to.
8. Click Next.
9. Click Finish.
Generate vCenter Server and ESXi Log Bundles: CLI
To export logs you need to use the vm-support command. You can export information based on a list of groups or certain 'manifests' or you can export information on a particular virtual machine.

You can also set a log level with the -loglevel option, values are 0-50 with 0 being the most verbose.

Generate a generic log bundle by executing vm-support and it will generate a log bundle in a .gz format and by default place it in the /var/tmp directory.

Use the -w option to change the working directory of where the bundle will be saved.
Generate vCenter Server and ESXi Log Bundles: Using Export log utility
New in ESXi you can also invoke the export log utility via https:

https://username:password@ESXiHostnameOrIPAddress/cgi-bin/vm-support.cgi
Use esxcli system syslog to configure centralized logging on ESXi hosts: initial steps
Before you go to the effort to configure your hosts for syslog, take a look at the current configuration from the command line using the following command:

esxcli system syslog config get

You can also use the following command to list out the same details, but for each individual log (which will also tell you what all of the log files are):

esxcli system syslog config logger list
Use esxcli system syslog to configure centralized logging on ESXi hosts: check ESXi firewall from GUI
Ensure that the ESXi firewall has the syslog ports open:

1. Log into the vSphere client.
2. From the Inventory tree, click the ESXi host that you have configured, or are configuring remote syslog for.
3. Click the Configuration tab.
4. Under the Software pane, click the Security profile link.
5. In the right pane, to the right of Firewall, click the Properties link.
6. Find the syslog service located under the Ungrouped services.
7. If the checkbox next to syslog isn't checked, check it.
8. Click OK
Use esxcli system syslog to configure centralized logging on ESXi hosts: change the default rotation size
Command Line Interface Solutions and Examples Guide, P 134

esxcli system syslog config set --default-size=<size>
Use esxcli system syslog to configure centralized logging on ESXi hosts: change the default rotation number
Command Line Interface Solutions and Examples Guide, P 134


esxcli system syslog config set --default-rotate=<number>
Use esxcli system syslog to configure centralized logging on ESXi hosts: set the host to send logs to a remote syslog server
Command Line Interface Solutions and Examples Guide, P 134


esxcli system syslog config set --loghost <IP or hostname of syslog server>
Use esxcli system syslog to configure centralized logging on ESXi hosts: load the changes into runtime
Command Line Interface Solutions and Examples Guide, P 134


esxcli system syslog reload
Use esxcli system syslog to configure centralized logging on ESXi hosts: verify changes
Command Line Interface Solutions and Examples Guide, P 134


esxcli system syslog config get
Test centralized logging
Testing your centralized logging can be done via a command in the esxcli system syslog namespace that allows you to send a message to all your logs at the same time. You can use this to send a message, and then check the log on your remote syslog system and see if it shows up.


esxcli system syslog mark --message="Test message."
Install and configure VMware syslog Collector
1. Login to the server you plan on installing syslog collector.
2. Run the vCenter installer.
3. Under vCenter Support Tools, click VMware Syslog Collector.
4. Click the Install button.
5. You can accept all defaults, or change the installation directory and log rotation size and frequency.