Ticket 21089 - Shared License Resource Limits w/Exceptions
Summary: Shared License Resource Limits w/Exceptions
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: Limits (show other tickets)
Version: - Unsupported Older Versions
Hardware: Linux Linux
: 6 - No support contract
Assignee: Jacob Jenson
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2024-10-02 14:23 MDT by Nicholas Carl
Modified: 2024-10-02 14:23 MDT (History)
0 users

See Also:
Site: -Other-
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Nicholas Carl 2024-10-02 14:23:58 MDT
Hello,

Trying to set up license resource restrictions geographically. Is there a way to get child accounts to share a limit for resources (126), but then only one of the child accounts gets access to additional (32 + 126)? 

Cannot think of a way where the logic would work without scripting something to dynamically update the limits so all child accounts have their own totals.
 
## Add countries
sacctmgr add account name=usa
sacctmgr add account name=cad

## Add US cities
sacctmgr add account name=buf parent=usa
sacctmgr add account name=hou parent=usa
sacctmgr add account name=phx parent=usa

# Resource limits
sacctmgr update resource name=anshpc@slurm set count=158
sacctmgr update account name=usa set grptres=anshpc@slurm=126
sacctmgr update account name=cad set grptres=anshpc@slurm=0

# I figure this isn't possible but what functionally we're looking for:
sacctmgr update account name=hou set grptres=anshpc@slurm=158