Applies to:
If you are using Linux® application servers or
reporting servers, create a Db2® client instance on the
application server and reporting server computers.
In Windows environments,
the client instance is created by default when the client software
is installed.
For more information, see db2icrt - Create instance command.
Procedure
-
Log on to the application server computer as a root user.
-
Go to the
<DB2DIR>/instance/ directory.
<DB2DIR> is installation location of the Db2 client software. The default installation directory is
/opt/ibm/db2/<version>/instance.
-
To create an instance for a client, run the following command:
db2icrt -s client <instname>
The -s option is used when you create an instance other than the default
instance that is associated with the installed product from which you run the
db2icrt command.
<instname> is the user name of the instance owner.
Example:
db2icrt -s client db2inst2
The default location of the Db2 instance
/home/db2inst2/sqllib.
-
Log on to the reporting server computer as a root user,
and repeat steps 2 and 3.