Setting the library path environment variable in the dsenv file

On Linux or UNIX operating systems, you can specify the library path environment variables in the dsenv script. When environment variables are specified in the dsenv script, they apply to all InfoSphere® DataStage® projects that run under the InfoSphere Information Server engine.

Before you begin

Install the client libraries.

Procedure

  1. Log in as the DataStage administrator user (dsadm if you installed with the default name).
  2. Back up the IS_install_path/Server/DSEngine/dsenv script. IS_install_path is the InfoSphere Information Server installation directory (/opt/IBM/InformationServer if you installed with the default path).
  3. Open the dsenv script.
  4. Add the path to the directory that contains the client libraries to the library path environment variable.
  5. Set up your environment with the updated dsenv file.
    . ./dsenv
  6. Restart the InfoSphere Information Server engine by entering the following commands:
    bin/uv –admin –stop
    bin/uv –admin –start
  7. Assume root user privileges, directly with the su command or through the sudo command if the DataStage administrator user is part of the sudoers list.
    sudo su - root
  8. Change to the ASB Agent home directory by entering the following commands:

    cd Install_directory/ASBNode/bin

  9. Restart the ASB Agent processes by entering the following commands:
    ./NodeAgents.sh stopAgent
    ./NodeAgents.sh start

Results

After you restart the ASB Agent process, the InfoSphere Information Server services take approximately a minute to register the event.