Upgrading an AE System from Version 11.2 to Version 12
Guidelines for upgrading to a new Automation Engine version.
Below you find the necessary steps for upgrading your system to the latest version.
To help you follow the individual steps of an upgrade process of your AE system meticulously, this topic is divided into several steps.
If you want to upgrade from an Automation Engine version that is out of maintenance, please contact support!
As of v11.2 the Zero Downtime Upgrade (ZDU) is available.
Automic strongly recommends using that procedure over the manual procedure described below since the ZDU can ensure continuous operations.
Our consultants are experts in upgrading AE systems. Contact Automic, our experts will be pleased to assist you whenever it is necessary.
In order to print the whole contents of the collapsed pages below, use the button Expand all/Collapse all in the menu bar above.
Preliminary Information
To ensure that your upgrading process is successful Automic recommends that you strictly follow the steps that are described in this guide.
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.
It is very important that you follow a structured procedure when you upgrade an AE system, because it guarantees that processing can be continued as soon as possible.
The following guidelines explain the required steps in detail and especially address areas that need special attention. Follow the recommended steps for a smooth conversion process and you will soon be able to use all the new functions of your new Automation Engine version.
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:
- Installation and comprehensive testing in a test environment.
- Planning the conversion time and creating a plan for a possible re-conversion.
- Make a backup of the AE database and all the components' directories.
- Upgrade your system step by step WITHOUT using the new functions.
- Only use the new functions when every component has been converted to the new version and after a particular system-monitoring period.
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:
- You can quickly re-convert to the old AE-component version if problems occur in your system environment. Therefore, there is almost no risk for your processing.
- Depending on the size of your AE system, the complete upgrading process can take some time. The advantage of upgrading step by step is that you can do so in individual and shorter periods of time which makes it easier to coordinate the upgrading process with other departments and processes. And it is also easier to locate errors that might occur.
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 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 is not included in this documentation. Changes to the XML file structure may happen anytime.
Our consultants are experts in upgrading AE systems. Contact Automic, our experts will be pleased to assist you whenever it is necessary.
Done |
Condition |
---|---|
|
Carefully read the Release Notes of the relevant Automation Engine version. They include information that must be taken into account during the upgrading process. |
|
The most important requirement is a test system. Comprehensive tests in a separate system are necessary before the new Automation Engine version is used in your production system. The test system helps you to get used to the necessary steps for upgrading your production system and even to optimize them. |
|
Has your database been maintained on a regular basis? Automic recommends starting a reorganization run with AE utilities and database means before you upgrade the database. The smaller the database, the quicker the upgrading process. Note that it will still take some time to upgrade the AE database and that you will need sufficient disk space for having tables duplicated. |
|
Authorizations for the affected computers, databases, ERP systems etc. are required during the various upgrade phases. Ensure that the responsible administrators are available during the particular work steps. |
|
You can request assistance from consultants, developers 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 |
|
Ensure that you have the phone number and e-mail address of Technical Support and your login data for the Download Center. |
The Installation Steps
1. 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. |
|
Automic recommends installing a dedicated host for the AWI. For sizing recommendations, refer to Sizing of Automic Workload Automation Systems. |
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 Automic: https://www.ca.com/us/services-support/ca-support/contact-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 transer 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. |
Done |
System |
Work steps |
---|---|---|
|
|
The section "Check Incompatibilities between Version X and Y" is very important. It contains information about incompatibilities and points out additional work steps that can be required during or even before the installation. Automic recommends preparing your AE system and your system environment accordingly. |
|
|
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. |
|
|
Prepare the Upgrading Process of Core Components
|
|
|
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. |
|
|
|
3. Upgrade the core components
Done |
System |
Work steps |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Do not remove or overwrite the installation directories of your utilities. Back up the corresponding folders in order to make sure that you can quickly return to your old version if any problems occur. Example for Windows: Utility in C:\AUTOMIC\UTILITY\BIN Database files in C:\AUTOMIC\UTILITY\DB |
||||||||||
|
|
Do not remove or overwrite the installation directories of your Automation Engine and the ServiceManager. Back up the corresponding folder in order to make sure that you can quickly return to your old version. |
||||||||||
|
|
Upgrade Framework Integration (optional)
Do not remove or overwrite the installation directories of your utilities. Back up the corresponding folders in order to make sure that you can quickly return to your old version if any problems occur. |
||||||||||
Upgrade the Automic Web Interface Upgrading ECC to AWI 12 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 Tomcat.
Warning: Do not delete the WAR file! If you do, Tomcat will also remove the corresponding subfolder, which also undeploys the AWI!
|
||||||||||||
|
|
Starting with this step, your AE system is no longer available until the database has successfully been upgraded.
|
||||||||||
|
|
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. |
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
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. 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. The subsequent installation steps depend on the database type used. Java Cryptography Extension (JCE)
Add certificates for SSL 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). |
||||||||||
|
|
Start the Automation Engine and clients
|
||||||||||
|
|
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. |
4. Upgrade all other components
Done |
System |
Work steps |
---|---|---|
|
|
Do not remove or overwrite the installation directories of your agents. Back up the corresponding folder in order to make sure that you can quickly return to your old version. The new agents must also be installed in a separate directory. An adequate monitoring period is essential. Automic recommends not replacing all agents by the new version. Replace one platform after the other, for example. First replace UNIX and only replace the next one when the agents have proven to run stably for some time. As of version 9, the UNIX agent files will be supplied in lowercase letters. To ensure that jobs call the new Job Messenger, follow the steps below:
|
|
|
Install the remaining components
Do not remove or overwrite the installation directories of the remaining components. Back up the corresponding folder in order to make sure that you can quickly return to your old version. |
|
|
|