Before you migrate databases or instances from HP-UX Version 10 to Version 11, perform the following steps:
Note: | These steps must be performed before you upgrade your operating system from HP-UX Version 10 to Version 11. |
step 1. | Stop all DB2 instances using the db2stop command. |
step 2. | Stop the Administration Server using the db2admin stop command. |
step 3. | Back up all files under the instance's sqllib directory and any tablespaces. Refer to the Administration Guide for more information. |
step 4. | Back up all files under the Administration Server's sqllib directory, if you created an Administration Server. |
step 5. | Back up the DB2 registry repository located in /var/opt/db2/v6.1. |
step 6. | Back up or record all DB2-related entries from the /etc/passwd, /etc/group, and /etc/services files. |
step 7. | Remove the entire DB2 product using the instructions in Appendix D. 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 are 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:
step 1. | Install DB2. For more information see Installing and Configuring DB2 on UNIX Systems. |
step 2. | Recreate the DB2-specific user, group and TCP services entries in the /etc/passwd, /etc/group, and /etc/services files. |
step 3. | Restore the instance's sqllib directory. Refer to the Administration Guide for further information. |
step 4. | Restore the Administration Server's sqllib directory. Refer to the Administration Guide for further information. |
step 5. | Restore the DB2 registry repository to /var/opt/db2/v6.1. For more information refer to the Administration Guide. |
step 6. | Update the DB2 instances that you have, one at a time. For more information refer to the Administration Guide. |
step 7. | Update the Administration Server. For more information refer to the Administration Guide. |
step 8. | Perform the post migration procedures described in Optional Post Migration Actions. |
step 9. | Start all DB2 instances and the Administration Server as required. For more information refer to the Administration Guide.
|