Set up a DB2 instance

A DB2® instance is required to use all the features available in this product.

A DB2 instance is an environment in which you store data and run applications. DB2 instances support 32-bit and 64-bit applications, subject to the limitations imposed by your operating system.

It is possible to have multiple instances on the same server. Each instance has its own:

Some scenarios that illustrate the benefit of multiple instances include:

Click Create a DB2 instance to create an instance.

Click Configure new function for an existing DB2 instance if you have an existing instance on your computer and you want to add functions to the instance. Examples include:

Select the Instance name you want to set up from the list.

When installing DB2 Enterprise Server Edition, you can click Do not create the DB2 instance if you do not want to create an instance.

When installing DB2 products other than DB2 Enterprise Server Edition, you can click Defer this task until after installation is complete if you do not want to create an instance at this time.

If you want to add this computer to an existing partitioned database environment, the instance on the instance-owning server must already be created before you can add this computer to that environment. The addition of this computer to an existing partitioned database environment is a task that must be done outside of the DB2 Setup wizard. For more information, see http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.partition.doc/doc/t0005443.html

If your database is to operate in a partitioned database environment, you must configure the node configuration file db2nodes.cfg. For more information, see http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.dbobj.doc/doc/t0005218.html

For root installations, you can run the following instance commands after installing your DB2 product: