Relinking Multi-Tier Database Agents for any DBMS

It is sometimes necessary to link or re-link your Multi-Tier Database Agents. Typical reasons include:

The files described below should all be part of all current agent installations. If the files discussed below are not found in your installation, you may have an older version of the software. In that case, please contact us for additional assistance.

We provide a relink script for each Database Agent. These scripts are named using the form -- <ld><XXXX><NN>[mv].

Examples:

We have attempted to provide a set of generic link scripts for every version of Progress we support, to enable you to relink most easily. In some cases, you may need to create a custom relink script for Progress Agents. Note: Relinking Progress Agents is typically necessary only if you are running a version of Progress with a different patch level the one originally used for linking the agents shipped and you are connecting a SQL-89 Agent in shared memory mode.





Pre-requisites for relinking Database Agents

Requirements for all Database Agents


Additional Informix-specific requirements


Additional Progress-specific requirements



Relinking Database Agents for all DBMS

  1. Ensure that all pre-requisites listed above have been addressed.
  2. Navigate to the "lib" sub-directory of your OpenLink server components installation directory, e.g., "/usr/openlink/lib".
  3. If relinking a SQL-89 Agent for Progress (proNNN_sv) --
    1. Confirm that the Progress environment variable DLC is set correctly.
    2. Confirm that the Progress environment variable PROLOAD is set correctly.
    3. Run the appropriate mkdlcX script, where X is the major version number of your Progress installation (i.e., 6, 7, 8, or 9). This will produce a file called dlcX.o.
    4. If you receive an error stating that any Progress library cannot be found, edit the mkdlcX script and remove the reference(s) to that file; then re-run the mkdlcX script. Repeat this step as needed.
  4. Run the appropriate link script (ldXXXNN) which will attempt to build a new database agent.
  5. At the end of the relink process, the new database agent executable will be automatically placed in the "bin" subdirectory directory of your OpenLink server components installation. The new database agent binary will be named according to the typical OpenLink? conventions, i.e., XXXNN_sv or XXXNN_mv.
  6. Navigate to the "lib" sub-directory of your OpenLink server components installation; typically --


    cd ../bin

  7. Locate your newly linked agent. If it has a different name than the original agent, you can rename both so that the new one takes the place of the old, or you can edit your Broker Rulebook (oplrqb.ini) and change all occurrences of the old database agent name to the new agent name.
  8. Restart your Broker.
  9. Test.

Related