Liquibase Enterprise was formerly known as Datical DB.
Installing the DB2 Database Client
DB2 Client Install for Agents using CLI
Locate and Install DB2 utility "IBM Data Server Runtime Client" from the IBM Support area. See Client Packages or https://www.ibm.com/support/pages/download-initial-version-115-clients-and-drivers
Unzip the package:
gunzip ./v11.5.4_linuxx64_rtcl.tar.gz
Untar the package:
tar -xvf ./v11.5.4_linuxx64_rtcl.tar
Change directories into the rtcl directory:
cd rtcl
Execute db2_install as root:
sudo ./db2_install -f sysreq
Execute db2_install as the agent user:
./db2_install
Source the newly created db2profile in the agent user’s $HOME/sqllib directory:
. $HOME/sqllib/db2profile source
Verify the db2 environment variables are set for the user:
env | grep -i db2
DB2INSTANCE=centos
DB2_HOME=/home/centos/sqllib
CLASSPATH=/home/centos/sqllib/java/db2java.zip:/home/centos/sqllib/function:/home/centos/sqllib/java/db2jcc_license_cu.jar:/home/centos/sqllib/tools/clpplus.jar:/home/centos/sqllib/tools/jline-0.9.93.jar:/home/centos/sqllib/java/db2jcc4.jar:.
Test installation by executing db2. The db2 command line program should load:
db2
(c) Copyright IBM Corporation 1993,2007
Command Line Processor for DB2 Client 11.5.4.0
...
For more detailed help, refer to the Online Reference Manual.
Type quit to exit the db2 client
db2 => quit
DB20000I The QUIT command completed successfully.
Installation is complete
DB2 Client Install with Local DB2 Instance using Installer GUI
Ensure db2 is installed. Ensure that the installation directory is in the PATH.
Locate and Install DB2 utility "IBM Data Server Runtime Client" from the IBM Support area. See Client Packages or https://www.ibm.com/support/pages/download-initial-version-115-clients-and-drivers
Untar the download file:
tar zxvf <tar_file>
Run setup:
cd <untar_dir>
./db2setup
(may need to update OS libraries by running "yum update
")
Verify db2 client setup
At the command prompt, run:
db2 ?
On success
Db2 displays the version number of the db2 client
On error
SQL10007N Message "-1390" could not be retrieved. Reason code: "3"
Your db2 client is not setup correctly. To fix this error, run the db2icrt command as documented at https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.cmd.doc/doc/r0002057.html
DB2DIR/instance/db2icrt -s ese -u < user> <db2 instance>
Copyright © Liquibase 2012-2022 - Proprietary and Confidential