Due to the fact that the DbtuTools framework
becomes more and more integrated, it is recommended you install
the entire framework [more].
Nevertheless it will still be possible to install a single tool
One of the basic qualities of the DbtuTools
framework is the ability to handle environments with multiple
DB2 instances. This, and the use of dbtuswitch.bat
configuration-, temporary- and log files, makes it necessary
to apply the /opt/dbtutools tree
[more] prior to
the installation of the tools. In future versions there
will be an installation script for automating these steps:
- Ensure that you are logged in as the user with
- Create the /opt/dbtutools tree
including subtree per DB2 instance and apply the
proper permissions and ownerships as well.
- Copy dbtuswitch.bat
and its configuration files dbtuswitch.cfg
from your build directory to
C:\Program Files\DbtuTools\ and ensure that
the defaults within the configuration file meets your
- Copy the binaries, (wrapper) batch files and JAR files
(named in the following list) from your build directory
to C:\Program Files\DbtuTools\INSTANCE\tools\bin\
(where INSTANCE stands for the instance name):
- (Wrapper) batch files:
- JAR files:
- Optional: Copy the entire doc subdirectory
content from your build directory to
(where INSTANCE stands for the instance name).
- Optional: It might be a good idea to add a
dbtuswitch.bat call to the
C:\Program Files\SQLLIB\bin\db2clp.bat file:
"C:\Program Files\DbtuTools\dbtuswitch.bat" default
Sample entry for the
C:\Program Files\SQLLIB\bin\db2clp.bat file.
Single tool only
As discussed above, it is not recommended to install
a single tool only. Nevertheless it is possible for most of the tools.
The effort differs based on the needed resources:
- Copy the tool of your choice from the build directory into
your preferred target directory.
- Optional: If the selected tool is based on Java,
you have to copy the JAR files for the build directory into
your preferred target directory. Ensure the
CLASSPATH environment variable contains the
entries for the JAR files as well.
- Optional: If the selected tool works with configuration-,
log- or temporary files, you have to create the related parts of
the /opt/dbtutools subtree within your preferred target
directory (for example C:\Any\db2inst1\tools\temp\ if
C:\Any\ represents the target directory). Ensure the
DBTUTOOLSHOME environment variable points to the chosen