Upgrading an AE System from Version 10 to Version 12.3
As a system administrator, you upgrade your existing Automation Engine system to the latest version.
Important!
-
It is strongly recommended to carry out the upgrade steps in the order they are listed in the CAPKI documentation, see CAPKI - Securing the ServiceManager.
-
Never upgrade a productive AE system without having it tested extensively in a separate environment.
-
If you want to upgrade from an Automation Engine version that is out of maintenance or need help with your upgrade, please contact CA Automic Technical Files to Aid Technical Support.
-
The Automation Engine and the Automic Web Interface components should always be on the same release version. To check other compatibility issues, see Compatibility Information.
-
If you upgrade the AE manually without using ZDU, the WPs in the new version always start in cold mode. If you upgrade by using ZDU, no cold start is required.
This page includes the following:
Prerequisites
-
Checking for Incompatibilities between Version 12.2 and 12.3
-
Checking for Incompatibilities between Version 12.1 and 12.2
-
Checking for Incompatibilities between Version 12.0 and 12.1
-
Checking for Incompatibilities between Version 11.2 and 12.0
-
Checking for Incompatibilities between Version 11.1 and 11.2
-
Checking for Incompatibilities between Version 10.0 and 11.1
- Preparing for the Upgrade
Upgrading the Core Components
Important! Do not remove or overwrite the installation directories of your Automation Engine, ServiceManager or Utilities. Back up the corresponding folder in order to make sure that you can quickly return to your old version.
System |
Work steps |
---|---|
|
Upgrade Utilities Always use a separate directory in order to avoid mixing files of the different Automation Engine versions. Depending on the computer, you will either install one or several components.
Example for Windows Utility in C:\AUTOMIC\UTILITY\BIN Database files in C:\AUTOMIC\UTILITY\DB |
|
Upgrade AE and ServiceManager
|
|
Upgrade Framework Integration (optional) If you use a Framework Integration such as "AE Smart Plug-In for HP OpenView", it is best to install it in the new Automation Engine version. |
Upgrade the Automic Web Interface Upgrading an existing installation to the new release upgrades the AWI framework and all its plug‑ins at the same time. Use the same steps to install hot fix packages between releases.
|
|
|
Stop all clients Stop all clients when your are about to upgrade. This is easily done in the system control of client 0000. |
|
Stop the Automation Engine Note: If you work in a distributed server environment, all server processes on all participating computers are deactivated. Also pay attention to programs such as Watchdogs, cluster monitoring etc. before ending the server processes. They might raise an alarm or restart the Automation Engine. |
|
Back up the AE Database As already described in the section on preparations, creating a database copy provides many advantages. Duplicate it now if you have opted for this step but have not yet executed it. If a database duplicate was already made at an earlier point in time, check if this duplicate must be upgraded. |
|
Upgrade the AE Database If you have created a duplicate, it is recommended to upgrade it now in order to make sure that the original instance remains operable. Keep in mind to enter the correct database connection in the INI files of the utilities. Database Upgrade with AE DB Load Utility Notes:
To Upgrade the Database with AE DB Load Utility
Windows example: |
|
Configure and Start the Java Work Process (JWP) As of version 11.2 of the Automation Engine the Export with references function and the full text search in the AWI require a JWP. For more information, see Installing the JWP. Notes:
The JWP is provided in the same directory as all the other Automation Engine files. The directory /configuration/ is created automatically when the JWP is first started and contains the OSGI bundle's cache. Unpacking the files In Windows, the JWP files are automatically copied from the SETUP.EXE program to the BIN directory. In UNIX, the files are located in the respective TAR archive. Copy the provided "plugin" and "lib" directories into the BIN directory of the Automation Engine. Important! If the bin directory for this installation already has a "plugin" and/or "lib" directory make sure to delete them before copying the new ones. The subsequent installation steps depend on the database type used. Java Cryptography Extension (JCE) (Optional - Only for SSO with Kerberos) Important! JDK requires these policy files only if you work with Java 8. Java 9 and later versions include and use these files by default.
MS SQL Server
Oracle
DB2
PostgreSQL
JDBC connection to the database Define a separate database connection string for the JWP in the [JDBC] section. You can automatically generate this string by using the following command: java -jar ucsrvjp.jar -setup The system then verifies that the JDBC driver is available and that the database connection could be established. SSL certificates for LDAP (Optional) In order to use SSL, the certificate(s) of the LDAP server must be available to the Java Work Process. The JWP uses the default keystore file cacerts in the lib/security directory of the JRE. Keystore file configuration options Using an alternative keystore file: If you want the JWP(s) to use an alternative keystore file, you have to define the file name and path to a centrally stored file in the JWP_KEYSTORE_PATH key in the UC_SYSTEM_SETTINGS variable. In case the defined path is not accessible or invalid, a log message will be written to the default log location and the JWP will use the default keystore file. For more information, see JWP_KEYSTORE_PATH. Creating an individual keystore file using the JWP: If you want to use an individual keystore file, you can create it using the following command:
In case the defined path in keystorePath does not exist, the JWP creates a new keystore file in that location. You can then define a password for that keystore file. Using an alternative password for keystore file access: The default password used by the JWP is the default password of the JRE keystore. If you want the JWP to use a different password, you have to define a Login object containing that password by following these steps:
Adding the certificates
Starting the JWP Use this kind of command to start the JWP via the command line java -Xmx2G -jar ucsrvjp.jar -Iucsrv.ini The file ucsrvjp.jar is provided in the same directory as the other Automation Engine files. It is used exclusively to start the JWP. The JWP can also be started via ServiceManager. java -Xmx2G -jar ucsrvjp.jar -svc%port% -Iucsrv.ini The -svc parameter should be omitted when starting directly via the command line. The parameter -I to specify the INI file is optional. If the parameter is missing, the JWP attempts to find the file "ucsrv.ini" in the current working directory (= directory in which the file "ucsrvjp.jar" is located). |
|
Configure and Start the Java Communication Process (JCP) The files needed for JCP are the same as the files provided for JWP in the same directory as all the other Automation Engine files. Since the JWP's installation is mandatory and the files necessary for the JCP are the same as those used to install the JWP, there is no need to unpack any files nor to carry out any other installation step. Notes:
HTTPS/SSL set up for AE REST API In order to use HTTPS you need to set the sslEnabled parameter to 1 and continue with the setup of the following parameters in the configuration file (ucsrv.ini) of the Automation Engine:
Adding the certificates JCP uses keystore as defined in the Automation Engine configuration file. For additional information as well as information on adding certificates see https://www.eclipse.org/jetty/documentation/9.4.x/configuring-ssl.html. Starting the JCP Use this kind of command to start the JCP via the command line: java -Xmx2G -jar ucsrvjp.jar -IC:\temp\ucsrv.ini -rest The file "ucsrvjp.jar" is provided in the same directory as the other Automation Engine files. It is used exclusively to start the JWP and JCP. The JCP can also be started via ServiceManager. java -Xmx2G -jar ucsrvjp.jar -Iucsrv.ini -svc%port% -rest The -svc parameter should be omitted when starting directly via the command line. The parameter -I to specify the INI file is optional. If the parameter is missing, the JCP attempts to find the file "ucsrv.ini" in the current working directory (= directory in which the file "ucsrvjp.jar" is located). Setting Up Multiple REST API Processes The JCP installation is relevant for the AE REST API and for the advanced object search. You can install a single Java communication process (JCP). In this case, all REST requests are sent to this single AE REST API instance and no REST API is available if the Java communication process (JCP) is down. You can also set up a system with multiple Java communication processes (JCPs). In this case, two Java communication processes (JCPs) are used in a cluster but only one of both is available at the time. Important! When using multiple Java communication processes (JCPs), it is imperative that each one uses its own Automation Engine configuration file (ucsrv.ini, see Automation Engine). If only one INI file is used for more than one Java communication process (JCP), the first one connects successfully while the others terminated upon trying to register the same REST port if both run on the same node. An error message is written to the log file of the JCP stating the reason for termination. Setting up a system with multiple Java communication processes (JCPs) can be convenient for balancing and to provide failover capabilities, because the REST requests are sent and distributed only to available Java communication processes (JCPs). For more information, see AE REST API - General Info. |
|
Start the Automation Engine and Clients Cold-start the server processes when all installation and configuration step have successfully been completed. Do so in the INI file of the server processes by setting the parameter StartMode= to COLD. Now the processes can start. |
|
Monitor the AE System Do not yet replace the agents. Older agent versions run smoothly with newer Automation Engine versions. In order to take advantage of new features to the full make sure to upgrade agents as well. Important! Do not change anything in your processing and carefully monitor your AE system over an extended period of time. A few hours or days are not enough. It can take a while before problems occur, especially if they are the result of a particular constellation in your processing. |
Upgrading the Remaining Components
System |
Work steps |
---|---|
|
Install the Agents
Examples:
Important!
To ensure that jobs call the new Job Messenger, follow the steps below:
|
|
Install the Remaining Components Now you can replace components such as the CallAPIs. Keep in mind to monitor the newly installed version for some time. |
|
Use the New Functions
|