The EAM Sample Solution contains classes that you can use to integrate a solution with ESX Agent Manager Manager.

For descriptions of the objects that the EAM Sample Solution implements, see the vSphere ESX Agent Manager API Reference.


To connect a solution to ESX Agent Manager, you must obtain connection information from the vCenter Server in which you run the solution. You pass a reference to the EsxAgentManager instance that is running in vCenter Server to the solution.


You must define the configuration of the ESX agencies in the implementation of the solution. You set the configuration for ESX agencies and ESX agents in the AgencyConfigInfo and AgentConfigInfo data objects.


You create an ESX agency by calling the EsxAgentManager.createAgency() method. You must specify ESX agent configurations for each version of ESX Server on which you deploy ESX agents.


You define the ESX agency scope of a solution by passing to the solution the managed object references (MoRefs) of the vSphere compute resources on which the solution runs.


A solution can change the goal state of its ESX agencies while the solution is running. For example, when a solution starts, the goal state of its ESX agencies can be ENABLED. If the solution includes a function to remove ESX agencies, when this function runs, the goal state of the ESX agency changes to UNDEPLOYED.


A solution can delete an ESX agency by calling the Agency.destroyAgency() method on the Agency object.


ESX Agent Manager can detect issues in the ESX agents that solutions deploy. Solutions can try to resolve issues when the status of an ESX agency or an ESX agent is set to red.


To use DvFilter virtual switches in solutions, you must specify in the Open Virtualization Format (OVF) descriptor which components represent the ethernet adapter for DvFilter data and which components represent the ethernet adapter for DvFilter control.