We followed the below steps to remove host from vCenter before adding to a new vCenter .
Make sure NFS mounts are active. If NFS mounts are unresponsive, the operation fails.
- From the vSphere Client connected to a vCenter Server system, display the inventory.
- (Optional) If the host is part of a cluster, you must put it in maintenance mode.
- Right-click the managed host in the inventory and select Enter Maintenance Mode from the pop-up menu.
- On the confirmation dialog, click Yes.
The host icon changes and the term “maintenance mode” is added to the name in parentheses.
- Right-click the appropriate host in the inventory panel, and select Remove from the pop-up menu.
- In the confirmation dialog that appears, click Yes to remove the managed host.
While adding the host to the new vCenter we encountered error “Failed to configure the VIM account on the host”. We followed many troubleshooting steps like removing existing vpxa user from the host but no luck . Finally we resolved it by following the below steps as we noticed once the host is added to a vcenter password policies are changed so we had to change the password policies of the host back to default by following the below steps.
- Login to the host Client .
- Navigate to system and Advanced Settings .
- Edit the key Security.PasswordQualityControl Value as