Adding user accounts for DB2 on AIX

Create the user accounts on each node in the cluster. This example shows how to create the db2inst1 user. The db2inst1 user is the DB2 UDB instance owner. The instance's home directory is also the mount point, /db2_mnt/db2inst1. The DB2 UDB instance home directory must exist on every node. For example:

# mkuser id=1004 pgrp=db2iadm1 groups=db2iadm1 home=/ \
db2_mnt/db2inst1 db2inst1

The following example shows how to create user accounts for db2fenc1 and db2as. These users' home directories are under /home in the local file system on each node.

# mkuser id=1003 pgrp=db2fadm1 groups=db2fadm1 home=/home/ \
db2fenc1 db2fenc1
# mkuser id=1002 pgrp=db2asgrp groups=db2asgrp home=/home/ \
    db2as db2as

For DB2 configuration in MPP mode the file system that uses the mount point: /db2_mnt/db2inst1 uses Cluster File System to hosts the DB2 UDB instance home directory.