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
- User id group groupid home directory
- Db2inst1 209 db2iadm1 206/home/db2inst1
- Db2fenc1 210 db2fgrp1 103/home/db2fenc1
- Dasusr1 110 dasadm1 101/home/dasusr1 local)
Machine B
- User id group groupid home directory
- Db2inst1 209 db2iadm1 206/home/db2inst1
- Db2fenc1 210 db2fgrp1 103/home/db2fenc1
- 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
- Lv name mount point
- Db2inst1lv/home/db2inst1
- Db2fenc1lv/home/db2fenc1
- 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