Saturday, August 22, 2015

How to add license to the db2 server/client

how to add license to the db2 server/client

1. mount your repo server
# mh-gb-p25:/repo /mnt
2. Change user to db instance
# su - udbxinst
$ cd /udb/home/udbxinst/sqllib/adm
$ ./db2licm -a /mnt/db2/db2_97/db2_97_lic/db2ese_c.lic
3. List  your license
$  ./db2licm -l

Product name:                     "DB2 Enterprise Server Edition"
Expiry date:                      "Expired"
Product identifier:               "db2ese"
Version information:              "9.7"
Enforcement policy:               "Soft Stop"

Product name:                     "DB2 Connect Server"
Expiry date:                      "Expired"
Product identifier:               "db2consv"
Version information:              "9.7"
Concurrent connect user policy:   "Disabled"
Enforcement policy:               "Soft Stop"

Note: Based on server type, we need to add the licence

a. to apply ESE license
$ ./db2licm -a path/db2ese_c.lic

b.  to apply storage optimization license
$ ./db2licm -a path/ db2so.lic

c.  to apply performance optimization license.
$ ./db2licm -a path/ db2poese.lic

No comments:

Post a Comment