DB2 Database Configuration
Step 1: Create the SAMPLE Database
Substep 2: AIX Client Setup Instructions
Set up DB2 to use the remote database on the client:
- As root user on the client, put the same line in "/etc/services"
file that you put in the server's "/etc/services" file:
db2cdb2inst1 <port_number>/tcp #DB2 connection service
port
where:
- Use the DB2 command line to login as DB2 administrator and type:
- CATALOG TCPIP NODE WASNODE REMOTE <hostname> SERVER db2cdb2inst1
where:
- <hostname> is the hostname of the "server" machine
- Change directories into <WAS_ROOT>/bin
- Type <WAS_ROOT>/bin/DB2createSampleDB.sh <dbadmin-userid>
<dbadmin-password>
- Step 2

- Be sure to enter db2cdb2inst1 in all lowercase letters.
- The "server" refers to the machine on which the actual DB2 database resides. The "client" refers to the machine that uses the DB2 database which resides on the "server". The "server" and "client" can be the same machine.