How to reserve sessions for specific users
Uniface Anywhere has a concurrent license model. The number of concurrent users are defined in the session feature in the license file.
Concurrency means that up to the maximum defined in the license file, every user with the proper rights, can get its session started.
However, if there is a need to always have a few sessions available for special / specific users, the license manager can give this possibility.
Create a file called '
License.opt' in the directory "
C:\Program Files\Uniface\Uniface Anywhere\Programs\" using a standard text editor.
Add in this file:
Replace <username1>, <username2> for the actual username that you wish to reserve a session for.
When reserving a number of sessions for users with shared usernames, than you can increase the number in front of session and state the shared username in the <username1>
In this file, you can add as many lines as you want, but the restriction will always be the maximum concurrent users defined in the license file.
open the Uniface Anywhere license file (
C:\Program Files\Uniface\Uniface Anywhere\Programs\*.lic) with a standard text editor (eg. notepad.exe)
Find the DAEMON line and change it to the following:
Save the file and RESTART the 'Uniface Anywhere License Service'.
If all went correct: In the
license.log file that you can find in the directory
C:\Program Files\Uniface\Uniface Anywhere\Programs\ you should find the following lines after approximately 1 minute:
- Reserved licenses will decrease the total number of Unreserved concurrent licenses, as are defined in the license file, in the unreserved pool.
- The reserved licenses will ONLY be tested when the licenses in the 'unreserved' pool are all used. This means that an user defined in the options file will first have its session count from the 'unreserved" pool, before the session count will be taken from the Reserved pool.
- Reserved licenses can NOT be used by any other user(s) than the one(s) where it is reserved for.
- Adding the domain name in front of the username in the option file, will restrict the reserved session to the user that has its username validated in that domain. If no domain is specified in front of the username, than the reservation is valid for that username regardless of the domain or local system it has been validated on.