IBM Streams 4.3.0
Configuring the IBM Streams environment by running streamsprofile.sh
Before you can use IBM®
Streams, you must configure the product environment variables by running the
streamsprofile.sh script that is included in the installation directory. This
script is not automatically run by the installation program.
Procedure
To configure your local shell environment for IBM
Streams, enter the following command:
source product-installation-root-directory/4.3.0.0/bin/streamsprofile.sh
Notes:
- Add the source command to your
home-directory/.bashrc shell initialization file. Otherwise,
you must enter the command every time you start IBM
Streams. For example, if the
product is installed in the /home/streamsadmin/InfoSphere_Streams/4.3.0.0 directory, add the following line to your
.bashrc
file:
source /home/streamsadmin/InfoSphere_Streams/4.3.0.0/bin/streamsprofile.sh - For shared installations, you can add the source command to the /etc/profile.d script so that all users do not need to edit their own shell initialization files. Users can modify their own shell initialization files if they need to use a different installation of IBM Streams.
- If you install a new product version or a Version 4.3.0 fix pack or interim fix, you must update the .bashrc or /etc/profile.d file. IBM Streams appends a unique version directory for a new product version, fix pack, or interim fix to the installation root directory.
Results
- STREAMS_INSTALL=product-installation-root-directory/4.3.0.0
- STREAMS_INSTANCE_ID=StreamsInstanceNote: For compatibility with previous releases, if the STREAMS_DEFAULT_IID environment variable is already configured when you run the script, STREAMS_INSTANCE_ID is set to the value of STREAMS_DEFAULT_IID.
- STREAMS_DOMAIN_ID=StreamsDomain
This script also adds the product-installation-root-directory/4.3.0.0/bin directory to the PATH environment variable so that you can run streamtool commands without specifying a fully qualified path.