Description of the correct installation process for the dual-host DB2 database (1)

Source: Internet
Author: User

The following articles mainly describe the correct installation process of the dual-host DB2 database. If you are curious about the correct installation process of the dual-host DB2 database, the following articles will unveil its secrets. The following is a detailed description of the article. I hope you can learn from it.

DB2 version: 8.1

Operating System: 5.1

Host Name: Host A: H80a B: H80b

User:

Host

 
 
  1. User id group groupid home directory
  2. Db2inst1 209 db2iadm1 206/home/db2inst1
  3. Db2fenc1 210 db2fgrp1 103/home/db2fenc1
  4. Dasusr1 110 dasadm1 101/home/dasusr1 local)

Machine B

 
 
  1. User id group groupid home directory
  2. Db2inst1 209 db2iadm1 206/home/db2inst1
  3. Db2fenc1 210 db2fgrp1 103/home/db2fenc1
  4. Dasusr1 111 dasadm1 102/home/dasusr1 (local)

The home directories of the das users on both sides are local, and the home directories of the instance users and fence users are on the shared volume group.

Note: the IDs of instance users and fence users of the two machines must be the same.

Shared vg: 7133vg

 
 
  1. Lv name mount point
  2. Db2inst1lv/home/db2inst1
  3. Db2fenc1lv/home/db2fenc1
  4. Lv05/db2log ---------- db2 Log File

Db2databa/db2data ---------- database file of db2inst1

Instance name: db2inst1

DB2 database: testdb

Configuration process:

The following operations are completed on machine:

1. Create a shared volume group 7133vg

Create lv: db2inst1lv, db2fenc1lv, and db2databa

Create a file system:/home/db2inst1,/home/db2fenc1,/db2log,/db2data

2. Create users db2inst1 and db2fenc1

Create group db2iadm1, db2fgrp1

3. Install the database


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.