IBM Books

Quick Beginnings for DB2 Universal Database for UNIX


Migrating from HP-UX Version 10 to Version 11

Before you migrate databases or instances from HP-UX Version 10 to Version 11, you need to perform the following steps:

  1. Stop all DB2 instances using the db2stop command (see Starting and Stopping an Instance for more information).

  2. Stop the Administration Server using the db2admin stop command (see Stopping the Administration Server for more information).

  3. Back up all files under the instance's sqllib directory and any tablespaces. Refer to the Administration Guide for more detailed information.

  4. Back up all files under the Administration Server's sqllib directory, if you created an Administration Server.

  5. Back up the DB2 registry repository located under /var/opt/db2/v5.

  6. Back up or record all DB2-related entries from the /etc/passwd, /etc/group, and /etc/services files.

  7. 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.

note

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:

  1. 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.

  2. Install DB2 (see Chapter 3. Installing and Configuring DB2).

  3. Recreate the DB2-specific user, group and TCP services entries in the /etc/passwd, /etc/group, and /etc/services files.

  4. Restore from backup the instance's sqllib directory. Refer to the Administration Guide for further information.

  5. Restore from backup the Administration Server's sqllib directory. Refer to the Administration Guide for further information.

  6. Restore the DB2 registry repository to /var/opt/db2/v5.

  7. Update the DB2 instances that you have, one at a time (see Updating Instances).

  8. Update the Administration Server (see Chapter 17. Using the Administration Server).

  9. Perform the post migration procedures described in Post Migration.

  10. 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 ]