Have you ever met the error displays vCenter cannot synchronize host when connecting ESXi host to vCenter Server? This article will show you the steps to fix the issue.
Hello all, I just starting to use vCenter but find that almost all of our ESXi hosts have the error “Cannot synchronize to host”. I have tried to resolve this issue myself and do my own research, but nothing I read gives me any ideas about where to start. Am i missing something glaringly obvious? I appreciate all your help.
- Question from www.reddit.com
VMware vCenter Server is a centralized platform for administrators to manage vSphere environments more efficiently. However, when connecting ESXi hosts in vCenter, some people may find themselves failing to update the information to the vCenter Server, and displaying the errors such as
This happens because the password of the vpxuser account, which is a proxy created by vCenter when adding an ESX/ESXi host, is out of sync with the vCenter Server database, and the password on the host or the password is manually modified.
The resolution is simple. According to VMware’s Knowledge Base article, you just need to re-register the vpxuser account and resynchronize the password with the vCenter Server database. Next, this article will show you the steps.
1. In vCenter, right-click the ESXi host and select Connection > Disconnect.
2. Connect to ESXi host from web client and navigate to Local Users & Groups > Users tab. Right-click on vpxuser and select Remove.
3. Connect to the Console of the ESXi host and press F2 to enter the System Customization, log in as root, select Troubleshooting Options and click Restart Management Agents.
4. Back to vCenter, right-click on the host select Connection > Connect, and provide the username and password to reconnect the host to the vCenter Server.
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 enables you to backup multiple VMs either managed by vCenter Server, or on a standalone ESXi host.
✦ Agentless Backup: create complete and independent image-level backup for VMware ESXi and Hyper-V VMs. ✦ Flexible vSphere Backup: batch backup large numbers of VMs managed by vCenter Server, or multiple VMs on a standalone ESXi host. ✦ Multiple Storage Destinations: backup to local drive, or network destinations like NAS. ✦ Automated Execution: create backup schedules to automate backups daily, weekly, monthly. ✦ Restore Entire VM: restore instant available VMs from any selected restore points to an original or new location.
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 and install this software.
*You can choose to install this VM backup software on either Windows or Linux system.
Step 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. Enter your vCenter information then click Confirm to add virtual machines.
Step 2. Create Backup Task: Navigate to Backup Task > + Create New Task, and select VMware ESXi Backup as the Backup Type.
Step 3. Set the Task Name, Device, Target, Schedule and Cleanup as needed.
Step 4. Run Backup: Now you can click Start Backup and select Add the schedule and start backup now, or Add the schedule only.
Created backup tasks will be listed and monitored separately for restoring, progress checking, and schedule changes.
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.
Vpxuser is a proxy account with full administrative privileges that is created by vCenter when adding an ESXi host. However, if you manually modify the vpxuser password which makes it out of sync with the vCenter database, it may cause VMware cannot synchronize host. Thus, VMware does not recommend to modify the vpxuser account. This article showed the steps on how to fix the vCenter cannot synchronize host error.
If you are concerned that errors may lead to unexpected data loss, performing regular backups is an effective way to save you from this situation. You can try AOMEI Cyber Backup which allows you to batch backup VMware ESXi VMs managed by vCenter.