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.
When you create ESX agencies, you provide the AgencyConfigInfo object with an array of AgentConfigInfo objects for each version of ESX Server on which the agency deploys ESX agents. You also define the name of the ESX agency and of the ESX agents and the scope of the ESX agency in the AgencyConfigInfo object.
You define the deployment of the ESX agent virtual machines in the AgentConfigInfo object. You set the following information in the AgentConfigInfo object.
The URL to the ESX agent virtual machine OVF and the URL to an optional VIB must lead to a server that ESX Agent Manager can access. ESX Agent Manager downloads the ESX agent virtual machine from the URLs that you provide and deploys the virtual machines on the ESX hosts. ESX Agent Manager installs one ESX agent instance per agency per host.
Setting the ovfEnvironment property allows a solution to provide OVF properties specific to the ESX agent virtual machine. ESX Agent Manager sets the OVF properties when it deploys an ESX agent. A typical use of the ovfEnvironment field is to specify the IP address and credentials of the solution so that ESX agents can connect back to the solution when they are running.
■
| |
■
|
Verify that you have set up and started the EAM Sample Solution in an application server. |
■
|
Open eam_work_folder\src\com\vmware\eam\sample\solution\AgentHandler.java in a text editor. |