Hello, As per the slurm documentation, the use case for using license as a feature is for different clusters having x% of license allocation. Could you let me know in what other scenarios can we use this license feature? Regards Shraddha
Hi Shraddha, It sounds like you're talking about the documentation that shows how to split up a pool of licenses between two clusters that talk to the same instance of slurmdbd. https://slurm.schedmd.com/licenses.html#use_case This is a use case that is shown in detail since it is more likely to be confusing for someone trying to set it up. It is also possible to configure a license for just a single cluster. This would not require you to assign a certain percentage of the available licenses, your cluster would just have access to 100% of the licenses. It sounds like this is what you are asking about, but feel free to let me know if I'm misunderstanding your question. Thanks, Ben
Hello Ben, You have rightly understood. I had another question on the same lines…we generally have remote flex license servers which hosts several licenses onto a particular port ( mentioned in the license file) along with multiple features How do we go about enabling the same on slurm with its license feature? Thank You Regards Shraddha Kiran HPC-Apps | GIS | Applied Materials India E-mail : HPC_Unified_Support@amat.com<mailto:HPC_Unified_Support@amat.com> From: bugs@schedmd.com <bugs@schedmd.com> Sent: 03 March 2022 01:05 To: Shraddha Kiran <Shraddha_Kiran@amat.com> Subject: [EXTERNAL] [Bug 13550] use case for license feature Comment # 2 on bug 13550 from Ben Roberts Hi Shraddha, It sounds like you're talking about the documentation that shows how to split up a pool of licenses between two clusters that talk to the same instance of slurmdbd. Comment # 2<https://urldefense.com/v3/__https:/bugs.schedmd.com/show_bug.cgi?id=13550*c2__;Iw!!NH8t9uXaRvxizNEf!EBgyz6axo1WQ1H5pVkBknzabrYbLow020vsrjMrftAjCZ4TuTg5RrDPEUBMiL7rOAQ$> on bug 13550<https://urldefense.com/v3/__https:/bugs.schedmd.com/show_bug.cgi?id=13550__;!!NH8t9uXaRvxizNEf!EBgyz6axo1WQ1H5pVkBknzabrYbLow020vsrjMrftAjCZ4TuTg5RrDPEUBMcDIemlw$> from Ben Roberts<mailto:ben@schedmd.com> Hi Shraddha, It sounds like you're talking about the documentation that shows how to split up a pool of licenses between two clusters that talk to the same instance of slurmdbd. https://slurm.schedmd.com/licenses.html#use_case<https://urldefense.com/v3/__https:/slurm.schedmd.com/licenses.html*use_case__;Iw!!NH8t9uXaRvxizNEf!EBgyz6axo1WQ1H5pVkBknzabrYbLow020vsrjMrftAjCZ4TuTg5RrDPEUBOIUVtBLQ$> This is a use case that is shown in detail since it is more likely to be confusing for someone trying to set it up. It is also possible to configure a license for just a single cluster. This would not require you to assign a certain percentage of the available licenses, your cluster would just have access to 100% of the licenses. It sounds like this is what you are asking about, but feel free to let me know if I'm misunderstanding your question. Thanks, Ben ________________________________ You are receiving this mail because: * You reported the bug. The content of this message is APPLIED MATERIALS CONFIDENTIAL. If you are not the intended recipient, please notify me, delete this email and do not use or distribute this email.
It sounds like you're now talking about the Dynamic Licenses section of the documentation. Unfortunately we don't currently have an "out of the box" solution to pull license information from a 3rd party resource (like FlexLM) and update the license count that is available to Slurm. As it mentions in the documentation, it is possible for you to write a script that detects changes in the available license count in your license manager and uses sacctmgr to update the count available to Slurm. If the available license count decreases and the licenses that were available to Slurm were fully utilized, it would allow existing jobs to finish but won't start new jobs that request the license until the number of licenses utilized drops below the number available. You can read more about that here: https://slurm.schedmd.com/licenses.html#dynamic_licenses Thanks, Ben
Hello Ben, Thank You for providing the information Regards Shraddha Kiran HPC-Apps | GIS | Applied Materials India E-mail : HPC_Unified_Support@amat.com<mailto:HPC_Unified_Support@amat.com> From: bugs@schedmd.com <bugs@schedmd.com> Sent: 03 March 2022 01:05 To: Shraddha Kiran <Shraddha_Kiran@amat.com> Subject: [EXTERNAL] [Bug 13550] use case for license feature Comment # 2 on bug 13550 from Ben Roberts Hi Shraddha, It sounds like you're talking about the documentation that shows how to split up a pool of licenses between two clusters that talk to the same instance of slurmdbd. Comment # 2<https://urldefense.com/v3/__https:/bugs.schedmd.com/show_bug.cgi?id=13550*c2__;Iw!!NH8t9uXaRvxizNEf!EBgyz6axo1WQ1H5pVkBknzabrYbLow020vsrjMrftAjCZ4TuTg5RrDPEUBMiL7rOAQ$> on bug 13550<https://urldefense.com/v3/__https:/bugs.schedmd.com/show_bug.cgi?id=13550__;!!NH8t9uXaRvxizNEf!EBgyz6axo1WQ1H5pVkBknzabrYbLow020vsrjMrftAjCZ4TuTg5RrDPEUBMcDIemlw$> from Ben Roberts<mailto:ben@schedmd.com> Hi Shraddha, It sounds like you're talking about the documentation that shows how to split up a pool of licenses between two clusters that talk to the same instance of slurmdbd. https://slurm.schedmd.com/licenses.html#use_case<https://urldefense.com/v3/__https:/slurm.schedmd.com/licenses.html*use_case__;Iw!!NH8t9uXaRvxizNEf!EBgyz6axo1WQ1H5pVkBknzabrYbLow020vsrjMrftAjCZ4TuTg5RrDPEUBOIUVtBLQ$> This is a use case that is shown in detail since it is more likely to be confusing for someone trying to set it up. It is also possible to configure a license for just a single cluster. This would not require you to assign a certain percentage of the available licenses, your cluster would just have access to 100% of the licenses. It sounds like this is what you are asking about, but feel free to let me know if I'm misunderstanding your question. Thanks, Ben ________________________________ You are receiving this mail because: * You reported the bug. The content of this message is APPLIED MATERIALS CONFIDENTIAL. If you are not the intended recipient, please notify me, delete this email and do not use or distribute this email.
Thanks for the update Shraddha. It sounds like you have a good idea of how to proceed. I'll go ahead and close this ticket, but let us know if there's anything we can do to help in the future. Thanks, Ben