In scenarios where EAM agencies are not functioning as expected following a vSAN shutdown, the following workaround should be applied.
For all future operations, it is strongly recommended to use the Restart Cluster Wizard after completing the vSAN Shutdown Wizard to ensure proper reinitialization of services.
Prerequisite:
Ensure that all virtual machines (VMs) running on the vSAN cluster are accessible and operating normally before proceeding.
Workaround Steps
https://<VCENTER_IP>/eam/mob?vmodl=1
<cluster type="ClusterComputeResource" serverGuid="Server GUID">MOID</cluster>
If the Task Fails
<cluster type="ClusterComputeResource">MOID</cluster>
If vCLS VMs Are Still Not Deployed
Put the cluster into retreat mode, then disable retreat mode to force a refresh of the deployment process, steps are mentioned here: Disable vCLS on a Cluster via Retreat Mode
when EAM agents are disabled: Despite the Supervisor VMs being healthy and all pods running, the WCP service can throw errors such as
API call to VMware ESX Agent Manager (eam) failed. Details 'ServerFaultCode: "com.vmware.eam.DisabledOperationException: Invocation of disabled API Agent.markAsAvailable"
After following restarting the vSAN Cluster and Enabling the EAM Agencies for the cluster in EAM Managed Object Browser (MOB), you may need to restart the WCP service on vCenter.
vmon-cli -r wcp