On Linux and UNIX systems, when you start a runtime component it inherits the environment from where you issue the mqsistart command.
You must therefore initialize the environment before you start a component; the command mqsiprofile located in the directory install_dir/bin, performs this initialization. If you are starting a broker, you might also need to initialize the environment for any databases that are accessed by the broker.
You must not change the location of the mqsiprofile command, or make user modifications to the command, because it might be replaced if you install service, or an update, to the product. If you need to run your own additional environment settings, add a script called your_file_name.sh to the profiles directory:
workpath/common/profiles
When mqsiprofile runs, it automatically calls these additional user-written scripts.
Two typical reasons for adding scripts are Running database setup scripts and Running with Java 5.
When you have configured any additional setup, you can initialize the runtime environment for components and commands:
Check if following conditions apply to your environment:
32-bit platforms
/var/mqsi/odbc/.odbc.ini
/var/mqsi/odbc/odbc6.ini
A broker requires access to a database to maintain operational and state data, and might also require access to user databases from deployed message flows.
When you install a database product on Linux and UNIX systems, some database managers provide a profile to perform the environment set up that the database requires, or provide details of actions that you must take in their documentation. Always check the database product documentation for environment setup details; the information provided here is for general guidance only and might not be complete.
If you have installed 64-bit instances of DB2 or 64-bit Oracle databases, you need to complete additional setup steps, including adding 32-bit libraries to MQSI_LIBPATH32. Detailed instructions are provided in Setting your environment to access databases, Creating a DB2 database on Linux and UNIX systems, and Connecting to a database from Linux and UNIX systems.
When your environment has been set up, see Configuring databases for information on setting up your databases for use with the broker.