Creating an instance using db2icrt
A Db2® instance is an environment in which you store data and run applications. Use the db2icrt command to create an instance.
Before you begin
On Linux® or UNIX operating systems, you must have root user authority.
Note: If the
Db2 fault
monitor is turned on, the Db2 instance is started
automatically when the db2icrt command finishes running. You can stop the
instance by using the db2stop command.
Procedure
To create an instance using db2icrt:
Example
For example, if you are using server authentication, your
fenced user is db2fenc1, and your instance owning user is db2inst1,
use the following command to create an instance on an AIX operating system:
/opt/IBM/db2/V11.5/instance/db2icrt -a server -u db2fenc1 db2inst1
What to do next
(Optional) After you create an instance you can configure notification for health monitoring. This task can be performed using the Db2 CLP commands.