This document describes how to make an instance for DB2 v1.1 and v1.2 and applies to AIX Versions 3.2.5 and 4.1.
mkgroup sysadm1 mkuser pgrp=sysadm1 groups=sysadm1 home=/home/inst1 inst1 passwd inst1 (set the password for inst1)
NOTE: There are restrictions on naming the group and user. Documentation appears in the DB2 Installation Guide. These restrictions vary slightly across platforms. In the preceding example, inst1 is the instance owner and sysadm1 is the group.
Executing this command creates a new directory tree under /home/inst1/sqllib. This should not be altered or used outside of the database.
Add the following line:
NOTE: There is a . (period) before the path beginning with /home. If you forget the . (period), the command will not update your current shell.