By default, VCS runs agent binaries from the path $VCS_HOME/bin/AgentName/AgentNameAgent. For example, /opt/VRTSvcs/bin/FileOnOff/FileOnOffAgent.
You can instruct VCS to run a different set of agent binaries or scripts by specifying values for the following attributes.
Specify a value for this attribute if the name of the agent binary is not the same as that of the resource type.
For example, if the resource type is MyApplication and the agent binary is called MyApp, set the AgentFile attribute to MyApp. For a script-base agent, you could configure AgentFile as /opt/VRTSvcs/bin/ScriptAgent.
Specify a value for this attribute if the agent is not installed at the default location.
When you specify the agent directory, VCS looks for the agent file (AgentNameAgent) in the agent directory. If the agent file name does not conform to the AgentNameAgent convention, configure the AgentFile attribute.
For example, if the MyApplication agent is installed at /opt/VRTSvcs/bin/CustomAgents/MyApplication, specify this path as the attribute value. If the agent file is not named MyApplicationAgent, configure the AgentFile attribute.
If you do not set these attributes and the agent is not available at its default location, VCS looks for the agent at the /opt/VRTSagents/ha/bin/AgentName/AgentNameAgent.