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.
|
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 DB2 Connect 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. |
Step 9. | Start all DB2 instances and the Administration Server as required. For more information refer to the Administration Guide.
|