Registering a DB2 product or feature license key using the db2licm command
The license key is available from either the DB2® product or feature image you downloaded from Passport Advantage, or from the Activation CD you received in the physical media pack from IBM®.
- On Windows® operating systems, if you are a member of the local administrator, register a DB2 license key by entering the following command:
db2instance_path\bin\db2licm -a filename
where db2instance_path is where the DB2 instance was created and filename is the full pathname and filename for the license file that corresponds to the product you have purchased.
- On Linux® or UNIX® operating systems, if you are the owner of the installation, register a DB2 license key by entering the following command:
DB2DIR/adm/db2licm -a filename
where
- DB2DIR specifies the path where the DB2 product was installed. The default installation directory is:
- For AIX®, HP-UX or Solaris /opt/IBM/db2/V9.5
- For Linux/opt/ibm/db2/V9.5
- filename is the full pathname and filename for the license file that corresponds to the product or feature.
- On Linux or UNIX operating systems, if you are the instance owner or a member of sysadm group, register a DB2 license key by entering the following command:
INSTHOME/sqllib/adm/db2licm -a filename
where INSTHOME is the home directory of the instance owner and filename is the full pathname and filename for the license file that corresponds to the product you have purchased.
Parent topic: DB2 license files
Related concepts
Options to manage licenses
Related reference
DB2 license files