Administration Guide

Adding a Database Partition Server to an Instance

On Windows NT or Windows 2000, use the db2ncrt command to add a database partition server (node) to an instance.
Note:Do not use the db2ncrt command if the instance already contains databases. Instead, use the db2start addnode command. This ensures that the database is correctly added to the new database partition server. DO NOT EDIT the db2nodes.cfg file, since changing the file may cause inconsistencies in the partitioned database system.

The command has the following required parameters:

   db2ncrt /n:node_number
           /u:username,password
           /p:logical_port

The logical port parameter is only optional when you create the first node on a machine. If you create a logical node, you must specify this parameter and select a logical port number that is not in use. There are several restrictions:

There are also several optional parameters:

For example, if you want to add a new database partition server to the instance TESTMPP (so that you are running multiple logical nodes) on the instance-owning machine MYMACHIN, and you want this new node to be known as node 2 using logical port 1, enter:

   db2ncrt /n:2 /p:1 /u:my_id,my_pword /i:TESTMPP
      /M:TEST /o:MYMACHIN


[ Top of Page | Previous Page | Next Page ]