Installing the AE - UNIX

The following steps will help you install the Automation Engine on UNIX.

Notes:

This page includes the following:

Requirements

When using an Oracle Database

When using a DB2 Database

Install the AE

Oracle Databases

  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. For more information, see Installing the Utilities - UNIX.
  6. Rename the ucsrv.ori.ini file to ucsrv.ini:mv ucsrv.ori.ini ucsrv.ini
  7. Adjust the INI file of the Automation Engine to your system environment ,see Automation Engine. The following list shows the INI file entries which must be adjusted in all cases. All other parameters can be configured as needed.
  8. Remove the AE IMAGE:
    umount /cdrom
    or eject cdrom
  9. Check the libraries:
    • AIX:

      1. Check the Oracle library libclntst*.a.
      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.*.0.
      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.*.0.
      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.

      For more information, see Preparing the AE Database - Oracle).

DB2 Databases

  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. For more information, see Installing the Utilities - UNIX.
  6. Rename the file ucsrv.ori.ini to ucsrv.ini:
    mv ucsrv.ori.ini ucsrv.ini
  7. Adjust the INI file of the Automation Engine 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. For more information, see Automation Engine.
  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.

Install the AE SNMP Subagent (Optional)

(Server computer). You may want to install the AE SNMP 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). For more information, see Installing the Automation Engine SNMP Subagent (UNIX).

Start the Automation Engine

Manually start the Automation Engine for a test. (Server computer).

  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.

Shut Down the Automation Engine

(Server computer). Use the ServiceManager to start and end server processes. For more information, see ServiceManager and Start Parameters - ServiceManager.

Shutdown

Cancel

Possible Issues

At program start:

Next step: