ESX Agent Manager (EAM) Service fails to start after VMware vCenter Server Appliance (VCSA) reboot or recovering from 100% storage utilization issue.
EAM MOB web interface unable to access as well. Before EAM starts, eam.properties
file is getting updated using cis.utils.replace_properties_in_file
. This rewrites the eam.properties file which causes a loss of the data inside the file or eam.properties getting removed during start of the EAM service in an environment without any disk space.
Follow below steps to recover EAM service on VCSA 6.0 by manually replacing eam.properties file.
ESX Agent Manager Service fails to start after VMware vCenter Server Appliance reboot
Solution
- Connect to vCenter appliance using SSH or console, enter a bash shell.
- Browse to
/etc/vmware-eam/
- Clone
eam.properties
file to have a backup from the original file using below command:cp eam.properties eam.properties.old
- Determine the host ID using command below:
cat /etc/vmware/install-defaults/sca.hostid:
- Check the vCenter FQDN:
host -f
- Execute below command to change the file permission:
chmod 777 eam.properties
- Execute script Recreate_eam.propertiers.sh
- Run below command to change the permission of ema.properties:
chmod 0644 eam.properties
- Start EAM service:
Service vmware-eam start