Set up the Automation Engine's database Install the Utilities Load the Automation Engine's database Install the Automation Engine Install the documentation Install the Agents Install the additional components

Installing the Automation Engine (AE)

Do not use blank spaces when naming the directories for the Automation Engine and the Agents.

The Automic Web Interface and the AE server must have the same release version. To check other compatibility issues, see Automic Compatibility Matrix.

System Overview

Click the image to expand it.

Installation Steps

If you would like to print this page, click in the menu bar above to expand the steps below:

To Install the Automation Engine

  1. ClosedSet up the Database rights for the Automation Engine

    ClosedDB2

    • Read access to system tables such as SYSIBM.SYSTABLES,...
    • Right to create tablespaces
    • Right to create indexes
    • Full access to the tables

    Use the following command to set these rights:

    ClosedMS SQL Server

    The database user requires the "db_owner" role. To add it, use the following SQL query:

    ClosedORACLE

    • CREATE SESSION

    • CREATE TABLE
    • CREATE SEQUENCE
    • CREATE PROCEDURE
    • EXECUTE ANY PROCEDURE
    • CREATE VIEW
    • CREATE PUBLIC SYNONYM
    • DROP PUBLIC SYNONYM
    • ALTER SESSION
    • Either the system privilege UNLIMITED TABLESPACE or the tablespace quotas for all tablespaces
    • The right EXECUTE for the DBMS package (command so set this right: GRANT execute ON dbms_lock TO <schema_name>). This right can only be set by a user who has the SYSDBA privilege.

    Example commands that can be used to assign the relevant rights to the database user uc4:

    The following example commands can be used to check the rights:

    CREATE TABLE

    CREATE SEQUENCE

    CREATE PROCEDURE

    SET SERVER OUTPUT

    ALTER SESSION:

    EXECUTE PROCEDURE, EXECUTE for the DBMS package:

    Use the following commands to delete the test data that has been created: 

    Installation Progress

  2. ClosedInstall the Utilities

    ClosedUNIX

    A three-figure code has been supplied for each supported UNIX platform because the utilities for UNIX are available for different platforms. This document replaces the specific codes with the characters "???."

    • Valid user ID for installation (UC4)
    1. Install the Java Runtime Environment (JRE). (Admin computer)

      This installation step can be ignored if the required version of JRE is already installed.

      1. Use the following command to check which version of the Java Virtual Machine (VM) is currently installed:
      2. java -version

        If several JRE or Java SDK versions are installed on your computer, make sure that the specified directories are in the proper order in the settings of %PATH% and $PATH. The Java Runtime Environment that is found first in the list of directories is used.

      3. Download the required Java Runtime Environment from http://java.sun.com and install it.
    2. Unpack the TAR file and set up the system environment. (Admin computer)

      1. Copy the util???.tar.gz TAR file to a directory (such as AUTOMIC/utility) via FTP.
      2. Log on using the user ID UC4.
      3. Switch to the directory used for the utilities:
        cd utility
      4. Unpack the tar file:
        gzip -d util???.tar.gz
        or gunzip util???.tar.gz
        tar xvfo util???.tar

        The files are created in their corresponding directories as the file is unpacked. The tar file can be deleted after unpacking.

        Pay special attention to tar messages, which can result from different owners, and verify that all files are correctly unpacked.

      5. Check whether all files show the correct owner and group entries. AE must be the owner and the group must correspond to the identification "UC4. Modifications can only be made by a privileged user (such as root).
        chown UC4 *
        changes the owner of all files to UC4.
        chgrp
        Group name * changes the user group of all files.
      6. Set the environment variables in $HOME/.profile.

        • For Oracle:

          • Sample for AIX:

            ORACLE_HOME=/usr/oracle; export ORACLE_HOME
            AUTOMIC=/opt/automic/utility; export AUTOMIC
            PATH=.:$ORACLE_HOME/bin[:$PATH]; export PATH
            LIBPATH=.:$AUTOMIC/bin:$ORACLE_HOME/lib:/usr/lib:/lib[:$LIBPATH]; export LIBPATH

          • Sample for HP-UX:

            ORACLE_HOME=/opt/Oracle; export ORACLE_HOME
            AUTOMIC=/opt/automic/utility; export AUTOMIC
            PATH=.:$ORACLE_HOME/bin[:$PATH]; export PATH
            SHLIB_PATH=.:$AUTOMIC/bin:$ORACLE_HOME/lib:/usr/lib:/lib[:$SHLIB_PATH]; export SHLIB_PATH

          • Sample for Linux, Solaris and zLinux:

            ORACLE_HOME=/oracle/product/9.0.1; export ORACLE_HOME
            AUTOMIC=/opt/automic/utility; export AUTOMIC
            PATH=.:$ORACLE_HOME/bin[:$PATH]; export PATH
            LD_LIBRARY_PATH=.:$AUTOMIC/bin:$ORACLE_HOME/lib:/usr/lib:/lib[:$LD_LIBRARY_PATH]; export LD_LIBRARY_PATH

        • For DB2:

          • Sample for AIX:

            DB2DIR=/usr/lpp/db2_06_01;export DB2DIR
            DB2INSTANCE=db2inst1;export DB2INSTANCE
            UC4=/opt/uc4/utility; export UC4
            PATH=.:$DB2DIR/bin[:$PATH]; export PATH
            LIBPATH = $UC4/bin:$DB2DIR:usr/lib:/lib:/usr/lib64[:.:$LIBPATH]

          • Sample for HP-UX:

            DB2DIR=/opt/IBMdb2/V6.1; export DB2DIR
            UC4=/opt/uc4/utility; export UC4
            PATH=.:$DB2DIR/bin[:$PATH]; export PATH
            SHLIB_PATH=$UC4/bin:$DB2DIR/lib:/usr/lib:/lib[:$SHLIB_PATH]; export SHLIB_PATH

          • Sample for Linux, Solaris and zLinux:

            DB2DIR=/opt/IBMdb2/V7.1;export DB2DIR
            DB2INSTANCE=db2inst1;export DB2INSTANCE
            UC4=/opt/uc4/utility; export UC4
            PATH=.:$DB2DIR/bin[:$PATH]; export PATH
            LD_LIBRARY_PATH=$UC4/bin:$DB2DIR /lib:/usr/lib:/lib[:$LD_LIBRARY_PATH]; export LD_LIBRARY_PATH

    3. Adjust the INI Files to the system environment. (Admin computer)

      The INI files and the corresponding utilities share the same name. Adjust the INI file entries as needed.

    4. Start the utilities. (Admin computer)

      The utilities can be called as follows:

      • *.sh: Regular utility start
      • Without file ending: program to which start parameters can be assigned for batch calls.

      Use the following command to process the start scripts:

      For example:
      chmod +x UCYBDBar.sh

      Note that starting this utility's graphical interface on the platform HP Itanium requires the "libstdc++.so.6" library to be loaded with the environment variable LD_PRELOAD.

      Example of a command loading the library:

      export LD_PRELOAD=/automic/utility/bin/libstdc++.so.6

      You can insert this command in the Shell scripts. The library will then automatically be loaded whenever a utility's GUI is opened.

      Shell-script example "ucybdbld.sh" for opening the graphical user interface of the utility AE DB Load:

      export LD_PRELOAD=./libstd++.so.6

      java -jar ucybdbld.jar

    ClosedWindows

    1. Install the Java Runtime Environment (JRE) (Admin computer).

      This installation step can be ignored if the required version of JRE is already installed.

      1. You can check the system's current Java Virtual Machine (VM) version by using the following command:
      2. java -version

        In case several JRE or Java SDK Versions have been installed on the computer, make sure that the order of the indicated directories is correct in the settings of %PATH% or $PATH (system environment variables). The Java Runtime Environment that is found first in the listing of directories is applied.

      3. Download the required Java Runtime Environment from http://java.sun.com and install it.
      4. Do not forget to set the JAVA_HOME and JAVA_PATH according to Java System Instructions. See: https://docs.oracle.com/goldengate/1212/gg-winux/GDRAD/java.htm#BGBFJHAB.
    2. Install the Microsoft Visual C++ 2010 Re-distributable Package (Admin computer).

      This installation step can be ignored if the package is already available in the required version. Refer to the Control Panel > Programs and Features to see if the package is installed, and if so, which version.

      • Install the package from the CRts folder of the image.
    3. Install the utilities (Admin computer).

      • Start the program SETUP.EXE in the corresponding subdirectory of IMAGE:UTILITY\WINDOWS\x64.
      • Automic strongly recommends to install the utilities in a separate directory (such as C:\AUTOMIC\UTILITIES\BIN\).

        Please create a temp subfolder for log files in the utilities folder (such as C:\AUTOMIC\UTILITIES\TEMP\) to comply with the predefined destination standards.

    4. Adjust the INI files (located in the Utilities > Install folder) and set up the system environment (Admin computer).

      You can use any text editor to modify the values in the INI files.

      1. The INI files and the corresponding utilities share the same name. Adjust the INI file entries as needed:

      2. Almost all utilities require information about the AE database connection which is specified in the INI files. Automic recommends to create a new database user for AE.

        Never create a user that is called "sa".

        The appropriate password can be encoded by using the program UCYBCRYP.EXE.

      3. Use the following parameters in order to specify the program via the command line:
        UCYBCRYP[.EXE] -p -n
        Password

        The Password.ucc file is created in the directory of the program that contains the encoded password.

    1. If you want to call the DLL from a freely selected path follow one of the options below (Admin computer):

      • Utility DLL paths can be changed by making an appropriate entry in the system environment variables (system control -> system). Enter the variable JAVA_LIBRARY_PATH and the required path. Libraries are loaded from this directory.
      • Alternatively, you can also use the parameter "-Djava.library.path=Path" in the INI files. Enter it in the line "cmd=" of the section [GLOBAL].

        cmd="javaw" -Djava.library.path=..\libraries -jar -cp .;.\UC4LAF.jar UCYBDBAr.jar

    Installation Progress

  3. ClosedLoading the Database

    1. Copy the files in order to load the database (Admin computer).

    2. Generate the database (Admin computer).

      1. Run AE DB Load as administrator in order to load the database. Follow one of the three options below:

        • *G.EXE (ucybdbldg.exe): regular utility start (G stands for GUI).

          cmd="javaw" -Djava.library.path=..\libraries -jar -cp .;.\UC4LAF.jar UCYBDBAr.jar

        • *.EXE: program to which start parameters can be assigned for batch calls
        • *.BAT: batch file for the utility.

          As opposed to upgrade installations, new installations of AE DB Load do not display a mask in which you can select the authentication method. Start the program in batch mode using the parameters -T (authentication method) and -K (company key) in order to specify the authentication method. 

        To run the utilities by using an *.EXE file, you must have installed a 32-bit Microsoft Visual C-Runtime Library.

      2. Select the <DB directory>\DB\GENERAL\<vers>\UC_UPD.TXT file.
      3. A database scheme is created in the database, and the INITIAL and DEFAULT data are loaded.

      If the database has been generated successfully you will see the following:

    3. Optionally, activate partitioning with ILM (admin computer).

      Note: You can activate ILM either during a new installation, and upgrade or at any given point in time.

    4. Load the licenses (admin computer).

      1. Run AE DB Load as administrator in order to load the licenses. Follow one of the three options below:

        • *G.EXE (ucybdbldg.exe): regular utility start (G stands for GUI).

          cmd="javaw" -Djava.library.path=..\libraries -jar -cp .;.\UC4LAF.jar UCYBDBAr.jar

        • *.EXE: program to which start parameters can be assigned for batch calls
        • *.BAT: batch file for the utility.
      2. Select the Customer number.TXT file that is provided by Automic Support. The utility enters the licenses in the AE database.
      3. Click Open.
      4. Click Ok to Confirm the loading of the license.

      If the license has been processed successfully you will see the following:

    • The code was not correctly converted when the ODBC access was set up. Solution: Ensure that the code is NOT converted.
    • DB Load may not be able to connect to the DB if too many sessions are running simultaneously.
    • The DBLOAD GUI may not start if the INI "cmd" parameter is not properly defined (javaw.exe location).

    The IMAGE:\DB\database\UC4 version directory includes several useful SQL script files for your database that can be also used.

    Name

    Description

    DROP_ALL.SQL

    Deletes all AE tables.

    Use this SQL file when the installation could not complete successfully (for example, if there was not enough hard drive space). If not all tables could be created, this file deletes all tables that cause error messages. Check them or ignore them if no action is required.

    UPD_STAT.SQL

    For manual statistics updates.

    Installation Progress

  4. ClosedInstall the Automation Engine

    1. ClosedInstalling the Automation Engine for UNIX

      The Automation Engine for UNIX is available for different platforms; a three-figure code is supplied for each supported UNIX platform. The codes are the same as for agents. In this document, the specific code is replaced by the characters "???." This document describes the installation of the Automation Engine for Oracle and DB2 databases. Specific differences are described in the individual processing steps. MS SQL Server is not supported.

      • Root authorization during the installation. Not required for operating the Automation Engine.
      • After installation, rebooting the UNIX System is NOT necessary.
      • Own UNIX user ID for the Automation Engine (default: uc4, Home = /opt/uc4, Shell: ksh). The shell is only necessary during installation.
      • For Solaris: The most current patch cluster for Sun OS has been installed.
      • Adhere to the note that describes processes on AIX.

      • Functioning Oracle installation (sqlplus access to the database must be possible)
      • User ID for the Oracle database
      • Functioning DB2 installation
      • User ID for the DB2 database
      • Check or assign authorizations:
        Open the Control Center and select the right host. Select the database for AE and click "User and Group objects." Selecting "User" lists all users in the window on the right. Use the context menu to open the authorization window of the required user.
        At least the following options should be activated in the Database tab:
        • Connect database
        • Create tables
        • Create packages
        • Create schemas implicitly.
      • The LANG variable of the user who starts the Automation Engine should be identical to the variable DB2CODEPAGE in order to avoid problems at Server start.
      1. Install the Automation Engine.

        • ClosedServer computer used with an Oracle database

          1. Log on as "AE".
          2. Create a new directory: /opt/automic/server.
          3. Transfer the ucs???.tar.gz file from /cdrom/cdrom0/<version>/AutomationEngine/unix/<platform> with ftp (binary) to the created directory.
          4. Unpack the tar file using one of the following commands:
            gzip -d ucs???.tar.gz

            gunzip ucs???.tar.gz
            tar xvf ucs???.tar
          5. Set the environment variables in $HOME/.profile  if the Automation Engine does not run on the same computer as the utilities. Further details, including an example, are available in the  installation guide for the utilities.
          6. Rename the ucsrv.ori.ini file to ucsrv.ini:
            mv ucsrv.ori.ini ucsrv.ini
          7. Adjust the ucsrv.ini INI file to your system environment. The following list shows the INI file entries which must be adjusted in all cases. All other parameters can be configured as needed.
            • Name of the AE system (system= )
            • Activate the  SNMP connection (snmp= ) if used.
            • Port number of the primary work process (pwpport= )
            • Assignment of communication processes and port numbers (cp1= ... cpn= )
            • Assignment of work processes and port numbers (wp1= ... wpn= )
            • Connection for the database (SQLDRIVERCONNECT= )
          8. Remove the AE IMAGE:
            umount /cdrom
            or eject cdrom
          9. Check the libraries:
            • AIX:

              1. Check the Oracle library libclntst9.a (see setting up an Oracle database).
              2. Library check:
                dump -X64 -H ucsrvcp > wk.txt
                (use a blank after "dump").
              3. Open the created file with a text editor (sed or vi). Verify that all libraries were found.
              4. Repeat the above procedure with ucuoci.a and ucsrvwp. Some missing entries might be reported that refer to the file ucuoci.a, because it is a library instead of a main program. If these messages refer to the libraries ucuoci.a, libzu00132.a and libucudb32.a, they can be disregarded. If an entry cannot be found in a different library (Oracle, for example), this is an error.
            • HP-UX:

              1. Check the Oracle library libclntsh.so.9.0 (see Setting up an Oracle database).
              2. Library check:
                ldd -r ucsrvcp > wk.txt

                The option -s can be used instead of -r for ldd.
              3. Open the created file with a text editor (sed or vi). Verify that all libraries were found.
              4. Repeat the above procedure with ucuoci.sl and ucsrvwp. Some missing entries might be reported that refer to the file ucuoci.sl, because it is a library instead of a main program. If these messages refer to the libraries ucuoci.sl, libzu00132.sl, or libucudb32.sl, they can be disregarded. If an entry cannot be found in a different library (Oracle, for example), this is an error.
            • Linux, Solaris and zLinux:

              1. Check the Oracle library libclntsh.so.9.0 (see Setting up an Oracle database).
              2. Library check:
                ldd -r ucsrvcp > wk.txt

                The option -s can be used instead of -r for ldd.
              3. Open this file with a text editor (sed or vi). Verify that all libraries were found.
              4. Repeat the above procedure with ucuoci.so and ucsrvwp. Some missing entries might be reported that refer to the file ucuoci.so, because it is a library. If these messages refer to the libraries ucuoci.so, libzu00132.so, or libucudb32.so, they can be disregarded. If an entry cannot be found in a different library (Oracle, for example), this is an error.
        • Server computer used with an DB2 database.

          1. Log on as "AE".
          2. Create a new directory: /opt/automic/server.
          3. Transfer the ucs???.tar.gz file from /cdrom/cdrom0/<version>/AutomationEngine/unix/<platform> with ftp (binary) to the created directory.
          4. Unpack the transferred TAR file:
            gzip -d ucs???.tar.gz
            gunzip ucs???.tar.gz
            tar xvf ucs???.tar
          5. Set the environment variables in $HOME/.profile if the Automation Engine does not run on the same computer as the utilities. More details, including an example, are available in the installation guide for the utilities.
          6. Rename the file ucsrv.ori.ini to ucsrv.ini:
            mv ucsrv.ori.ini ucsrv.ini
          7. Adjust the ucsrv.ini INI file to your system environment. The following list shows the INI file entries which must be adjusted in all cases. All other parameters can be configured as needed.
            • Name of the AE system (system= )
            • Activate the SNMP connection (snmp= ) if used.
            • Port number of the primary work process (pwpport= )
            • Assignment of communication processes and port numbers (cp1= ... cpn= )
            • Assignment of work processes and port numbers (wp1= ... wpn= )
            • Connection for the database (SQLDRIVERCONNECT= )
          8. Remove the AE IMAGE:
            umount /cdrom 
            or eject cdrom
          9. Check the libraries:
            • AIX:

              1. AE uses $DB2DIR/lib/libdb2.a.
              2. Library check:
                dump -H ucsrvcp > wk.txt
              3. Open the created file with a text editor (sed or vi). Verify that all libraries were found.
              4. Repeat the above procedure with ucucli.so and ucsrvwp. Some missing entries might be reported that refer to the file ucucli.so, because it is a library instead of a main program. If these messages refer to the libraries ucucli.a, libzu00132.a, or libucudb32.a, they can be disregarded. If an entry cannot be found in a different library (DB2, for example), this is an error.
            • HP-UX:

              1. AE uses $DB2DIR/lib/libdb2.sl.
              2. Library check:
                ldd -r ucsrvcp > wk.txt

                The option -s can be used instead of -r for ldd
              3. Open this file with a text editor (sed or vi). Verify that all libraries were found.
              4. Repeat the above procedure with ucucli.so and ucsrvwp. Some missing entries might be reported that refer to the file ucucli.so, because it is a library instead of a main program. If these messages refer to the libraries ucucli.sl, libzu00132.sl, or libucudb32.sl, they can be disregarded. If an entry cannot be found in a different library (DB2, for example), this is an error.
            • Linux, Solaris and zLinux:

              1. AE uses $DB2DIR/lib/libdb2.so.
              2. Library check:
                ldd -r ucsrvcp > wk.txt

                The option -s can be used instead of -r for ldd
              3. Open the created file with a text editor (sed or vi). Verify that all libraries were found.
              4. Repeat the above procedure with ucucli.so and ucsrvwp. Some missing entries might be reported that refer to the file ucuoci.so, because it is a library instead of a main program. If these messages refer to the libraries ucucli.so, libzu00132.so, or libucudb32.so, they can be disregarded. If an entry cannot be found in a different library (DB2, for example), this is an error.
      2. Optionally, install the AE SNMP subagent. You may want to install this subagent to monitor the various conditions which occur within an AE system (e.g. availability of the Automation Engine and agents, active notifications or blocking tasks). (Server computer).

      3. Start the Automation Engine. (Server computer).

        Manually start the Automation Engine for a test.

        1. Log on with the AE User ID.
        2. Change to the installation directory of the executable programs:
          cd $UC4/bin
        3. Start the communication process in the background:
          ./ucsrvcp &
        4. Start the work process in the background:
          ./ucsrvwp &
        5. Verify that the Automation Engine is running:
          ps -ef|grep ucsrv or ps -fu uc4
        6. It should now be possible to log on to the active Automation Engine with an AWI. The relevant information about the running Automation Engine is available in the Administration perspective.
      4. Shut down the Automation Engine. (Server computer)

          Shutdown:
        • Find out the Process ID pid:
          ps -ef|grep ucsrv
        • End a server process:
          kill -TERM pid
          Cancel:
        • Find out the process ID pid:
        • End a server process:
          kill -KILL p
          id

        Use the ServiceManager to start and end server processes.

      At program start:

      • Automation Engine ends when starting up:
        Activate traces (the database trace is the most important).

        Missing libraries or other errors are best found by starting the Automation Engine using:
        truss 2>truss.out -f ucsrvcp

        The resulting file, truss.out, contains all system calls of the Automation Engine and all attempts to load shared objects.

        If a library is missing, the problem can be that it exists in the system, but its path has not been specified in the environment variable (LIBPATH, SHLIB_PATH or LD_LIBRARY_PATH). Search the library as "root" by using:
        find / -name 'library' -print

        (wildcard characters are allowed).
        Add the located path to the environment variable. If the library cannot be found, it has not been installed on this system or it has been deleted. Search the library to check whether it is available:

        AIX, Linux, Solaris and zLinux: /var/sadm/install/contents
        HP-UX: /var/adm/sw/ sw install.log and /var/adm/sw/ sw remove.log

      • If it cannot be found here, it has been deleted. The names of the packages in which the libraries are available are found at the end of the relevant lines. The best solution in this case is to install the package again.
      • Automation Engine drags and/or hangs.
        Use
        truss -f -p pid 2>&1 | tee -a truss.out

        to trace the system calls of a running process. "tee" makes the output available on the screen and in the file truss.out.
      • Remove <CR> (^M) from the text files:
        vi T
        ext file 
        %s/<Ctrl-V><Ctrl-M>$//g
        :wq!

      Number of Server Processes
      Installing the AE SNMP Subagent (UNIX)

    2. ClosedInstalling the Automation Engine for Windows

      Requirements for using a DB2 Database

      • The LANG variable of the user who starts the Automation Engine should be identical to the variable DB2CODEPAGE in order to avoid problems when starting the Server.
      1. Install the Microsoft Visual C++ 2010 Redistributable Package from the IMAGE > CRTS directory (server computer).

        This installation step can be omitted if the required version of the package is already installed. Navigate to the Control Panel > Programs and Features to see if the package is installed, and if so, which version.

      2. Install the Automation Engine (server computer).

        1. Start the program SETUP.EXE in the corresponding subdirectory of IMAGE: AUTOMATIONENGINE > WINDOWS > x64.

          Automic strongly recommends installing the Automation Engine in a separate directory (such as C:\AUTOMIC\SERVER\BIN).

      3. Optionally, install the AE SNMP subagent. You may want to install this subagent to monitor the various conditions which occur within an AE system (e.g. availability of the Automation Engine and agents, active notifications or blocking tasks). (Server computer).

      4. Set up the system environment (server computer).

        1. Adjust the UCSrv.INI file to the system environment.
        2. A temp folder is automatically created where logs will be saved. Refer to the INI file if you need to make any changes. (C:\AUTOMIC\SERVER\TEMP).
        3. If not already done, Use the database client to create a connection to the database. If you use the MS SQL Server, create the data source "AE" for ODBC access (64 bit ODBC).
      5. Start and end the Automation Engine (server computer).

        1. An AE system requires at least one communication process and one work process. Start them from the Windows Start menu > Automic folder (WP-Server first, CP-Server afterward) for testing purposes :

          If the processes run successfully, their corresponding symbols will be displayed in the task bar as follows:

        2. Right-click the Server-process symbol in the task bar and click Close to end one or Shutdown to end all server processes.
        3. After all other programs have been installed and tested, the Automation Engine should run as a service. Use the ServiceManager to start the Automation Engine as a service. The server processes can be started and ended using the ServiceManager Dialog.

        For starting the Automation Engine, a 64-bit Microsoft Visual C-Runtime Library is required.

      Number of Server Processes
      Installing the AE SNMP Subagent (Windows)

    3. ClosedInstall the Service Manager (recommended)

      • ClosedInstall the Service Manager (Windows)

        Server computer or host computer.

        1. Install the Microsoft Visual C++ 2010 Redistributable Package.

          This installation step can be omitted if the required version of the package is already installed. Refer to Control Panel > Add or Remove Programs to see if the package is installed , and if so, which version.

          • Host (32 bit): install the package from the IMAGE:CRTS\WINDOWS\X86 directory.
          • Host (64 bit): install the package from the IMAGE:CRTS\WINDOWS\X64 or IMAGE:CRTS\WINDOWS\IA64 directory.
        2. Install the ServiceManager.

          • Host (32 bit)
            1. Start the program SETUP.EXE in the corresponding subdirectory of IMAGE:SERVICEMANAGER\WINDOWS\X86.
            2. Adjust the INI file UCYBSMGR.INI to your system environment.
            3. Adjust the definitions file (SMD file)
          • Host (64 bit)
            1. Start the program SETUP.EXE in the corresponding subdirectory of IMAGE:SERVICEMANAGER\WINDOWS\X64 or IMAGE:SERVICEMANAGER\WINDOWS\IA64.
            2. Adjust the INI file UCYBSMGR.INI to your system environment.
            3. Adjust the definitions file (SMD file)
        3. Install the Dialog and Command Line Programs of the ServiceManager.

          • Host (32 bit)
            1. Start the program SETUP.EXE in the corresponding subdirectory of IMAGE:SERVICEMANAGERDIALOG\WINDOWS\X86.
            2. Adjust the INI file UCYBSMDI.INI according to your system environment.
            3. These programs can also be installed on computers where no ServiceManager runs, which enables the ServiceManager to be operated from these computers.
          • Host (64 bit)
            1. Start the program SETUP.EXE in the corresponding subdirectory of IMAGE:SERVICEMANAGERDIALOG\WINDOWS\X64 or IMAGE:SERVICEMANAGERDIALOG\WINDOWS\IA64.
            2. Adjust the INI file UCYBSMDI.INI according to your system environment.
            3. These programs can also be installed on computers where no ServiceManager runs, thereby facilitating that the ServiceManager can be operated from these computers.
        4. Install the ServiceManager as a service.

          1. Open an MS DOS window
          2. Start the program UCYBSMGR.EXE using the command:

            UCYBSMGR[.EXE] -install Phrase [-iPath and name of the INI file]

            The ServiceManager is entered in Windows as a service. You can use a string of your choice as the phrase.

          3. Verify in the Control Panel > Administrative Tools > Services that the service is correctly entered. The name displayed here is structured  - as follows: "UC4.ServiceManager [Phrase]".
          4. Set the start type to "Automatic" if needed.
          5. The phrase name is "UC4" by default. If you choose to use a different term, you must adjust the following section in the INI file UCYBSMGR.INI:

            [Destination Phrase]
            deffile=Path to the SMD file
            cmdfile=Path to the SMC file

            Example:

            [Destination UC4PROD]
            deffile=C:\AUTOMIC\SMgr\bin\UC4PROD.smd
            cmdfile=C:\AUTOMIC\SMgr\bin\UC4PROD.smc

          • Start the service

          The ServiceManager can be installed as a service multiple times.  This means that different ServiceManager environments can be created; one that serves as a test system and one that serves as a production system, for example. If several of these services are used, they are distinguished by the ServiceManager environment name (default name: UC4).

          Note that the ServiceManager service must be started under a Windows user with administrator rights. The reason is that the ServiceManager can be used to start components that can start processes for various different users.

        5. Start services using  the ServiceManager.

          Make sure that the ODBC data source is set up as a system DSN (Data Source Name) so that the Automation Engines (program UCSRVCP.EXE and UCSRVWP.EXE) are executable as a service.

          The ODBC data source is configured in the UCSrv.INI file.

          1. Start the dialog program of the ServiceManager.
          2. Select the computer and the ServiceManager environment (phrase).
          3. All provided services are displayed (status "stopped").
          4. Right-click to start the service or to change a particular service's properties (such as starting automatically when the system starts or delaying its start).
        • Not all ServiceManager environments (phrases) are displayed:
          A port number range must be specified in order for more than one ServiceManager to be selectable in the dialog program. Enter this range in the INI file of the utility, keeping in mind that it is limited to 10 port numbers.
        • Not all services are displayed:
          Ensure that the correct instructions are given in the definitions file (SMD file). Each service should be displayed in an extra line. Also enter the path of the SMD file in the INI file of the ServiceManager. 
        • A service cannot be started:
          Verify that the path specified in the properties is correct (to be opened via the context menu in the dialog program).

        Further information can be obtained from the ServiceManager's log file (default name of the latest file: SMgr_LOGG_00.txt), which is found in the TEMP folder and which contains detailed information on all procedures.

        In some cases it is necessary to uninstall a specific ServiceManager environment (Phrase).

        1. Open an MS DOS window.
        2. Start the program UCYBSMGR.EXE with thecommand:

          UCYBSMGR -remove Phrase

          Example: UCYBSMGR -remove AE

          This command uninstalls the ServiceManager environment as a service under Windows.

        3. Check the Control Panel - Administrative Tools - Services in order to verify that the service has been removed.
      • ClosedInstall the Service Manager (UNIX)

        Because the ServiceManager for UNIX is available for different platforms, a three-figure code has been supplied for each supported UNIX platform. In this document, the specific code is replaced with the characters "???."

        • Transfer the tar file to the Host and set up the system environment. (Host)

          1. Log on using the user ID AE.
          2. Transfer the TAR file ucsmgr??.tar.gz to a directory (such as smgr) via FTP.
          3. Navigate to the ServiceManager directory:
            cd servicemanager
          4. Unpack the tar file:
            gzip -d ucsmgr???.tar.gz
            or gunzip ucsmgr???.tar.gz
            tar xvfo ucsmgr???.tar
          5. The files will appear in their corresponding directories. The tar file can be deleted after unpacking.
          6. Be sure to note any tar messages (which can be called up by various users) and verify that all files have been correctly unpacked.

          7. Verify that all files have the correct owner and group entries. AE must be the owner. The group must correspond to the identification AE. Modifications can only be made by a privileged user, such as root.
            chown UC4 *
            changes the owner of all files to AE.
            chgrp
            Group name * changes user group for all files.
          8. Rename the supplied ini file ucybsmgr.ori.ini to ucybsmgr.ini.
          9. Rename the supplied file uc4.ori.smd to uc4.smd.
          10. Adjust the INI file to the system environment.
          11. Set the variable:

            AIX: export LIBPATH=Path of the system library directory

            HP-UX: export SHLIB_PATH=Path of the system library directory

            Solaris, Linux, zLinux: export LD_LIBRARY_PATH=Path of the system library directory

          Start and stop services with the ServiceManager. (Host)

          1. Start the ServiceManager:

            nohup ./ucybsmgr [-iPath and Name of the INI file] Phrase > /dev/null 2>&1 &

            The phrase is a ServiceManager environment.

          2. For more information about ServiceManager functions (such as starting and stopping agents), see UCYBSMCL.

        See also:

    4. ClosedDistributed Server Environment

      This functionality is needed in case you are using more than one server.

      1. Install the Automation Engines. (Server computer)

        • Install the Automation Engine on the particular computers as described in the relevant documentation about new installation.
      2. Set up the system environment. (Server computer)

        • Adjust the INI file UCSRV.INI for each computer:
          • Enter the same system name (maximum 8 characters, no special characters) in all INI files.
          • Activate the SNMP connection (if used) with the parameter snmp=.
          • Enter the connection information to the AE database in the section [ODBC].
          • Enter the same port number for the primary work process in all INI files (parameter pwpport=).
          • Adjust the section [PORTS] in all INI files. The server processes defined in this section participate in the AE system's processing. The following rules apply:
            • Port numbers must be unique even if they are distributed among several computers.
            • The same guideline applies to server process names. Numbers must be used in ascending order; omitting numbers is not permitted. The following example illustrates a distributed Server environment with two communication processes and four work processes (cp1, cp2, wp1, wp2, wp3, wp4).

        Leave the original list of server processes in the INI file. Non-required entries can be commented with a semi-colon. This can be helpful if you use two INI files; one file can contain even server process numbers, the other one the uneven numbers.

        Short INI file version of computer A:

        [PORTS]
        cp1=2217
        ;cp2=2218
        ;cp3=2219
        ;cp4=2220
        ;cp5=2221
        wp1=2271
        ;wp2=2272
        wp3=2273
        ;wp4=2274
        ;wp5=2275
        ;wp6=2276
        ;wp7=2277
        ;wp8=2278
        ;wp9=2279

        Short INI file version of computer B:

        [PORTS]
        ;cp1=2217
        cp2=2218
        ;cp3=2219
        ;cp4=2220
        ;cp5=2221
        ;wp1=2271
        wp2=2272
        ;wp3=2273
        wp4=2274
        ;wp5=2275
        ;wp6=2276
        ;wp7=2277
        ;wp8=2278
        ;wp9=2279

      3. If you have installed the ServiceManager you may use the ServiceManager Dialog to start or stop AE server processes. (Server computer).

      Number of Server Processes

    5. ClosedInstalling the JWP

      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.

      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.

      1. Install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy.

        The JCE Unlimited Strength Jurisdiction Policy has to be installed on the machines where:

        • The Automic Web Interface runs.
        • The Automation Engine (JWP) runs.

        Download at Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy

        For IBM Java, you must use the policy files of IBM. The unlimited jurisdiction policy files are located in directory SDK /demo/jce/policy-files/unrestricted/. See https://www.ibm.com/support/knowledgecenter/en/SSYKE2_7.1.0/com.ibm.java.security.component.71.doc/security-component/sdkpolicyfiles.html

        The Readme file contains the installation instructions on how to copy the .jar files to appropriate location (e.g. <java-home>\lib\security). If there are multiple Java installations on the same computer, setting up a policy file for all installations is recommended.

      1. Install JDBC driver.

        1. Download Microsoft JDBC Driver for SQL servers.
        2. Follow the installation instructions on the page (download the .exe file, run it and enter and installation directory).
        3. After installing, copy the .jar file from the appropriate JRE destination folder to the <server>\bin\lib directory of the Automation Engine. Make sure to use the latest JDBC driver available for your Java version. Check the Automic Compatibility Matrix to find out which Java versions are supported.
      2. Activate TCP/IP in the MS SQL server. To do so:

        1. Open the SQL Server Configuration Manager.
        2. Expand SQL Server Network Configuration.
        3. Select Protocols for MSSQLSERVER under SQL Server Network Configuration.
        4. The TCP/IP must be set to Enabled in the right-hand section.
        5. Restart the SQL Server Services.
      3. Determine the MS SQL server port.

        The default port of the MS SQL server port is 1433.

        If you are not sure of the port of your MS SQL server instance, you can find this out from its ERRORLOG file (MSSQL > LOG). One of these messages: "Server is listening on [ 'any'<ipv4> port number]" or "Server is listening on [ 'any'<ipv6> port number]" should be found in the current log file, which contains the port.

      4. Configure the database connection

        The JWP uses the same configuration file (UCSRV.INI) as all the other WPs of the Automation Engine system

        JDBC connection to the database

        Define a separate database connection string is 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.

        The advantage here is that the connection string of the other WPs ([ODBC] section) does not need to be changed or restarted.

        DSN-less ODBC Connection

        This option uses the same database connection string that is also used by all the other WPs in the Automation Engine system. When installing a JWP for an existing system, all WPs must subsequently be restarted.

        A connection string is required in the [ODBC] section of the configuration file, the syntax of which does not require DSN. The server and database name must be specified directly in this case.

        SQLDRIVERCONNECT=ODBCVAR=SNNNNNRN,Driver={SQL Server Native Client VERSION};Server=tcp:SRVNAME,PORT;Database=DBNAME;Uid=DBUSER;Pwd=DBPWD

        • VERSION- Version of SQL Server Native Client. Is displayed in the SQL Server Configuration Manager.
        • SRVNAME - Name of the database computer.
        • PORT - port of the MS SQL server instance.
        • DBNAME - Database name.
        • DBUSER - Database user.
        • DBPWD - Database password.

        Example:

        [ODBC]
        SQLDRIVERCONNECT=ODBCVAR=SNNNNNRN,Driver={SQL Server Native Client 11.0};Server=tcp:dbsrv01,1433;Database=AEV10;Uid=user;Pwd=password

        The entry should be on one line (no break).

      1. Install JDBC driver.

        1. Copy the JDBC driver ojdbc8.jar from the Oracle database client installation to the lib folder of the JWP.
          The file is located here: ORACLE_HOME/jdbc/lib/ojdbc8.jar.

        2. Copy the xdb6.jar and xmlparserv2.jar files to the lib folder of the JWP to ensure that XML variables are processed correctly.

          The files are either part of the Oracle database or can be downloaded from the Oracle SQL Developer website. They are located here:

          • $SQLDEVELOPER_HOME/modules/oracle.xdk/xmlparserv2.jar

          • $SQLDEVELOPER_HOME/rdbms/jlib/xdb6.jar

      2. Configure the database connection

        JDBC connection to the database

        Define a separate database connection string is 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.

        More information on installing the JDBC driver is available in the Oracle JDBC installation instructions.

      1. Install JDBC driver.

        Copy the file "db2jcc4.jar" (JDBC driver) into the "lib" directory of the JWP.

        This file is part of the DB2 client and is located in the sub-directory "SQLLIB/java".

      2. Configure the database connection

        JDBC connection to the database

        Define a separate database connection string is 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.

      In order to use SSL, the certificate(s) of the LDAP server must be available to the Java Work Process.
      Find the installation steps below.

      The JWP uses the default keystore file "cacerts" in the lib/security directory of the JRE.

      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.

      If you want to use an individual keystore file, you can create it using the following command:

      java -jar ucsrvjp.jar -installcert host:port keystorePath

      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:

      • Create a Login object (or use an existing one).
      • In the UC_SYSTEM_SETTINGS variable, using the key JWP_KEYSTORE_LOGIN, enter the name of that Login object.
      • Open the referenced Login object, select the Login tab and add a new row there.
      • In the column Name, select "*", in the column Type select "JWP_KEYSTORE".
      • The Login info is optional for this function, but as this column cannot be empty by default, you have to enter something here.
      • Enter the password you chose for the keystore file.
      1. Add certificates using the keytool.

        1. To use the default keystore of the JRE, go to the jre\lib\security folder of the Java installation and import the certificate with the keytool command:
        2. keytool -keystore cacerts -importcert -alias ldapServer -file certficate.cer

        3. To use your own keystore file defined in the variable UC_SYSTEM_SETTINGS using the key JWP_KEYSTORE_PATH, go to the defined path and import the certificate with the keytool command:
        4. keytool -keystore <keystore> -importcert -alias ldapServer -file certficate.cer

          When prompted to trust this certificate respond by typing "Y".

      2. Add certificates via download.

        1. Another option to install the certificate is the command line parameter -installcert of the Java Work Process.
        2. java -jar ucsrvjp.jar -installcert <host>:<sslport>

          • This assumes that the Java Work Process has write access to the cacerts file of the Java installation.
          • This command detects the path of cacerts, connects to the specified host and port and tries to create an SSL connection.
        3. This command to add a certificate via download will set an optional parameter for the file name of the keystore:
        4. java -jar ucsrvjp.jar -installcert <host>:<sslport> <keystorePath>

        When the parameter "keystorePath" is valid but the file doesn't exist, JWP creates a new keystore file in the same location.
        During this process the user can define an individual password.

        If a certificate is missing, the message "unable to find valid certification path to requested target" is printed and the missing certificate is downloaded and stored in the cacerts file.

      Use this kind of command to start the JWP via the command line

      The JWP can also be started via ServiceManager.

      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).

    6. ClosedInstalling the 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.

      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):

      • keystore

        This parameter is mandatory and needs to point to the correct target, otherwise the JCP server will terminate.

      • keystorePassword

      • keyPassword

        The keystorePassword and the keyPassword can be encrypted with the UCYBCRYP Utility.

      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.

      Use this kind of command to start the JCP via the command line:

      The JCP can also be started via ServiceManager.

      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).

      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:

      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.

      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}/...

    Installation Progress

  5. ClosedInstalling the Online Documentation

    The WebHelp format is available for the Automic Web Interface (AWI) as manually installed version or documentation online.

    As of version 11, help is delivered only in English for major version releases. German and French versions are delivered with the first service pack.

    In this document you find the following sections to help you decide on the help format and guide you through installation and copy&paste procedures:

    WebHelp Browser Compatibility

    For Automic WebHelp in HTML5 format the same browser compatibility applies as for the AWI. Please check our Automic Compatibility Matrix for details.
    JavaScript must be enabled in order to use the complete functional range.

    Documentation Formats

    CA Automic Workload Automation documentation is available in the following formats:

    • WebHelp: You can run the WebHelp on all platforms with an HTML browser.

    Documentation Types

    The documentation type: Is available in the following format(s): That you:
    All Guides WebHelp

    Install by:

    • Copying language-specific .zip file(s).
    • Unzipping the contents of the .zip file(s).
    • Configuring the configuration.properties files for each AWI.
    Messages WebHelp

    Install by:

    • Copying language-specific .zip file(s).
    • Unzipping the contents of the .zip file(s).

    You can install each documentation type in the language(s) of your choice. In the image below, documentation in all formats, types, and languages are installed in a Windows directory.

    Deciding on a Location for Your Documentation

    CA Automic Workload Automation documentation can either reside locally on the machine where each AWI is installed or at a shared location that can be accessed by all users.

    Using the CA Automic Workload Automation Guides in WebHelp Format

    As of v12 the WebHelp can be used from any local folder or a network drive. Open the help.htm file of the documentation in that path.

    Alternatively you can use the online WebHelp at this URL:docs.automic.com
    Call that URL and choose the product and guide from the menu provided.

    As administrator provide the information where users can find the WebHelp, locally or online.

    To install the CA Automic Workload Automation guides in WebHelp format:

    1. From IMAGE:DOCUMENTATION\GUIDES\WEBHELP, navigate to the language(s) you wish to add WebHelp documentation for.
    2. In each language's sub-directory, there is a .zip file.

    3. Copy and unzip the contents of the .zip file(s) to the location(s) you want them.
    4. In the image below, the contents of the .zip file are unzipped in the \Documentation\Guides\webhelp\english directory.

    To open the CA Automic Workload Automation WebHelp documentation: Do this:
    Manually from the Windows directory where you copied it Double-click the start page help.htm.
    Manually from the online URL Call the URL: docs.automic.com

    As of version 11, help is delivered only in English for major version releases. German and French versions are delivered with the first service pack.

    Copying and Unzipping the CA Automic Workload Automation Messages in WebHelp Format

    To copy and unzip the CA Automic Workload Automation messages in WebHelp format:

    1. From IMAGE:DOCUMENTATION\MESSAGES\WEBHELP, navigate to the language(s) you wish to add messages in WebHelp format for.
    2. In each language's sub-directory, is a .zip file.

    3. Copy and unzip the contents of the .zip file(s) to the location(s) you want them (usually \DOCUMENTATION\MESSAGES\<language>).

    Installation Progress

  6. ClosedInstalling the Agents

    To see the list of agents available and the details on how to install them please see Installing the Agents.

    Agents running on Windows Server 2012: To avoid problems while executing actions (access denied), you should change the value of User Account Control: Run all administrators in Admin Approval Mode to Disabled in the Security Settings / Local Policies / Security Options section of the Local Security Policy application (secpol.msc). This ensures that the Windows Agent using the local Windows administrator account (although in the administrator group) can execute actions properly.

    Installation Progress

  7. ClosedInstalling the Additional Components

    The additional components available are listed below. For more information on how to install them click the relevant link.

    Installation Progress

Next steps:

Previous steps: