Methods used to set the Licence Server Options

On Windows, you can use any of the following methods to set the licence server configuration options:

Notes:

The options set through the system services (Method 1) have the highest priority versus other methods—followed by options set through the registry entry (Method 2) and finally the LSERVOPTS environment variable (Method 3).

The options set through the system services (Method 1) are temporary; the remaining two methods are permanent.

If full file pathnames are not specified while configuring the licence server options, then the files will be created under the /System32 directory, by default.

Method 1 - Using the Windows System Services Console

On a supported Windows system, use the following steps:

  1. From the Start menu, point to Settings > Control Panel.

  2. Double-click Administrative Tools.

  3. Double-click Services.

  4. In the Services window, locate Sentinel RMS Development Kit Licence Manager and double-click it.

  5. Stop the licence server (service, if running already).

  6. Set the parameter(s) in Start Parameters. For example, -s mylicensefile -l myusage.log -f mytrace.log -tr 7 will have the following result:

Note: The Windows Service Controller ignores the double quotes (“ ”). Therefore, do not use double quotes while setting options, as these will be ignored. For example, if you specify -f aa"aa, it will be interpreted as -f aaaa.

  1. Start the licence server after providing the settings.

    See the following screenshot for an example:


Method 2 - Using the System Registry (Command-line Options)

In the Windows Registry Editor, create/update the value of "CommandLineOpts” under the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Rainbow Technologies\SentinelLM\CurrentVersion\Local.

See the following screenshot for an example:

Method 3 - Using the LSERVOPTS Environment Variable

Some licence server options have a specific environment variable which can be used to set them. You can also set any of these options using LSERVOPTS but this is not recommended. Any settings made with LSERVOPTS override any settings made using a specific environment variable. To avoid contradictory settings, it is recommended that the specific environment variables be used whenever possible.

For example, to tell the licence server running on a Windows computer to set a 2 megabyte limit on the log file, to stop logging when the file size limit is reached, and to start the licence server in quiet mode, use the following command:

SET LSERVOPTS=-z 2m -x -q


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).