Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
bf45a609
Commit
bf45a609
authored
2 years ago
by
Tim Wickberg
Browse files
Options
Downloads
Patches
Plain Diff
Docs - mention Absolute licenses flag and AllResourcesAbsolute option.
parent
65df4921
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/html/licenses.shtml
+42
-0
42 additions, 0 deletions
doc/html/licenses.shtml
with
42 additions
and
0 deletions
doc/html/licenses.shtml
+
42
−
0
View file @
bf45a609
...
...
@@ -236,6 +236,48 @@ $ sacctmgr show resource withclusters
matlab rlm_host License 200 0 60 rlm pdf 60
</pre>
<p>Starting with Slurm 23.02, a new <i>Absolute</i> flag is available that
indicates the license allowed values for each cluster are to be treated as
absolute license counts rather than percentages.</p>
<p>Some brief examples of license management using this flag.</p>
<pre>
$ sacctmgr -i add resource name=deluxe cluster=fluid,pdf count=150 allowed=70 \
server=flex_host servertype=flexlm flags=absolute
Adding Resource(s)
deluxe@flex_host
Cluster - fluid 70
Cluster - pdf 70
Settings
Name = deluxe
Server = flex_host
Description = deluxe
ServerType = flexlm
Count = 150
Flags = Absolute
Type = Unknown
$ sacctmgr show resource withclusters
Name Server Type Count LastConsumed Allocated ServerType Cluster Allowed Flags
---------- ---------- -------- ------ ------------ --------- ---------- ---------- -------- --------------------
deluxe flex_host License 150 0 140 flexlm fluid 70 Absolute
deluxe flex_host License 150 0 140 flexlm pdf 70 Absolute
$ sacctmgr -i update resource deluxe set allowed=25 where cluster=fluid
Modified server resource ...
Cluster - fluid - deluxe@flex_host
$ sacctmgr show resource withclusters
Name Server Type Count LastConsumed Allocated ServerType Cluster Allowed Flags
---------- ---------- -------- ------ ------------ --------- ---------- ---------- -------- --------------------
deluxe flex_host License 150 0 95 flexlm fluid 25 Absolute
deluxe flex_host License 150 0 95 flexlm pdf 70 Absolute
</pre>
<p>This can also be established as the default for all newly created licenses
by adding <i>AllResourcesAbsolute=yes</i> to <i>slurmdbd.conf</i> (and restarting
SlurmDBD to make the change take effect).</p>
<h2 id="dynamic_licenses">Dynamic licenses
<a class="slurm_link" href="#dynamic_licenses"></a>
</h2>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment