About this task
The DB2 product uses
the license key information contained in the nodelock file. The nodelock
file is created or updated by running the db2licm command and specifying
the license file for the DB2 product.
Creating or updating the nodelock file is referred to as registering
the DB2 product license key.
The DB2 product uses the license key
information that is contained in the nodelock file, which is created
or updated by running the db2licm command and specifying the license
file for the DB2 product. To
register the license key, you must run the db2licm command on each
computer where DB2 is installed.
To
manually register your DB2 product
license key using root authority:
- Log in as a user with root
authority.
- Register the DB2 product
license key with the appropriate command:
- /usr/opt/db2_08_01/adm/db2licm
-a filename on AIX®
- /opt/IBM/db2/V8.1/adm/db2licm
-a filename for
all other UNIX-based operating systems
where filename is
the full pathname and
filename for the license file that corresponds to the product you
are bundling.
For example, on AIX,
if
the CD-ROM is mounted in the /cdrom directory and the name of the
license file is db2ese_o.lic, the command should be:
/usr/opt/db2_08_01/adm/db2licm
-a /cdrom/db2/license/db2ese_o.lic
After running
the db2licm command, the DB2 product
license key information is contained in the nodelock file in the following
directories:
- AIX: /var/ifor.
- HP-UX, Linux, or Solaris
Operating Environment: /var/lum.
- Windows: DB2PATH/sqllib/license.