Hi;

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.

Regards,

Ahmet M.



16.09.2020 16:41 tarihinde Tager, Alexey yazdı:

Hello,

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 VALUES(1600181125,1600181125,0,1069279,'Amba-Vis-ttt1','test1','flexlm','flmserver',100,1,0);

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/


Reply via email to