I encountered a situation where ESXi 7 Update 3g (build 20328353) stopped sending logs to a remote Syslog server. Upon further investigation, it turned out that it also stopped writing logs locally, and the logs in /scratch/log are not updated. Free disk space is not a problem.
During diagnostics, errors were detected in the /var/log/.vmsyslogd.err log:
vmsyslog.main : CRITICAL] Dropping messages due to log stress (qsize = 25000)
I did not find adequate KB for version 7 on this topic, there was only KB for version 6.5/6.7 with a mention of this error, where it was written that “the problem has been fixed”.
The esxcli system syslog config get command correctly displays the status of the syslog settings, but esxcli system syslog reload does not lead to positive results, logs do not start to be written locally, and are not sent to the remote server.
Restarting the service from the host management interface with the Restart button also does not lead to any results. In the log, you can only see:
vmsyslog.main : ERROR ] reloading (3200395)
Which is similar to the result of esxcli system syslog reload.
Stopping and restarting the service from the ESXi interface fails because:
This service with 'vmsyslogd' is marked as 'required' and cannot be stopped.
All that remains is to stop it forcibly directly from the host:
Today, a new version of VMware vSphere 8.0 has been released. It is a major update that contains tons of new features in different areas, including live patch management, partial maintenance mode, embedded vCLS, and more and more.
I do not want to copy all well-written info here but to share a few links.
VMware ESXi 8.0 Update 2b is out and contains a lot of bug fixes. One of the fixes I want to mention is a bug in CBT:
Changed Block Tracking (CBT) might not work as expected on a hot extended virtual disk:
In vSphere 8.0 Update 2, to optimize the open and close process of virtual disks during hot extension, the disk remains open during hot extend operations. Due to this change, incremental backup of virtual disks with CBT enabled might be incomplete, because the CBT in-memory bitmap does not resize, and CBT cannot record the changes to the extended disk block. As a result, when you try to restore a VM from an incremental backup of virtual disks with CBT, the VM might fail to start.
As a workaround, there were two options: not to use hot extend and perform disk extend operations when the VM is powered off, or create periodically full backups to reset the CBT.
So, if you’re running ESXi version 8.0 Update 2, you should consider updating to the 8.0 Update 2b as soon as possible.
In some cases, when we need a highly available vCenter Server, we can use vCenter HA functionality. In short – it’s a second copy of your vCenter VM (and a witness node), with configured replication between active vCenter node and passive vCenter node.
If something happens to the active node, the standby node will take over the entire process and it will reduce the overall downtime of the vCenter Server.
Let’s look at how to enable vCenter HA, and what we need to do.
In the previous article, we talked about how to restore vCenter using native backup. In this part, we will talk about how to restore VMware vCenter Server using Veeam Backup and Replication.
Although restoring a VM using Veeam is a simple task, but when we are talking about vCenter Server a few moments should be considered.
Someone may know that a vSphere 8.0 Update 2 bug prevents you from setting a static MAC address for a VM (KB 95189).
The symptom is simple – you change the MAC address in the VM’s network interface settings, but after you click OK, nothing changes.
As a workaround, there is a solution – do the same using vSphere Host Client (ESXi Web interface). But in my case, this workaround doesn’t help, I’ve received an error:
Failed to reconfigure virtual machine pleasechangemymac. Invalid configuration for device '4'.
If you are in this situation and you need to change a VM MAC address, one good old hack still works – edit the VM’s VMX file.
vCenter server is a critical part of the VMware infrastructure stack, and most components and 3rd-party solutions depend on it. Although downtime of vCenter may not cause a problem with overall infrastructure and will not cause a VMs downtime, it will affect the provision of new resources, management, backups, and so on. So, keeping your vCenter up and running is a priority task in most cases.
In the few articles, we will look at how to backup and restore the vCenter server, if something goes wrong. There are a few strategies for protecting the vCenter server, but all of them depend on the required availability of the service. It can be backup, replication, vCenter HA functionality, or even deploying a new vCenter and connecting hosts manually.
We will look at two options – backup and restore vCenter using the native backup function and backup and restore vCenter using 3rd party backup software.
In this article, we will take a closer look at how to backup vCSA using native backup, available in VAMI.
With the announcement of vSphere 8.0 Update 2 a new interesting feature called vCenter Reduced Downtime Update (RDU) was introduced.
This feature can reduce overall vCenter Server downtime during updates and upgrades.
In a nutshell, RDU is a vLCM feature that creates a new already updated vCenter Server virtual machine and copies all data from running vCenter to the new copy. After data is copied, all we need to do is to switch over to the updated copy of vCenter. Switchover takes less time than the full upgrade procedure and minimizes the downtime of vCenter.
In this article, we will look at how to update the vCenter server from version 8.0 Update 1 to version 8.0 Update 2 using RDU.