IBM Books

Quick Beginnings for DB2 Universal Database EEE for Windows NT**


Post-Installation Steps

After installing DB2 Version 6, you can now migrate databases and complete other migration activities. Do not scale the database system before migrating all the databases; otherwise, the database migration will fail.

You should perform the following steps after DB2 is installed to complete the migration process:
Pre-Version 6

  1. Migrate your databases.

    See Migrating Databases for more information.

  2. Update all instances that you want to use in a partitioned database system.

    See Updating Single-Partition Instances for use in Partitioned Database Systems for details.


DB2 Universal Database Version 5.x Enterprise - Extended Edition Migrate your databases.

See Migrating Databases for more information.

DB2 Universal Database Version 6 Update all instances that you want to use as partitioned database systems.

See Updating Single-Partition Instances for use in Partitioned Database Systems for details.

Migrating Databases

If you are updating a single-partition Version 6 instance to the Version 6 multipartition format, you do not need to migrate the databases in that instance.

When pre-Version 6 databases are migrated for use in a Version 6 partitioned database system, default nodegroups are created for them. For more information about default nodegroups and how they are used, see Nodegroups and Data Partitioning.

To migrate pre-Version 6 databases owned by an instance, perform the following steps:

Step  1.

Log in with a user account that has SYSADM authority. See Working with the System Administrative Group for more information.

Step  2.

Ensure that the databases you want to migrate are cataloged. To retrieve a list of all catalogued databases on your system, enter the db2 list database directory command.

Step  3.

Migrate the database using the db2 migrate database command. For more information refer to the Command Reference.

Updating Single-Partition Instances for use in Partitioned Database Systems

After migrating databases, you are then ready to update any instances that you want to use in a partitioned database system. To do this, use the db2iupdt command. The syntax of the db2iupdt command is as follows:
Figure dbiupdt not displayed.

where:

instance_name
Specifies the name of the instance to be updated. This parameter is required.

/u:domain_name\username,password
Specifies the domain user account for the DB2 service. This parameter is required.

/p:instance_profile_path
Specifies the instance profile path. If you do not specify the instance profile path, the instance directory is created in the \sqllib directory, and given the shared name DB2-instance_name. Read and write permissions will automatically be granted to everyone in the domain. You can change the permissions to restrict access to that directory. This parameter is optional.

/r:baseport,endport
Specifies the range of TCP/IP ports to be used for FCM communications among database partition servers. This parameter is optional.

When this option is specified, the services file of the local machine is updated with entries similar to the following:

   DB2_instance_name      12000/tcp
   DB2_instance_name_END  12004/tcp

If you do not specify a valid port range, DB2 will select one for you.

/h:hostname
Overrides the default TCP/IP hostname if there is more than one TCP/IP hostname for the current machine. This parameter is optional.

Optional Post Migration Actions

There are optional activities you may want to undertake following database migration. You can also apply these optional activities to a down-level database backup which is restored to Version 6, because at the end of the restore, the database is migrated to Version 6.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]