Installing and migrating DB2
The essential steps are similar for both installing DB2® 10 and migrating to DB2 10 conversion mode (from Version 8 or Version 9). From conversion mode (from Version 8 or Version 9), you must complete additional steps to migrate to DB2 10 new-function mode.
Before you begin
Prepare your system for DB2 installation or migration, as described in Preparing your system to install or migrate to DB2 10.
About this task
- Installation and migration tools
- DB2 provides a set of tools that automate
the process of installing or migrating. These tools include:
- Most of the job control language (JCL) that is needed to install and migrate DB2 10. This JCL constitutes the installation and migration jobs. Each of these jobs helps you perform an installation or migration task.
- The installation CLIST (command list) to help tailor the installation and migration jobs. This
CLIST is also called the migration CLIST, or simply the CLIST. It contains
the necessary code for tailoring the jobs to suit your needs.Tip: You can capture most settings of an existing DB2 subsystem by running the DSNTIJXZ job, which invokes the DSNTXAZP tool. Running this job reduces the effort to manually compare settings in the current DSNTIJUZ job with the values that are defined in the defaults input member. For details, see Updating the CLIST defaults input member: job DSNTIJXZ and DSNTXAZP tool.
- A series of ISPF panels that you can use to pass information to the CLIST. With Interactive Systems Productivity Facility (ISPF) and Interactive Systems Productivity Facility/Program Development Facility (ISPF/PDF), you can use a series of ISPF panels to pass parameter values to the CLIST. The CLIST uses these values to tailor the installation and migration jobs. This process is called the ISPF tailoring session.
- Sample applications to help determine if you installed or migrated DB2 correctly . DB2 provides a set of sample programs and procedures that help you determine if DB2 is operating correctly.
All references to SYS1.PARMLIB also imply the logical PARMLIB data set that is used for DB2.
- Minimal assemblies
- Because it is distributed as object code, DB2 requires few assemblies. You must complete an assembly to specify DB2 initialization parameters, but this assembly requires only a few seconds.
- Ability to defer decisions about DB2 characteristics:
- DB2 allows you to specify many subsystem characteristics during DB2 operation. You can modify initialization parameters, authorize users, define databases and tables, and tune DB2 while DB2 is running. Therefore, you can defer many decisions until after you finish installing or migrating DB2.
- Ability to update installation and migration options
- During the process of installing and migrating, DB2 uses ISPF panels to prompt you for many options. DB2 allows you to update most of these options without requiring you to reinstall or remigrate. You can accept the default values for certain options and, after acquiring experience with DB2, tailor them to suit your needs.
Procedure
To install or migrate to DB2 10, you complete the following procedures: