Share licenses for a group of users
Use the license share feature in the FLM to ensure that licenses are shared for a group of users.
Sharing licenses for a dedicated usage is possible using the Four Js License Manager (FLM). To share licenses, you need to have the licenses installed. You must ensure they are licenses for the same product, and are of the same type (development or runtime) and extension (the specific conditions of the license).
After making a configuration change, you will need to restart the FLM (at the command line type flmprg --service-restart to restart the server). For more information, see Starting Four Js License Manager and Stopping license manager.
In this task you will share two licenses in one share for use by developers.
- Open your FLM configuration file, FLMDIR/etc/flmprofile, for editing.
-
Declare license shares. For the purpose of this task we will declare one share named
"dev".
[shares] name="dev"
-
Declare the share, and assign it source licenses (one license can be shared).
[share.dev] licenses=TAB#XXXXXXX4 TAB#XXXXXXX5
-
Test your license server configuration.
Use the command
flmprg --validate-configuration
to check the configuration is valid.Details of invalid entries are written to stdout. You will need to fix the errors because the server will not start with errors in the configuration. If there are no errors reported, "Ok
" is output. -
Output the license information.
Use the command
flmprg -a info
to output the license information. Entries are written to stdout; it should now include the share.Server name : amon TCP Port : 6800 License : TAB#XXXXXXX4 License key : NSV88HEYUPDE Product : Four Js Universal Compiler Type : Development version Users : 1 Extensions : # ... Server name : amon TCP Port : 6800 License : TAB#XXXXXXX5 License key : NSV88HEYALLD Product : Four Js Universal Compiler Type : Development version Users : 1 Extensions : #... ==== Shared licenses ==== - Share : dev Users : 2 Licenses: TAB#XXXXXXX4, 1 users TAB#XXXXXXX5, 1 users
-
Restart the license manager.
Type flmprg --service-restart
The FLM service is started.
- Configure the share on the client side to use the shared licenses. For an example, go to Configure license reservation/shares on the client side.