Command Reference
Performs basic license functions in the absence of the Control
Center. Adds, removes, lists, and modifies licenses and policies
installed on the local system.
Authorization
On UNIX based systems, root authority is required. On OS/2 or
the Windows operating system, no authorization is required.
Required Connection
None
Command Syntax
>>-db2licm------------------------------------------------------>
>-----+----------------------------------------------------+---><
+--a--filename---------------------------------------+
+--l-------------------------------------------------+
+--p--prod-password--+------------+--+------------+--+
| '-REGISTERED-' '-CONCURRENT-' |
+--r--prod-password----------------------------------+
+--u--prod-password--num-users-----------------------+
+--n--prod-password--num-processors------------------+
+--e--+-HARD-+---------------------------------------+
| '-SOFT-' |
+--v-------------------------------------------------+
'-+--h-+---------------------------------------------'
'--?-'
Command Parameters
- -a filename
- Adds a license for a product. Specify a file name containing valid
license information.
- -l
- Lists all the products with available license information.
- -p prod-password REGISTERED CONCURRENT
- Updates the license policy type to use on the system. REGISTERED,
CONCURRENT, or both keywords can be specified.
- -r prod-password
- Removes the license for a product. After the license is removed,
the product functions in "Try & Buy" mode. To get the password for
a specific product, invoke the command with the -l option.
- -u prod-password num-users
- Updates the number of user licenses that the customer has
purchased. Specifies the number of users and the password of the
product for which the licenses were purchased.
- -n prod-password num-processors
- Updates the number of processors on which the customer is licensed to use
DB2.
- -e
- Updates the enforcement policy on the system. Valid values
are: HARD and SOFT. HARD
specifies that unlicensed requests will not be allowed. SOFT
specifies that unlicensed requests will be logged but not restricted.
- -v
- Displays version information.
- -h/-?
- Displays help information. When this option is specified, all other
options are ignored, and only the help information is displayed.
Examples
db2licm -a db2entr.lic
db2licm -p db2udbwe registered concurrent
db2licm -r db2udbee
db2licm -u db2udbwe 10
db2licm -n db2udbee 8
[ Top of Page | Previous Page | Next Page ]