Вы находитесь на странице: 1из 2

Windows details when creating instances

When working with the Windows operating systems, the db2icrt command has the following optional parameters:

-s InstType Allows different types of instances to be created. Valid instance types are: ese, wse, client, and standalone.

-p:InstProf_Path This is an optional parameter to specify a different instance profile path. If you do not specify the path, the instance directory is created under the SQLLIB directory, and given the shared name DB2 concatenated to the instance name. Read and write permissions are automatically granted to everyone in the domain. Permissions can be changed to restrict access to the directory. If you do specify a different instance profile path, you must create a shared drive or directory. This will allow the opportunity for everyone in the domain to access the instance directory unless permissions have been changed.

-u:username,password 4 When creating a partitioned database environment, you must declare the domain/user account name and 4 password of the DB2 Universal Database service.

-r:base_port,end_port This is an optional parameter to specify the TCP/IP port range for the Fast Communications Manager (FCM). If you specify the TCP/IP port range, you must ensure that the port range is available on all machines in the partition database system.

4 The following example could be used, on DB2 Universal Database (DB2 UDB) Enterprise Server Edition 4 for Windows:
4 4 4 db2icrt inst1 -s ese -p:\\machineA\db2mpp -u:<user account name>,<password> -r:9010,9015

Note: 44 If you change the service account; that is, if you no longer use the default service created 4 when the first instance was created during product installation, then you must grant the domain/user account name 4 used to create the instance the following advanced rights: 4 4 4

Act as a part of the operating system

Create a token object 4

Increase quota 4

Log on as a service 4

Replace a process level token 4

Lock page in memory

The instance requires these user rights to access the shared drive, authenticate the user account, and run DB2 UDB 4 as a Windows service. 4 The "Lock page in memory" right is needed for Address Windowing Extensions (AWE) support. Related reference

db2icrt - Create Instance Command

This topic can be found in: Administration Guide: Implementation.

Вам также может понравиться