[slurm-users] Option for remote licenses to be case sensitive in slurm ?
alexeyt at amazon.com
Wed Sep 16 18:40:55 UTC 2020
I know that slurm isn't integrated with FlexLM, but just wondered why sacctmgr writing licenses in lower case,
despite database itself supports upper case too.
And maybe there is some configuration parameter to change it ...
From: mercan <ahmet.mercan at uhem.itu.edu.tr>
Sent: Wednesday, September 16, 2020 5:35 PM
To: Slurm User Community List <slurm-users at lists.schedmd.com>; Tager, Alexey <alexeyt at amazon.com>
Subject: RE: [EXTERNAL] [slurm-users] Option for remote licenses to be case sensitive in slurm ?
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
The Slurm license feature is just a simple counter, not more than that.
It can not connect to the license server to read or update the licenses.
Slurm only count used license and subtract from setted license count. If result is zero, does not run new jobs. The license feature names and slurm license names may not be same. The slurm license name is just a string for your understant. You can set amba-vis for Amba-Vis-ttt1. If you (or other users) can understand both names are about same feature, it will work.
16.09.2020 16:41 tarihinde Tager, Alexey yazdı:
> We are trying to work with remote licenses on slurmdbd and AWS RDS.
> sacctmgr insert license in database only as case insensitive - always
> lower case.
> We have a lot of EDA licenses which use mixed upper/lower case in
> feature names,
> so it might be a problem to work with lower case only.
> I am wondering if there is some slurm configuration option to change
> such behavior.
> Inserting direct sql INSERT to res_table resulting in proper license
> case as below:
> insert into res_table
> Then did a select in mysql cli :
> | flexlm | lm | 2 | 1 | 0 |
> | 1600181125 | 1600181125 | 0 | 1069279 | Amba-Vis-ttt1
> | test1 | flexlm | duba-lic01 | 100 | 1 | 0 |
> Also sacctmgr show proper case:
> sacctmgr list Resource |grep -i amba
> Amba-Vis-+ flmserver License 100 0 flexlm
> So direct insert to database is working, but by sacctmgr isn't
> Any help will be appreciated
> Thank you
> Alexey Tager
> /Alexey Tager/
> /DevOps IT/
> /Annapurna Labs on Amazon company/
More information about the slurm-users