[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Question about making some nodes dedicated to a single user



Vikas,

Well, if you only want to allow those nodes to be used by that one user, you could simply place the Owner attribute in the START expression within a configuration file in /etc/condor/config.d on those specific nodes .... 

START = (Owner == "mkandes")

Then only that username (on the schedd) should match on those nodes. However, this will not prevent the user from running on other nodes in the cluster as well (if you need them to ONLY run on those 10 nodes). If you need per slot control, I would imagine there is a more fine-grained way to construct the START expression. But I don't know off the top of my head. 

Marty Kandes
UCSD 

________________________________________
From: HTCondor-users [htcondor-users-bounces@xxxxxxxxxxx] on behalf of Bansal, Vikas [Vikas.Bansal@xxxxxxxx]
Sent: Tuesday, March 28, 2017 5:53 PM
To: htcondor-users@xxxxxxxxxxx
Subject: [HTCondor-users] Question about making some nodes dedicated to a       single user

Hi,

I have a condor batch system available at my site.

$ condor_version
$CondorVersion: 8.2.10 Oct 27 2015 $
$CondorPlatform: X86_64-CentOS_6.7 $

It has 1000 slots/nodes.


I was wondering if it is possible to pick, say, 10 slots so that those 10 slots only accept/run jobs from a specific user A?
If so how?

I understand that a user can specify a node in condor JDL by specifying

Requirements = TARGET.Name== slot9@cn154

So then if slot9@cn154 can be configured to only receive jobs from one user, then the problem is addressed. But I am not sure if this is configurable.


Thanks for your help.
Vikas

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/