1. Home
  2. Workload Management
  3. Enabling QOS in Slurm with Bright 8.2 and earlier releases.

Enabling QOS in Slurm with Bright 8.2 and earlier releases.

Here is an example of enabling QOS (Quality of Service) in SchedMD Slurm and applying the QOS to a partition using Bright.

*Please note this is valid for Bright 8.2 and earlier releases.

# sacctmgr add qos test
 Adding QOS(s)
  test
 Settings
  Description = test
Would you like to commit changes? (You have 30 seconds to decide)
(N/y): y

# sacctmgr modify qos test set maxjobs=2
 Modified qos...
  test
Would you like to commit changes? (You have 30 seconds to decide)
(N/y): y
# sacctmgr show qos format=name,maxjobs
      Name MaxJobs
---------- -------
    normal
      test 2

Finally update the options for the partition in Bright to use this new QOS configuration.

# cmsh
% jobqueue
% use defq
% get options
QoS=N/A ExclusiveUser=NO OverTimeLimit=0 State=UP JobDefaults=(null)
% set options "QoS=test ExclusiveUser=NO OverTimeLimit=0 State=UP JobDefaults=(null)"
% commit 

Updated on September 28, 2020

Was this article helpful?

Related Articles

Leave a Comment