You can install the custom agent in one of the following directories.
On UNIX:
/opt/VRTSvcs/bin/custom_type/
/opt/VRTSagents/ha/bin/custom_type/
A user-defined directory. For example /myagents/custom_type/. Note that you must configure the AgentDirectory attribute for this option.
Make sure you create the custom_type directory at only one of these locations.
Add the agent binary and the script entry points to the custom_type directory.