What are vCenter Server Logs and How vCenter Backup Logs

Referring logs is an effective way to troubleshoot. Do you know the vCenter logs location and how to backup vCenter logs? This article will introduce the location and types of vCenter Server logs, and show you how to collect vCenter logs.

Crystal

By Crystal / Updated on February 2, 2023

Share this: instagram reddit

Case: how to collect or backup vCenter logs?

vCenter Server is a very convenient official platform for centrally managing ESXi virtual environments and large numbers of VMs on it. A single vCenter Server instance can support a maximum of 1,000 hosts, 10,000 powered-on virtual machines and 15,000 registered virtual machines.

With such a large size of virtual environment configured, you may need to learn about what is happening in your environment by collecting logs from ESXi and vCenter Servers, especially valuable troubleshooting information.

vmware vcenter server

This article will introduce the types and location of vCenter Server logs, and show you how to collect vCenter backup logs.

Types of vCenter Server log files

vCenter Server provides many different types of logs to record different information. Grouped by component and purpose, the types of vCenter Server logs are:

  • vpxd.log: The main vCenter Server log, consisting of all vSphere Client and WebServices connections, internal tasks and events, and communication with the vCenter Server Agent (vpxa) on managed ESXi hosts.
  • vpxd-profiler.log, profiler.log, and scoreboard.log: Profiled metrics for operations performed in vCenter Server. Used by the VPX Operational Dashboard (VOD) accessible at https://VCHostnameOrIPAddress/vod/index.html.
  • vpxd-alert.log: Non-fatal information logged about the vpxd process. (No longer present in 6.7/7.0.)
  • cim-diag.log and vws.log: Common Information Model monitoring information, including communication between vCenter Server and managed hosts' CIM interface.
  • drmdump\: Actions proposed and taken by VMware Distributed Resource Scheduler (DRS), grouped by the DRS-enabled cluster managed by vCenter Server. These logs are compressed.
  • ls.log: Health reports for the Licensing Services extension, connectivity logs to vCenter Server.
  • vimtool.log: Dump of string used during the installation of vCenter Server with hashed information for DNS, username and output for JDBC creation.
  • stats.log: Provides information about the historical performance data collection from the ESXi hosts
  • sms.log: Health reports for the Storage Monitoring Service extension, connectivity logs to vCenter Server
  • eam.log: Health reports for the ESXi Agent Monitor extension, connectivity logs to vCenter Server.
  • catalina.date.log and localhost.date.log: Connectivity information and status of the VMware Webmanagement Services.
  • jointool.log: Health status of the VMwareVCMSDS service and individual ADAM database objects, internal tasks and events, and replication logs between linked-mode vCenter Servers.
  • Additional log files: manager.date.log, host-manager.date.log

Note: As each log grows, it is rotated over a series of numbered component-nnn.log files. On some platforms, the rotated logs are compressed.

Where to view vCenter Server logs and how vCenter backup logs

If you want to collect or backup vCenter logs, you may need to know where to view the vCenter Server logs in advance.

According to VMware, for vCenter Server deployment, most logs are located in /var/log/vmware/.

vSphere vCenter logs location

If you want to collect or backup vCenter Server logs, you can follow the subsequent steps to export them from vSphere UI:

1. For vCenter version 6.0 to 6.5 from Flash UI: select the target vCenter Server, and click Monitor > System Logs > Export System Logs.

For vCenter version 6.7 and above from HTML UI: select the target vCenter Server and click Actions > Export System Logs.

Export system logs

2. Check the option Include vCenter Server and vSphere UI Client logs, click NEXT to continue.

Select hosts

3. Select specific system logs to export, click EXPORT LOGS to start.

Select logs

Necessary data protection: Batch backup VMs managed by vCenter

You may already know that it is necessary to perform image-based backup of large amounts of VMs managed by vCenter Server, however, vCenter Server does not provide the feature of virtual machine backup. And that makes backup software a commonly accepted choice.

Here I introduce you to a VMware backup software AOMEI Cyber Backup, it automates the backup process of multiple VMs managed by vCenter Server, or on a standalone ESXi host, and sends email notifications if there's an error.

Agentless Backup: create complete and independent image-level backup for VMware ESXi and Hyper-V VMs.
Multiple VM Backup: batch backup large numbers of VMs managed by vCenter Server, or multiple VMs on a standalone ESXi host.
Multiple Storage Destinations: backup to a local drive, or network destinations like NAS.
Automated Execution: create backup schedules to automate backups daily, weekly, or monthly.
Email Notification: send email notification when the task is completed or abnormal.

AOMEI Cyber Backup supports both paid and free versions of VMware ESXi 6.0 and later versions. Next, I will show you how to batch backup VMs managed by vCenter Server with AOMEI Cyber Backup in 4 simple steps.

You can click the following button to download the 30-day free trial.

Download Free TrialVMware ESXi & Hyper-V
Secure Download

4 Steps to batch backup VMs managed by vCenter Server

1. Bind Devices: Access to AOMEI Cyber Backup web client, navigate to Source Device > VMware > + Add VMware Device to Add vCenter or Standalone ESXi host. And then click > Bind Device.

Add VMware ESXi host

2. Create Backup Task: Navigate to Backup Task > + Create New Task, and select VMware ESXi Backup as the Backup Type.

VMware ESXi backup

3. Set Task Name, Device, Target, Schedule, and Cleanup as needed.

  • Task Name: you can change the task name or use the default name with an ordinal.
  • Device: batch select large numbers of VMs managed by vCenter Server for centralized backup.

Select virtual machines vCenter

  • Target: select to back up to a local path, or to a network path.
  • Schedule (optional): perform full, differential, or incremental backup, and automate execution according to the frequency you specified.

Backup schedule type

  • Cleanup (optional): automatically delete the old backup copies that exceed the retention period you specified.

backup cleanup

4. Run Backup: Click Start Backup and select Add the schedule and start backup now, or Add the schedule only.

Start Backup

Created backup tasks will be listed and monitored separately, for restoring, progress checking and schedule changing.

When restoring, you can also restore to new location to create a new VM in the same or another datastore/host directly from the backup, saving the trouble of re-configuring the new VM.

Restore to new location

Summary

Each vCenter Server instance generates a lot of logs of tasks that were performed, and logs of events that occurred. If you want to update vCenter or cleanup outdated data, you may need your vCenter backup logs in advance. This article introduces types and location of vCenter Server logs, and showed how to backup vCenter logs via vSphere UI.

Except for logs, the data on VMs is of great importance. You can try AOMEI Cyber Backup to perform image-level backup of the VMs managed by vCenter Server in an agentless way.

Crystal
Crystal · Editor
Crystal is an editor from AOMEI Technology. She mainly writes articles about virtual machine. She is a positive young lady likes to share articles with peolpe. Off work she loves travelling and cooking which is wonderful for life.