Quick Beginnings for DB2 Universal Database for UNIX
Before you migrate databases or instances from HP-UX Version
10 to Version 11, you need to perform the following steps:
- Stop all DB2 instances using the db2stop command (see Starting and Stopping an Instance for more information).
- Stop the Administration Server using the db2admin stop command
(see Stopping the Administration Server for more information).
- Back up all files under the instance's sqllib directory
and any tablespaces. Refer to the Administration
Guide for more detailed information.
- Back up all files under the Administration Server's sqllib
directory, if you created an Administration Server.
- Back up the DB2 registry repository located under
/var/opt/db2/v5.
- Back up or record all DB2-related entries from the /etc/passwd,
/etc/group, and /etc/services files.
- Remove the entire DB2 product using the instructions in Chapter 29. Removing DB2 Products.
You can now migrate your operating system to HP-UX Version 11.

|
You may also want to migrate all your other non-DB2 applications at the
same time. In this case, you need to perform all your pre-migration
procedures at this time before the operating system is migrated. Please
refer to the migration instructions that provided with those applications for
more information. DB2 pre-migration procedures should be independent of
the order of your overall pre-migration plan.
|
After your operating system has been migrated and all your standard Unix
services are up and running, perform the following steps:
- Adjust the kernel parameters if you have not done so. You can find
a list of recommended kernel parameters in Step 2. Updating Kernel Configuration Parameters.
- Install DB2 (see Chapter 3. Installing and Configuring DB2).
- Recreate the DB2-specific user, group and TCP services entries in the
/etc/passwd, /etc/group, and /etc/services
files.
- Restore from backup the instance's sqllib
directory. Refer to the Administration Guide for further information.
- Restore from backup the Administration Server's sqllib
directory. Refer to the Administration Guide for further information.
- Restore the DB2 registry repository to /var/opt/db2/v5.
- Update the DB2 instances that you have, one at a time (see Updating Instances).
- Update the Administration Server (see Chapter 17. Using the Administration Server).
- Perform the post migration procedures described in Post Migration.
- Start all DB2 instances and the Administration Server as required (see Starting and Stopping an Instance and Starting the Administration Server).
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]