Lum Codes
Lum Codes
Note: If the user Sandra did not hand back the license, when the five-day
reservation period expires, the license is handed back. The
administration tool displays that the license is no longer in use.
Command-Line Equivalent
The equivalent CLI commands are as follows.
To update (to 50) the maximum number of days a product can be reserved.
i4blt -U -v "IBM Corporation" -p "DataMaster" O 50
To create a reservation record for the DataMaster license for the user Sandra, for
any group and target ID:
i4blt -A a -v "IBM Corporation" -p "DataMaster 3.1" -T yes
-u "Sandra * *" w "lum_group"
-u "Sandra * *"
To create a authorization record for the DataMaster license for the user Sandra for
a specific machine with target id 57f48e93:
i4blt -A a -v "IBM Corporation" -p "DataMaster 3.1"
"Sandra * 57f48e93" w "lum_group"
-T yes -u
137
138
Italic type
Brackets []
Braces {}
Choose one item from the list of alternative items inside the
brackets.
i4cfg
i4tv
i4target
i4lmd
i4llmd
i4gdb
drm_admin
lb_find
uuid_gen
llbd
glbd
i4glbcd
139
i4blt -A Authorize
i4blt -H Administer
High-Availability Licensing
140
6. The parameters you specify in any of the command options (for example,
server names, vendor names, and product names) are case-sensitive.
7. The following command parameters have a limited length.
group_name
31 characters
Note: License Use Management Runtime fix pack 12 supports
Windows groups with names longer than 31 characters by
truncating the group name to 31 characters; this ensures
backward compatibility. If group names are different only after
the 31st character they will be treated as the same group.
server_name
31 characters
Attention: The first three character positions are reserved for
the string ip: Any server name that is longer than 28 characters
is truncated on the right.
user_name
31 characters
8. You can display help on i4blt command options as follows:
v To get help on just the -a, -U, -E, -d, -m or -H option:
Chapter 6. License Use Management Runtime Command Line Interface
141
Examples
v Display the i4blt -E syntax:
i4blt -E
142
143
i4blt -A Authorize
Use this option to create an authorization for either a concurrent, or a
concurrent-offline license. i4blt must be run on the same machine where the license
is enrolled.
Note: To add an authorization for a high-availability license, you must repeat the
command on each license server in the cluster.
Syntax:
i4blt -A action_type
{ { a -v vendor_name -p product_name product_version
-u user_name user_group target ID [ -w password ] -T mode [-t timestamp]}
|
{ l -v vendor_name -p product_name product_version [-t timestamp]}
|
{ d -v vendor_name -p product_name product_version
-u user_name user_group target ID -t timestamp}
|
{ m -v vendor_name -p product_name product_version -t timestamp
-T mode [ -w password ] } }
Parameters:
action_type
Specifies the action to be taken:
a
144
Adds an authorization for a product. With action type a, the -v, -p,
-u, and -T parameters are all required. The -t and -w parameters
are optional.
no
145
Examples: To create an authorization record for the DataMaster license for the
user Sandra, for any group and target ID:
i4blt -A a -v "IBM Corporation" -p "DataMaster 3.1" -T yes
-u "Sandra * *" w "lum_group"
To create an authorization record for the DataMaster license for the user Sandra for
a specific machine with target id 57f48e93:
i4blt -A a -v "IBM Corporation" -p "DataMaster 3.1" -T yes
-u "Sandra * 57f48e93" w "lum_group"
146
where server_name identifies one of the servers in the cluster on which the
license is enrolled. You must repeat the command for each license server in
the cluster.
-v vendor_name
Name of the vendor whose product license you intend to delete.
-p product_name product_version
The information on the licensed product whose licenses you intend to
delete.
product_name
Name of the product whose license you intend to delete.
product_version
Version of the product whose license you intend to delete.
-t timestamp
Unique timestamp of the product license that you intend to delete. To get
the timestamp, issue the following command:
i4blt -lp -p "product_info" -i
147
Delete an application client whose Application Client Identifier is thelma from the
central registry. After this command the application client will no longer have
licenses for the product EZ-Vectors Version 1.0 of VectorComp Corporation vendor:
i4blt -d -v "VectorComp Corporation" -p "EZ-Vectors 1.0"
-A thelma
148
149
Change Pending
Waiting for a change in the status of a server, or
of the cluster, to be propagated to all the servers
Inactive
Incomplete
Not enough servers activated
v Initial number of servers
v Minimum number of members, maximum number of members,
and minimum up and running for the cluster to work
v For each server in the cluster:
Server name
Server status:
Serving
Waiting
Unavailable
Reserve
-N cluster_name
The name of the cluster to which the command is directed. The -N
parameter is required if action type is c, a, or d, and it is recommended
when action type is s.
-T initial_number_of_servers
The initial number of servers in the cluster that you are creating. The -T
parameter is required if action type is c, and is not valid if action type is
not c. The -n parameter must specify a number of servers equal to the
value of -T.
150
Get a report of the status of the cluster nobel from the perspective of one of its
activated members, pirandello (recommended only for troubleshooting purposes):
i4blt -H s -n pirandello
151
-lv
152
153
Not activated
Defined as a member of the cluster but the
administrator has not yet activated the server or has
deactivated the server
Percentage of licenses being served by this server
Target ID
Number of licenses served by this server
Number of in-use licenses served by this server
-F server_type
A filter on the type of server to be searched. Specify l for nodelocked
license servers, w for network license servers, or a (the default) for both
network license servers and nodelocked license servers.
-n server_names
Names of the servers about which you want to display information in a
vendor or product list.
-v vendor_names
Names of the vendors about whose products you want to display
information in a product list.
-p { product_name[?product_version ] } ...
Names of the products and, optionally, their versions about which you
want to display information in a product list. If product_name or
product_version contains blank characters, enclose the product name and
product version in quotation marks, for example:
-p product name?product_version
154
Specify the -i option in conjunction with a product list (i4blt -lp) to display
the following detailed license usage information about an individual
licensed product in a product list:
v Vendor name
v Vendor ID
v Product name
v Product version
v
v
v
v
v
v
Product ID
Licenses (total on all the selected servers)
In-use licenses (total on all the selected servers)
For each license instance:
Number of licenses
License type
Capacity type
Bundle component
Server on which the license is installed
License annotation (if any)
Serial number or bundle ID (if any)
Start date
Expiration date
Time stamp
Password use control level
For products with customer-managed use control and per-server,
per-seat, or concurrent nodelocked licenses, the following information
is also displayed:
High-water mark licenses
Threshold value
Soft stop
Soft stop enabled
For products with customer-managed use control and use-once
nodelocked licenses, the following information is also displayed:
Threshold
For per-seat licenses, the following information is also displayed:
Enablement flag
For reservable licenses, the following information is also displayed:
Number of reserved licenses
Number of unreserved licenses
For reserved licenses, the following information is also displayed:
User for whom licenses are reserved
Group for which licenses are reserved
Chapter 6. License Use Management Runtime Command Line Interface
155
List all products on server mercury provided by vendors Opticon, Inc. and
Cybertronics Ltd.:
i4blt -lp -n mercury -v "Opticon, Inc. Cybertronics Ltd."
156
List information for the 1.2 version only of the product Sync Psycho and any
version of the Megamail product:
i4blt -lp -p"Sync Psycho?1.2 Megamail"
List all of the products on the server neptune that are currently being used by the
user Alex:
i4blt -lp -n "neptune" -u Alex
Note that a customer-managed product may have its own threshold value,
set with the i4blt -U command. Such a threshold value overrides the -T
value.
-A periodic_mode
Specifies whether to check the license usage of the products only once, or
periodically. Its values can be:
v no To check the threshold conditions on the products once, immediately.
If -A is omitted, this is the default.
v yes To check the threshold conditions on the products periodically, with
the frequency specified with the -X parameter.
-X frequency
Specifies the number of minutes between one license usage check and the
next. Enter a value between 1 and 1440. It is mandatory if you set the A
parameter to yes.
-l log
157
158
All events
License-related events
Database-related events
-F server_type
A filter on the type of server to be searched. Specify l for nodelocked
license servers, w for network license servers, or a (the default) for both
network license servers and nodelocked license servers.
159
-u user_names
Names of users about whom you want to display license usage
information.
Examples: Standard Event Report:
Report on license-related events (2) and server start and stop events (5) that were
logged on server neptune since May 21, 2004:
i4blt -r1 -n "neptune" -b 05/21/2004 -e 2,5
160
161
-pt
-ps
-ru
-rr
-cn
-co
-n server_names
The name of each of the license servers for which you want to display
product usage information.
If you omit the -n parameter, the display defaults to all servers in your cell.
This parameter is not used if you use pt, ps, rr, or cn as the list type.
-v vendor_names
The name of the vendor (or vendors) about whose products you want to
display information.
-p { product_name[?product_version ] } ...
Names of the products and, optionally, their versions about which you
want to display information. If product_name or product_version contains
blank characters, enclose the product name and product version in
quotation marks, for example:
-p product name?product_version
-u user_names
Use the optional -u user_names argument to display product usage
information for the specified products that are currently in use by the
named users.
162
Product version
Total number of installed licenses
Number of licenses currently in use
Number of soft stop licenses currently in use
Number of licenses not in use
Number of queued users
For each user who currently holds a license, the following information is
displayed:
v
v
v
v
v
User name
Node name
Group name
Number of licenses the user has been granted
Check-out date for each granted license
server_name
Parameters:
threshold_value
Indicates the level of the load threshold. The range for this parameter is
from 1 to 100.
-n server_name
The name of the license server for which you want to set the load
threshold.
Examples: Set the workload threshold to 70% for network license server uranus.
i4blt -S 70 -n uranus
where xx identifies a particular file in the sequence. For example, the first file
would be named i4lmd.trc1, the last file would be named i4lmd.trc99. When
i4lmd.trc99 is full, the license server begins writing traces to i4lmd.trc1 again.
The current trace file has an underscore appended (for example, i4lmd.trc4_). By
default the trace files are stored in the following directories:
Chapter 6. License Use Management Runtime Command Line Interface
163
/var/ifor
HP-UX, Solaris
/var/lum
Windows
C:\ifor\ls\conf\
Syntax:
i4blt -T level-of-tracing -n
server_name
Parameters:
level-of-tracing
Indicates the level of tracing, as follows:
0 No trace
1 High (high level trace). Server logic and database transactions.
2 Low (low level trace). Network communication.
3 Low & high (low and high level trace)
-n server_name
The name of the network license server for which you want to activate or
deactivate the trace. You can activate or deactivate tracing for one server at
a time. If you omit the -n server_name parameter, the tracing will be
activated or deactivated on the local network license server (if there is
one).
Examples: Set a high trace level for the network license server plato.
i4blt -T 1 -n plato
164
-M hwm_reset ]
-t threshold [ 1...100 ] ]
-I signature_information ]
-O MaxOfflinePeriod ]
Parameters:
-v vendor_name
The name of the vendor that manufactured the product that you intend to
update.
-p product_name product_version
The information on the licensed product that you intend to update.
product_name
The name of the product for which you have acquired the new
licenses.
product_version
The version of the product that you specified in the product_name
parameter.
-n server_name
Name of the license server on which you want to update product
information. This parameter is required if the product has nodelocked
licenses and you are updating the product on a remote nodelocked license
server. It is the name of the nodelocked license server. If you are updating
the product on the local nodelocked license server, omit the -n parameter.
If the product has network licenses, this parameter need not be specified,
because the server is the central registry license server.
-T enrolled_licenses
The total number of licenses you have for the specified product; that is, the
number of licenses you had, plus the new ones.
-S enable_switch
Use this parameter to migrate the license from per-server to per-seat. To
use the per-seat license remember also to enroll the per-seat certificate. The
only allowed value for -S is yes. When the licenses have been changed to
per-seat, you cannot go back to per-server licenses.
-H hard_soft_mode
Use this parameter to switch the product behavior from hard stop to soft
stop and vice versa. You can do it only on products the vendor has
enabled to allow hard stop/soft stop switching. Allowed values for -H are:
no
yes
-M hwm_reset
Use this parameter to reset the high-water mark to 0. You can do it only on
products the vendor has enabled to soft stop.
-t threshold
Use this parameter to set a specific value for the threshold value of a
customer-managed product. Allowed values are 1 to 100.
-I signature_information
Information about the user issuing the command, to be stored with the
signature stamp. Use this parameter with the -T parameter.
165
For the same product, set the soft stop policy and reset the high-water mark.
i4blt -U -v "Psychosync" -p "Test Compiler 1.1" -H no -M
For the ScreenPic product (version 2, vendor ArtTools), update to 5 the number of
nodelocked licenses on server Virginia:
i4blt -U -n Virginia -v "ArtTools" -p "ScreenPic 2" -T 5
To update (to 50) the maximum number of days a product can be reserved:
i4blt -U -v "IBM Corporation" -p "DataMaster"-O 50
Delete all the log file entries recorded on all nodelocked license servers before
August 25, 2004:
i4blt -x 08/25/2004 -F l
166
Syntax
i4cfg [ -a { { c,n,s,r } | { C,N,S,R } } ]
[ -b { binding_list | null } ]
[ -d { option_string | all } ]
[ -e { a | A | { e,t,w,c,g,v,m,p,s } } ]
[ -h ]
[ -l logfile_path ]
[ -list ]
[ -R { a,n,s } ]
[ -S { a,n,s } ]
[ -start ]
[ -stop ]
[ -t transport_list ]
AIX
Windows
[
[
[
[
[
-c { d | a | cell_uuid } ]
-G { site_list | null } ]
-n { c | l | g | n } ]
-r { first | from:ip:host_name } ]
-script ]
[ -g group_name ]
Parameters
ALL
-a
-b binding_list
The complete list of servers (network license servers, nodelocked license
servers, and central registry license server) with which this workstation
Chapter 6. License Use Management Runtime Command Line Interface
167
Code -b null to delete all previously specified entries from the binding
list.
-d option_string
Display the current configuration settings for the i4cfg options specified in
option_string. Code all to see the current settings of all the options.
For example, i4cfg -d elS requests a display of which events are being
logged, the path to the log databases, and a list of startup options showing
which are enabled and which are disabled.
-e
The list of events you want to be logged. Code a to log all events, A to
disable logging of all events or any combination of these values, optionally
separated by commas:
c - License checkin
Tells you when a licensed product has sent a check-in call to the
server to notify that the product is running. This is not logged by
default.
w - License wait
Tells you when a license request cannot be satisfied because no
licenses are available, and the user is added to a queue. This is not
logged by default.
t - License timeout
Tells you that the server has canceled the request for a license
because the check period expired. This is not logged by default.
e - Errors
Describes all types of server errors that do not stop the server. This
is logged by default.
g - License grant/release
Tells you when a license was granted or released. This is not
logged by default.
v - Vendor added/deleted
Tells you when a product of a new vendor was registered or
deleted. This is logged by default.
m - Vendor messages
Provides the log messages the vendor inserted in the enabled
product. This is logged by default.
p - Product added/deleted
Tells you when a new product was registered or deleted. This is
logged by default.
s - Server start/stop/threshold
Logs the successful start or stop of the license server, and when the
threshold on the workload is exceeded or regained. This is not
logged by default.
168
-l logfile_path
The path in which you want log files to be stored.
-list
-R
Startup options that you want to disable. Code any combination of these
values, optionally separated by commas:
a
Startup options that you want to enable. Code any combination of these
values, optionally separated by commas:
a
Starts all the subsystems you have configured to run on the workstation.
Note: If you are running in a Solaris environment and are using a
non-Korn shell, you can start the server using i4cfg -x -start. This
will close the terminal window from which this command was run
and the server will continue to work in background.
-stop
-t transport_list
Use this parameter to change the default port numbers, as follows:
"ip netls_port,crls_port,nodls_port"
The three subparameters for port numbers are positional. If you omit one,
its value is reset to the default. For example:
"ip "
"ip 1516,10999,1215"
"ip ,,11999"
AIX
-c
The NCS cell the workstation is to join. This parameter is meaningful only
if namespace binding support is enabled (see the -n parameter). Code one
of the following:
d
A new alternate cell. The Configuration Tool creates the UUID. You
can retrieve the UUID from the glb_obj.txt file.
Chapter 6. License Use Management Runtime Command Line Interface
169
Separate the entries with spaces, and enclose the entire list in double
quotes. Code -G null to delete a previously-specified site list. In this case,
clients must locate global location brokers by broadcasting. Before
configuring a workstation to join an existing cell, check that there is no
glb_site.txt file, or, if the file exists, that it includes a server that is in the
cell being joined. Otherwise, use -G null to delete the existing site list.
-n
-r
This workstation is to run the local location broker but not the
global location broker.
This workstation is to run the global location broker and the local
location broker.
-script Starts the interactive script to configure your workstation using a guided
step-by-step procedure.
Windows
-g group_name
The name of the group to which the user of this workstation belongs.
Examples
1. Configure a standalone nodelocked license server, specifying automatic startup
of the server and customizing the path to the log files and the selection of
events logged.
For example, on UNIX and AIX:
i4cfg -a n -S a -e evmps -l /home/maveret
170
3. With namespace binding on UNIX and AIX, joining an existing cell that has
UUID 456b91c50000.0d.00.00.87.84.00.00.00:
i4cfg -a n -S a,n -e evmps -l /home/maveret -b null -n l
-c 456b91c50000.0d.00.00.87.84.00.00.00
The nodelocked license server louise must belong to the same cell.
4. Configure a network license server (thelma). Specify automatic startup of the
server, and customize the path to the log files and the selection of events
logged. Configure to communicate with:
v Network license server louise
v Nodelocked license server louise
v Nodelocked license server speedy
v Central registry license server speedy
With direct binding on UNIX and AIX:
i4cfg -a s -S a,s -e cegvp -l /home/maveret -b "network
ip:thelma ip:louise nodelocked ip:speedy ip:louise
registry ip:speedy" -n n
With namespace binding on UNIX and AIX, starting a new alternate cell:
i4cfg -a s -S a,s -e cegvp -l /home/maveret -b null -n g -r first
Note that speedy and louise must join this new cell.
5. Configure a network license client that will communicate with a workstation
named thelma that is configured as both a network license server and the
central registry license server. For Windows specify the user group.
With direct binding on UNIX and AIX:
i4cfg -a c -b "network ip:thelma registry ip:thelma" -n n
171
With namespace binding on UNIX and AIX, joining an existing alternate cell
that has UUID 789b91c50000.0d.00.00.87.84.00.00.00 and replicating the global
location broker at the server hydra:
i4cfg -a s,r -S a,s -b null -n g -r from:ip:hydra
-c 789b91c50000.0d.00.00.87.84.00.00.00
-b null
172
-h
Use the i4tv tool after the license servers are started to verify that they are running
properly.
A message describing a completed license transaction and a list of all license
servers will be displayed. If an HAL cluster has been configured and activated,
i4tv tries to request all the 10,000 licenses of the HAL Test Product in order to
contact all the servers in serving state.
Syntax
i4tv { [ -n hostname ] [ -z ] [ -v ] | { -h | -usage | -version }
[ -p number_of_transactions ] }
Parameters
-n hostname
-z
-v
-h
-usage
-version
-p [number_of_transactions]
Specifies the number of transactions to be completed before
performance information is displayed. This information provides
averages for the specified period. It can be used for tuning the
system and for troubleshooting performance problems. The default
value is 1000.
Examples
Run the i4tv test and verification tool:
i4tv
173
Syntax
i4target [ -O | -V | -o | -l | -h ]
(on AIX, and Solaris)
i4target [ -O | -V | -o | -l | -h | -v ]
(on Linux)
i4target [ -O | -V | -o | -c | -h ] [ -v ] [ -q ]
(on HP-UX)
i4target [ -O | -V | -o | -l | -h | -d devicename ] [ -z ] [ -v ]
(on Windows)
Parameters
-O
Displays the target identifier of the workstation on which you issue the
command, in the form that the license creation tool accepts.
-V
-o
-c
Displays multiple target IDs for workstations, that have more than one
network connection, and enables you to change from one that is currently
in use to another (HP-UX only).
-h
-v
-q
-d devicename
Specifies that the device driver devicename is to be used to retrieve the
target ID (Windows only).
Windows
-z
Displays all the devices on the workstation; use it to check the available
network devices before using the -d parameter to select a device driver
manually (Windows only).
-l
Displays all target IDs of the workstation, starting with the most secure
(the one based on the network adapter, if it is available).
174
For example, for IBM token ring adapter IBMTRP1, the information returned
includes the line:
Token ring adapter IBMTRP1:
This displays all the devices on the workstation, and be sure the network
device you want to use is listed.
2. Enter the command:
i4target -d devicename
175
The i4lmd subsystem starts the network license server on the local node. If the
workstation is not configured to run the network license server, i4lmd has no
effect.
The parameters of i4lmd override the corresponding settings in the i4ls.ini file.
Syntax
startprc i4lmd [ -no event_list ] [ -v ] [ -z ] [ -l log_name ]
[ -s ] [ -r ] [ -c ] [ -p ]
(on UNIX)
startsrc -s i4lmd [ -a [ -no event_list ] [ -v ] [ -z ] [ -l log_name ]
[ -s ] [ -r ] [ -c ] [ -p ]
] (on AIX)
i4ls [ -no event_list ] [ -v ] [ -z ] [ -l log_name ] [ -s ] [ -r ] [ -c ] [ -p ]
(on Windows)
Parameters
-no event_list Turns off logging of the events specified in event_list. Any
combination of events is valid, but items in the list of events must
not be separated by spaces or other characters. Following are the
event types that you can specify:
176
Errors.
Messages.
-v
-z
Overrides the default name and location of the file used to store
log information. This allows the I/O activity to the files used by
the license server to be spread across multiple file systems that
may become important for large installations.
-s
-r
-c
Specifies that this is a cold start, meaning that the license server
restarts from scratch, as if it had granted no licenses before
stopping.
-p
Examples
Start a license server on UNIX and do not log checkin, vendor, product, timeout, or
message events:
startprc i4lmd -no cvptm
177