The following guide describes how to install an agent in an AE system in which authentication is not used. Additional installation steps are required before the agent can be started and used if you intend to use one of the available authentication methods. More detailed information is provided in the document Advanced Security.
Automic strongly recommends installing the agent in a separate directory (such as UC4/Agent/rapidautomation or C:\AUTOMIC\Agent\rapidautomation).
Before you start the installation, make sure that the Java agents can only connect to CP port numbers that are lower than 65536. If they use a higher port number, the agent cannot start and aborts with an error message. This limitation is caused by Java and affects the agents for JMX, Databases, SAP and RA.
The files that belong to the RA agent are stored in the directory IMAGE:AGENTS\RAPIDAUTOMATION.
|
1. | Installing Java Standard Edition |
|---|
This installation step can be omitted if the required version of Java Standard Edition is already available.
java -version
Note that the order of the indicated directories is relevant when specifying %PATH% or $PATH if several versions of JRE or Java SDK are installed on your computer. The Java Runtime Environment that is listed first is used.
|
2. | Setting up the Agent |
|---|
|
3. | Loading the RA Solution |
|---|
The RA agent can only connect to one RA Solution. If you intend to use several RA Solutions, keep in mind that each solution requires its own RA agent.
Note that you cannot load the same JAR file of an RA Solution to several systems at a time. Any attempt to do so can cause the utility AE DB Load to abort.
|
4. | Creating Connection objects |
|---|
|
5. | Starting the Agent |
|---|
The RA agent only starts if an Agent object of the same name exists in system client 0000.If you load the RA solution, then start the agent shortly afterward, you may get a cached agent rather than the one you just loaded. You can avoid this by adding disable_cache to the end of the start command. That way the loaded version is always started.
You can also start the agent via the ServiceManager.
Note that the storage limit should be set to at least 256MB (or 512MB) for starting Java agents (Databases, RA, JMX, SAP). You can specify a value for the storage limitation of Java applications by using the start parameter -XmX. Specifying a value that is too low can cause the agent to crash. The default value depends on the Java version that is used.
The Java parameter -Xrs ensures that the agent ends properly when a normal end is initiated. Automic recommends using this parameter. More detailed information is provided in the Java documentation.
|
6. | Important notes for Job creation |
|---|