Migrate DB2 database from Windows XP to AIX and reinstall the database

Source: Internet
Author: User

This article mainly describes how to migrate a DB2 database from Windows XP to AIX and how to reinstall the database, in actual operations, if you encounter the re-installation of the database during the migration of the DB2 database from Windows XP to AIX, but you do not know how to solve it correctly, so the following articles must be good teachers and friends for you.

Install Database

1. Log On As the root user and create gjyw as the instance user through smitty user to enter the directory where the installation file of the DB2 database is located.

2. Grant all permissions to all files in the installation file directory chomd 777 *

3. If you use. db2_setup for installation, you must log on with the root user.

Run vi. profile

The following is a reference clip:

 
 
  1. ".profile" 6 lines, 103 characters   
  2. alias l='ls -l'   
  3. set -o vi   
  4. DISPLAY=192.168.250.110:0.0   
  5. export DISPLAY   
  6. PATH=$PATH:/nmon/nmon   
  7. export PATH  

Change the preceding IP address to the remote client IP address.

4. Use another installation file in the directory (same as step 1). During the installation process, change instance db2inst1 to gjyw (the name of the instance to be used );

5. Stop the service after the installation is complete;

Su-gjyw (instance user)

Db2 database stop instance, if not, db2stop force stop

Exit to the root layer

Su-dasusr1 (db2 administrator)

Db2admin stop DAS

6. Upgrade DB2 8.2

Switch to the update package directory

 
 
  1. ./installFixPak –y 

7. Switch to the root user

The following is a reference clip:

 
 
  1. cd /usr/opt/db2_08_01/instance   
  2. chmod +x db2iupdt   
  3. chmod +x dasupdt  

Grant executable permissions to these two files

The following is a reference clip:

 
 
  1. ./db2iupdt gjyw   
  2. ./dasupdt dasusr1  

The above content is an introduction to the complete process of migrating DB2 databases from Windows XP to AIX. I hope you will get some benefits.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.