![]() | The instructions in this section assume that you are installing DB2 Enterprise - Extended Edition (DB2 EEE) for AIX in an RS/6000 SP environment. |
Before you begin the installation, be sure that you have the following items and information:
hostname
Make note of this output for each workstation.
![]() |
If you are planning to use every RS/6000 SP workstation in your partitioned
database system, skip this item and proceed to the next requirement.
|
Step a. | Log on to the Control workstation as a user with root authority | ||
Step b. | Create a file called eeelist.txt that will list the
hostnames for all of the workstations that you want to install this
product on.
For example, assume that you wanted to install this product on two SP nodes called workstation1 and workstation2. The contents of this file would be: workstation1 workstation2 | ||
Step c. | Update the working collective environment variable. To update this list, enter the following command: export WCOLL=path/eeelist.txt where path is the location where eeelist.txt was created, and eeelist.txt is the name of the file that you created that lists the RS/6000 SP workstations where you want to install DB2 EEE. | ||
Step d. | Verify that the names in the working collective are indeed the workstations that you want to install this product on by entering the following command: dsh -q You will receive output similar to the following: Working collective file /eeelist.txt: workstation1 workstation2 Fanout: 64
|
dsh -a lssrc -g nfs
The Status field for each process should indicate active.
dsh -a ps -ef | grep rpc
Step a. | Log on to a workstation that will participate in your partitioned database system as a user with root authority. Typically, this is would be a dedicated RS/6000 SP workstation where the home directory of your DB2 users will reside. | ||
Step b. | Create a home file system for your partitioned database system called
/home2, by performing the following steps:
| ||
Step c. | Mount the file system that you just created by entering the following command: mount /home2
| ||
Step d. | NFS export the /home2 file system so that it is available to all of the RS/6000 SP workstations that will participate in your partitioned database system by performing the following steps:
| ||
Step e. | Log out. | ||
Step f. | Log on to each workstation that will participate in your partitioned database system and NFS mount the file system that you exported by performing the following steps:
| ||
Step g. | Log out.
|
The usernames you create must conform to both your operating system's naming rules, and those of DB2. For more information on naming rules, see Appendix C, Naming Rules.
To create all three of these users, perform the following steps:
Step a. | Log on to the Control workstation as a user with root
authority.
| ||||
Step b. | Create a group for the instance owner (for example, db2iadm1), the user that will execute UDFs or stored procedures (for example, db2fadm1), and the Administration Server (for example, db2asgrp) by entering the following commands: mkgroup id=999 db2iadm1 mkgroup id=998 db2fadm1 mkgroup id=997 db2asgrp
| ||||
Step c. | Create a user that belongs to each group that you created in the previous step by entering the following commands: mkuser id=1004 pgrp=db2iadm1 groups=db2iadm1 home=/home2/db2inst1 core=-1 data=491519 stack=32767 rss=-1 fsize=-1 db2inst1 mkuser id=1003 pgrp=db2fadm1 groups=db2fadm1 home=/home2/db2fenc1 db2fenc1 mkuser id=1002 pgrp=db2asgrp groups=db2asgrp home=/home2/db2as db2as | ||||
Step d. | Set an initial password for each user that you created by entering the following commands: passwd db2inst1 passwd db2fenc1 passwd db2as | ||||
Step e. | Log out. | ||||
Step f. | Log on to the Control workstation as each user that you created (db2inst1, db2fenc1, and db2as). You will be prompted to change each user's password since this is the first time that these users have logged onto the system. | ||||
Step g. | Log out. | ||||
Step h. | Log on to the Control Workstation as a user with root authority. | ||||
Step i. | Distribute each group and user account that you created to the other SP workstations that will participate in your partitioned database system by entering the following command: dsh /var/sysman/supper update user.admin
This command will automatically be distributed to each RS/6000 SP
workstation that you listed in the eeelist.txt file.
| ||||
Step j. | Log out.
|