How do I RESERVE licenses for specific users?
11 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2011 年 4 月 21 日
編集済み: MathWorks Support Team
2019 年 3 月 15 日
How do I RESERVE licenses to prevent other users from accessing those features? Do I need an MLM.opt file to do so? How do I set my network license manager to use the MLM.opt?
採用された回答
MathWorks Support Team
2019 年 3 月 1 日
To reserve features based on username, you will first need to let the network license manager know that you are using an options file. On a Standalone Named User installation on UNIX/Linux/Mac and a Network Named User installation, an MLM.opt file should already be defined at the end of your DAEMON line in your license.dat.
For a concurrent license, you will need to add in the following to your license.dat's DAEMON line:
Where $MATLAB/etc is the location of the MLM.opt:
DAEMON MLM $MATLAB/etc/MLM options=$MATLAB/etc/MLM.opt
(NOTE: prior to R2011a, the DAEMON line on Linux/Mac was "DAEMON MLM $MATLAB/etc/lm_matlab")
Once you have added in the reference to the MLM.opt file, you will need to create the file.
To reserve a license inside the MLM.opt, add in the line given below with the correct syntax:
RESERVE num_lic feature USER name/groupname
num_lic = quantity of licenses to be reserved for that user
feature = feature name found after INCREMENT in the license.dat for that product to be reserved
name = name of user to reserve license for
For Example
*******************
You want to reserve 1 seat of MATLAB for the user "bsmith".
The appropriate line would look like this:
RESERVE 1 MATLAB USER bsmith
You can also use the GROUP function if you wish to reserve a feature for a group.
For Example
**************
You want to reserve 5 keys of Simulink for the group "simusers", which includes users bsmith, ddoe, jsmith, dsmith and eroe
The appropriate lines would look like this:
GROUP simusers bsmith ddoe jsmith dsmith eroe
RESERVE 5 SIMULINK GROUP simusers
Note Any licenses reserved for a user are dedicated to that user. Even when that user is not actively using the license it is unavailable to other users. However, a RESERVEd license does not cause usage to be reported by FLEXnet Manager if the license is not actually in use.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Manage Products についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!