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.

1

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.

2

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.

3

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.

4

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

5

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.

6

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

7

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.

8

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.