Upgrading an AE System from Version 11.1 to Version 12.1
Guidelines for upgrading to a new Automation Engine version.
If you want to upgrade from an Automation Engine version that is out of maintenance, please contact support!
For help with your upgrade, contact Automic Technical Support.
If you would like to print this page, click
in the menu bar above to expand the steps below:
Preliminary Information
|
Never upgrade a productive AE system without having it tested extensively in a separate environment. For details about installing hotfixes, see the related topic hotfix installation. The Automic Web Interface and the AE server must have the same release version. To check other compatibility issues, see Automic Compatibility Matrix. |
|
When changing the version of the Automation Engine, the utility AE DB Load processes and monitors all the required steps for changing the database. This is necessary, because it also modifies data that cannot be changed with SQL. All steps that the utility processes during the upgrading process are logged in the file uc_upd.txt. The file chngdb.sql also informs about the database-relevant statements that were set. These statements must be processed by the utility. Refer to the Release Notes of the relevant Automation Engine version for changing the database and preparing the necessary steps. The upgrading process comprises of several stages:
Never change to a new Automation Engine version without having planned a re-conversion scenario. Each stage consists of many small steps. Your AE system is not upgraded all at once but step by step. The old components are not overwritten and the new files are installed in separate directories. Only the AE database is directly upgraded with the utility AE DB Load. This method has two main advantages:
First upgrade your test system. Possible problems can so be recognized and solved before they occur in your production system. Test the individual upgrading steps, thereby setting up a plan for upgrading your production system. The AE system is not available while the database is being upgraded. After each step of the upgrade installation, it is essential to monitor the new components for some time. Only continue the upgrading procedure when they have proven to run stably. Note that the upgrading process Automic recommends enables production to be continued in the old Automation Engine version at any time. The only requirements are a parallel installation of the components and the provision of a second database instance. Use the message-comparing program if you require a list of all changed messages. Objects can be exchanged between different Automation Engine systems or between individual clients via the Import/Export function. The object information is stored in an XML file. Since this is not a supported interface for any other propose than that, the documentation of the XML file structure was removed from the documentation. Changes to the XML file structure may happen anytime.” |
|
Done |
Condition |
|---|---|
|
|
Carefully read the Release Notes of the relevant Automation Engine version.
|
|
|
Upgrade a test system first. |
|
|
Test your workflows in the test system before upgrading the production system. |
|
|
Make sure access to the computers and database is granted for administration. |
|
|
Decide your type of upgrade: backup/restore the whole environment (in place upgrade) or duplicate the environment (parallel upgrade) and decide if agents will be updated along with the engine. |
|
|
You can request assistance from consultants or even 24x7 support when you upgrade your system. Our experts are trained in providing excellent support when action is taken in critical and sensitive areas of your AE system. Contact your Account Manager or the Technical Support Team as soon as you know when you are going to start the upgrading process. |
|
|
If the database scheme derives from the standard, the AE Scripts must be adopted according to the modifications. |
|
|
Ensure that you have the phone number and email address of Technical Support and your login data for the Download Center. |
The Installation Steps
1. Check Incompatibilities between Version 12 and 12.1
The table below lists new features that might lead to compatibility issues or should be taken care of when upgrading - it does not list all new features of this AE version.
New features are described in full in the release highlights.
Description of the table columns:
- Topic - Name of the general topic or new feature
- Changed behavior - What has been changed
- Possible incompatibilities - Impact the change may have
- Actions/Countermeasures - What can be done to identify and/or remove possible incompatibilities
|
Topic |
Changed Behavior |
Possible Incompatibilities |
Actions/Countermeasures |
|---|---|---|---|
|
General DB change Information and the checking instructions apply to all versions, between your existing installation and the latest you want to upgrade to, respectively. |
The DB scheme/structure has been changed. |
Custom SQL queries on AE DB do not work anymore. |
|
| Java Communication Porcess (JCP) | Installation of JCP(s) is mandatory for AE operations. | JCP/REST API is a required component as of 12.1 but it is not installed. | Install JCP(s) |
| Java >= 1.8 required | As of version 12.1 all components using Java (except RA solutions) have been lifted from Java 1.7 up to 1.8 compile compatibility. | Java components will not run on computers with Java Version 1.7 or lower. | Upgrade Java Runtime to version >= 1.8.0. |
| IPv6 | Support for IPv6 | None | The system runs either in IPv4/IPv6 only environment, or a dual-stack environment where both is allowed. |
| 500k agent support |
AE supports up to 500k agents:
|
CPs now write job reports directly into the report tables within the AE database instead of passing it to the RWP. The load on CP side will therefore increase, but poses no problem at all. | If the customer experiences a performance drop due to this change of behavior, it is best to start more CPs to distribute the load. |
| Remove deprecated ResourceAdapter from ApplicationInterface | ResourceAdapter is no longer supported after being deprecated. | ResourceAdapter no longer available. | |
| AE REST API introduced | The completely new AE REST API is introduced. Some of its functional parts replace existing functions (e.g. object search). If the JCP does not work properly, the user will not be able to use specific functions. | If the new JCP is not set up and configured properly, AWA will not work as expected after an upgrade. | JCP has to be installed. Its INI file has to be configured properly (Object Search, REST WS). |
| New PS Agent | The tech stack of the PS agent has been changed to Java and some new functions have been added (as of V12.0.1). The new agent works with existing/old PS jobs and INI files without incompatibilities. |
|
|
2. Check Incompatibilities between Version 11.2 and 12
The table below lists new features that might lead to compatibility issues or should be taken care of when upgrading - it does not list all new features of this AE version.
New features are described in full in the release highlights.
Description of the table columns:
- Topic - Name of the general topic or new feature
- Changed behavior - What has been changed
- Possible incompatibilities - Impact the change may have
- Actions/Countermeasures - What can be done to identify and/or remove possible incompatibilities
|
Topic |
Changed Behavior |
Possible Incompatibilities |
Actions/Countermeasures |
|---|---|---|---|
|
General DB change Information and the checking instructions apply to all versions, between your existing installation and the latest you want to upgrade to, respectively. |
The DB scheme/structure has been changed. |
Custom SQL queries on AE DB do not work anymore. |
|
|
Java Workprocess (JWP) |
Installation of JWP(s) is mandatory for several functions in Automation Engine and AWI. |
|
Install JWP(s) |
|
UserInterface |
The UserInterface has been replaced by the Automic Web Interface. The new features for v12 have been implemented for the AWI exclusively. |
|
|
|
Service Level Management (SLM) |
The Service Level Management via the Service Level Objective objects (SLOs) is a new function as of v12. The monitoring has been implemented by checks via CPs and JWPs. |
|
|
|
Zero Downtime Upgrade in AWI |
As of v12 the ZDU is available in the AWI. Take care not to conduct the ZDU steps using UI and AWI alternately. Perform the ZDU either via AWI or UI exclusively. |
|
|
|
Change of script function behavior:
|
In connection with the new feature Centralized Agent Upgrade (CAU) the behavior of these script functions has been changed. They do not abort anymore, if an agent is not available but stay in "Waiting for host" instead. |
|
|
|
All ServiceManager actions require a password. |
The password defined in the ServiceManager settings is now required for all possible actions in the ServiceManager. |
You will be prompted for a password when:
|
Enter the correct password when prompted. |
|
Rapid Automation (RA) agent solutions |
In order to edit RA objects in the AWI, you must upgrade your RA agent solutions to versions that support the AWI. The latest version of most, but not all, RA solutions support the AWI. For information on specific RA solutions, see the Automic Compatibility Matrix. |
|
Contact Technical Support. |
|
Web Service agent changes |
New versions of the Web Service agent were split into separate RA solutions for SOAP (4.0.0) and REST (4.0.0). |
Existing objects of version 3 are not automatically migrated to objects of version 4. |
To migrate existing jobs from version 3 to 4 do the following :
|
|
DB Load and upgrade on SQL-Server |
If the parameter in the SQL database READ_COMMITED_SNAPSHOT = FALSE then:
Therefore in such cases the Zero Downtime Upgrade (ZDU) is not available. |
|
Set READ_COMMITTED_SNAPSHOT = TRUE |
| Automic File Transfer from/to z/OS Agent | During the file transfer, switching between the agent and the file transfer user is enabled by default. | Note that you may need additional permissions for the file transfer and the agent user. The function call seteuid()/setegid() may fail. |
Make sure that the permissions specified in the installation documentation of the z/OS agent are granted. Workaround: Set parameter ft_thread_level_security=no in the Agents’s INI file at the (GLOBAL) section. |
3. Check Incompatibilities between Version 11.1 and 11.2
The table below lists new features that might lead to compatibility issues or should be taken care of when upgrading - it does not list all new features of this AE version.
New features are described in full in the release highlights.
Description of the table columns:
- Topic - Name of the general topic or new feature
- Changed behavior - What has been changed
- Possible incompatibilities - Impact the change may have
- Actions/Countermeasures - What can be done to identify and/or remove possible incompatibilities
|
Topic |
Changed Behavior |
Possible incompatibilities |
Actions/Countermeasures |
|---|---|---|---|
|
General DB change Information and the checking instructions apply to all versions, between your existing installation and the latest you want to upgrade to, respectively. |
The DB scheme/structure has been changed. |
Custom SQL queries on AE DB do not work anymore. |
|
|
Release Packaging |
The Release Packaging (zip files, folder structure and its content) have been changed. The following files and folders have been removed:
|
Possibly automated installation routines using release images will not work. |
If there are scripts relying on the old package structure, you have to adapt the paths. |
|
CP/WP routing |
FORMS request routing to RA agents has been changed. |
When you edit RA connection objects, a corresponding RA agent has to be active in the same client to retrieve data. |
Assign an RA agent for relevant clients. |
|
Third party monitoring via External Monitoring Interface |
The new state-of-the-art JMX interface EMI (External Monitoring Interface) has been introduced. The existing SNMP interface is still available, but the third party integration with BMC Patrol, HP OpenView, and Tivoli has been de-supported. |
There is no incompatibility, but the integration with BMC Patrol, HP OpenView, and Tivoli is not available anymore. |
Integrate third party monitoring systems via the new EMI instead. |
|
Doubled MQ tables |
MQ tables have been doubled and renamed. |
MQ tables might not be considered when you use DB Reorg and existing scripts might fail due to changed table names. |
Adapt DB Reorg scripts. |
|
Proxy INI file extensions |
Parameters and the format of some parameter values have been changed in the INI file due to functionality improvements. |
You will not be able to reuse INI files of Proxy versions prior to v2 without adaptions. |
Adapt INI file parameters according to the Proxy user documentation. |
|
Done |
System |
Work steps |
|---|---|---|
|
|
|
If the Revision Report is activated in your AE system, the assignment to the user group must be made in the User object because the tab is locked in the user group object in this case. Processing must not be changed during the whole upgrading procedure. If a problem occurs in your system environment during a particular step, you can either restore the AE database or directly use the original one if you made a copy. In doing so, there is almost no risk for your processing. Statistical data, reports, and modifications made to Variable object and Sync object contents are lost. |
|
|
|
|
|
|
|
These scripts are provided in the directories IMAGE:DB\GENERAL\<version> and IMAGE:DB\<database type>\<version>. The files uc_upd.txt and chngdb.sql are especially important. |
|
|
|
|
5. Upgrade the core components
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.
|
Done |
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)
|
||||||||||
|
|
|
Upgrade the Automic Web Interface Upgrading ECC to AWI 12.1 Upgrading an existing ECC 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 the Apache Tomcat Service
These steps are optional. You can make a safety copy of your entire ECC installation, or just the configuration files. Although you can use very little of the previous configurations in the new version, you might find it helpful to have a copy for later reference when you configure the upgrade.
Upgrade the Apache Tomcat web application server where you have ECC currently installed to the latest version that complies with the new release.
Restart the Apache Tomcat Service
Deploy the new version of the AWI on your application server.
|
||||||||||
|
|
|
Stop all clients
|
||||||||||
|
|
|
Stop the Automation Engine If you work in a distributed server environment, note that all server processes on all participating computers are deactivated.
|
||||||||||
|
|
|
Back up the AE database
|
||||||||||
|
|
|
Upgrade the AE database
|
||||||||||
|
|
|
Configure and Start the Java Work Process (JWP)
General As of v12, several important functions in the Automation Engine and thus AWA depend on the JWP being installed and running. As of v12.1.1, it is mandatory to use and enable the JDBC section in the UCSRV.INI file. Files Provided 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. To Install the JWP Unpack 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. 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)
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 key JWP_KEYSTORE_PATH, 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. 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
Start the JWP Use this kind of command to start the JWP via the command line java -Xmx512M -jar ucsrvjp.jar -IC:\temp\ucsrv.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 -Xmx512M -jar ucsrvjp.jar -svc%port% -IC:\temp\ucsrv.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. The JCP installation is relevant for the AE REST API as well as for the advanced object search. Therefore, make sure to configure the REST section of the Automation Engine configuration file (ucsrv.ini) accordingly. Otherwise the AWA object advance search will not work. We recommend using HTTPS. HTTPS/SSL set up for AE REST API In order to use HTTPS you need to set the parameter sslEnabled to 1 and continue with the setup of the following parameters in the Automation Engine configuration file (ucsrv.ini):
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/current/configuring-ssl.html. Start the JCP Use this kind of command to start the JCP via the command line: java -Xmx512M -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 -Xmx512M -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 When using multiple JCPs it is imperative that each JCP uses its own Automation Engine configuration file (ucsrv.ini). If only one INI file is used for more than one JCP, the first one will connect successfully while the others will terminate upon trying to register the same REST port if both run on the same node. An error message is written to the JCP's log file stating the reason for termination. The AE REST API can be installed multiple times, either with different port numbers on one node or on different nodes (in this case the same port number may be used). The following scenarios are supported: Single JCP In this case a single JCP is used and all REST requests are sent to this single AE REST API instance. This means that no fail-over capabilities are provided and no AE REST API is available if the JCP is down. Clustered JCPs In this case two JCPs are used in a cluster but only one of both is available at the time, thus providing fail-over capabilities. All REST requests are sent to only one of the two AE REST APIs, depending on their respective availability. To use this configuration a JCP needs to be installed on each node but both JCPs share the same Automation Engine configuration file (assuming the cluster shares the same installed resources). If a virtual IP is being used, both JCPs can be reached via the same IP address. This means the endpoints have the same base URI: http(s)://{host}:{port}/ae/api/v1/{client}/... Please note that a configuration with multiple JCPs is not intended for load balancing purposes. |
||||||||||
|
|
|
Start the Automation Engine and Clients
|
||||||||||
|
|
|
Monitor the AE system
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. |
6. Upgrade all other components
|
Done |
System |
Work steps |
|---|---|---|
|
|
|
Install the Agents
Examples:
Important Notes:
To ensure that jobs call the new Job Messenger, follow the steps below:
|
|
|
|
Install the Remaining Components
|
|
|
|
Use the New Functions
|