Creates DB2® instances.
On Linux and UNIX operating systems, this utility is located in the DB2DIR/instance directory, where DB2DIR represents the installation location where the current version of the DB2 database system is installed. On Windows operating systems, this utility is located under the DB2PATH\bin directory where DB2PATH is the location where the DB2 copy is installed.
The db2icrt command creates DB2 instances in the instance owner's home directory.
Root user authority on Linux and UNIX operating systems or Local Administrator authority on Windows operating systems.
For Linux and UNIX operating systems
>>-db2icrt--+-----+--+-----+--+---------------+-----------------> +- -h-+ '- -d-' '- -a--AuthType-' '- -?-' >--+---------------+--+---------------+--+---------------+------> '- -p--PortName-' '- -s--InstType-' '- -u--FencedID-' >--InstName----------------------------------------------------><
For Windows operating systems
>>-db2icrt--InstName--+---------------+-------------------------> '- -s--InstType-' >--+-------------------------+--+-------------------+-----------> '- -u--UserName, Password-' '- -p--InstProfPath-' >--+---------------+--+----------------+------------------------> '- -h--HostName-' '- -r--PortRange-' >--+------------------------------------------------------+-----> '- -j--"TEXT_SEARCH-+--------------+-+-------------+-"-' '-,servicename-' '-,portnumber-' >--+-----+----------------------------------------------------->< '- -?-'
For Linux and UNIX operating systems
DB2 database products support their default instance types and the instance types lower than their default ones. For instance, DB2 Enterprise Server Edition supports the instance types of ese, wse, standalone and client.
For Windows operating systems
-s ese -u Username, Password
options
have to be used with db2icrt to create the ESE instance
type and a partitioned database environment instance.DB2 database products support their default instance types and the instance types lower than their default ones. For instance, DB2 Enterprise Server Edition supports the instance types of ese, wse, standalone and client.
DB2_InstName baseport/tcp
DB2_InstName_END endport/tcp
Configures the DB2 Text Search server using the provided service name and an automatically generated port number. If the service name has a port number assigned in the services file, it uses the assigned port number.
Configures the DB2 Text Search server using the provided service name and port number.
Configures the DB2 Text Search server using a default service name and the provided port number. Valid port numbers must be within the 1024 - 65535 range.
DB2DIR/instance/db2icrt db2inst1
DB2DIR/instance/db2icrt -u db2fenc1 db2inst1
where db2fenc1 is the user ID under which fenced
user-defined functions and fenced stored procedures will run.On AIX 6.1 (or higher), when running this command from a shared DB2 copy in a system workload partition (WPAR) global environment, this command must be run as the root user.