Okay, its working now. I just had to be more patient for slurmctld to
pick up the DB change of adding the QOS. Thanks for the help.
-Paul Edmon-
On 11/11/2015 11:54 AM, Bruce Roberts wrote:
I believe the method James describes only allows that one qos to be
used by jobs on the partition, it does not set up a Partition QOS as
Paul is looking for.
Create the QOS as James describes, but instead of AllowQOS use the QOS
option as Danny eluded to, and as documented here
http://slurm.schedmd.com/slurm.conf.html#OPT_QOS.
PartitionName=batch Nodes=compute[01-05] *QOS*=vip Default=NO
MaxTime=UNLIMITED State=UP
This will allow for a partition QOS that isn't associated with the job
as talked about in the SLUG15 presentation
http://slurm.schedmd.com/SLUG15/Partition_QOS.pdf
On 11/11/15 08:09, Paul Edmon wrote:
Thanks for the insight. I will try it out on my end.
-Paul Edmon-
On 11/11/2015 3:31 AM, Dennis Mungai wrote:
Re: [slurm-dev] Re: Partition QoS
Thanks a lot, James. Helped a bunch ;-)
*From:*James Oguya [mailto:oguyaja...@gmail.com]
*Sent:* Wednesday, November 11, 2015 11:21 AM
*To:* slurm-dev <slurm-dev@schedmd.com>
*Subject:* [slurm-dev] Re: Partition QoS
I was able to do this on slurm 15.08.3 on a test environment. Here
are my notes:
- create qos
sacctmgr add qos Name=vip MaxJobsPerUser=5 MaxSubmitJobsPerUser=5
MaxTRESPerUser=cpu=128
- create partition in slurm.conf
PartitionName=batch Nodes=compute[01-05] AllowQOS=vip Default=NO
MaxTime=UNLIMITED State=UP
I believe the keyword here is to specify the QoS name when creating
the partition, for my case, I used AllowQOS=vip
James
On Wed, Nov 11, 2015 at 4:16 AM, Danny Auble <d...@schedmd.com
<mailto:d...@schedmd.com>> wrote:
I'm guessing you also added the qos to your partition line in
your slurm.conf as well.
On November 10, 2015 5:08:24 PM PST, Paul Edmon
<ped...@cfa.harvard.edu> wrote:
I did that but it didn't pick it up. I must need to
reconfigure again after I made the qos. I will have to try
it again. Let you know how it goes.
-Paul Edmon-
On 11/10/2015 5:40 PM, Douglas Jacobsen wrote:
Hi Paul,
I did this by creating the qos, e.g. sacctmgr create qos
part_whatever
Then in slurm.conf setting qos=part_whatever in the
"whatever" partition definition.
scontrol reconfigure
finally, set the limits on the qos:
sacctmgr modify qos set MaxJobsPerUser=5 where
name=part_whatever
...
-Doug
----
Doug Jacobsen, Ph.D.
NERSC Computer Systems Engineer
National Energy Research Scientific Computing Center
<http://www.nersc.gov>
------------- __o
---------- _ '\<,_
----------(_)/ (_)__________________________
On Tue, Nov 10, 2015 at 2:29 PM, Paul Edmon
<ped...@cfa.harvard.edu> wrote:
In 15.08 you are able to set QoS limits directly on
a partition. So how do you actually accomplish
this? I've tried a couple of ways, but no luck. I
haven't seen a demo of how to do this anywhere
either. My goal is to set up a partition with the
following QoS parameters:
MaxJobsPerUser=5
MaxSubmitJobsPerUser=5
MaxCPUsPerUser=128
Thanks for the info.
-Paul Edmon-
--
/James Oguya/
______________________________________________________________________
This e-mail contains information which is confidential. It is
intended only for the use of the named recipient. If you have
received this e-mail in error, please let us know by replying to the
sender, and immediately delete it from your system. Please note,
that in these circumstances, the use, disclosure, distribution or
copying of this information is strictly prohibited. KEMRI-Wellcome
Trust Programme cannot accept any responsibility for the accuracy or
completeness of this message as it has been transmitted over a
public network. Although the Programme has taken reasonable
precautions to ensure no viruses are present in emails, it cannot
accept responsibility for any loss or damage arising from the use of
the email or attachments. Any views expressed in this message are
those of the individual sender, except where the sender specifically
states them to be the views of KEMRI-Wellcome Trust Programme.
______________________________________________________________________