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

[HTCondor-users] Try to set DedicatedScheduler = NO JOBS EVER onto WN :[



Greetings friendly helpful htcondor folk,

Humbly, I've little KnowHow about htcondor. We have a CE (lcgce01) that
accepts WLCG Grid jobs, several local-user-submit nodes, a "manager /
matchmaker" htc00, & lotsa WN.

On some of the WN we want to restrict them to only running Grid jobs, not
local-user jobs. Experimenting on one of these WN, it seems when we try to 
set it to tell the "manager / matchmaker" "I only accept jobs from 
lcgce01", it then apparently gets NO jobs, ever. :[  

The advice from our local expert (who admits he doesn't know quite how to 
do this) is to setup the DedicatedScheduler on the WN.

Copying from the example on the WN, this is in the WN's
/etc/condor/config.d/20_workernode.config

DedicatedScheduler = "DedicatedScheduler@xxxxxxxxxxxxxxxxxxxxxx"
##--------------------------------------------------------------------
## 1) Only run dedicated jobs
##--------------------------------------------------------------------
START          = Scheduler =?= $(DedicatedScheduler)
SUSPEND        = False
CONTINUE       = True
PREEMPT        = False
KILL           = False
WANT_SUSPEND   = False
WANT_VACATE    = False
RANK           = Scheduler =?= $(DedicatedScheduler)

Is there a syntax error or something?

Testing this would be easier if I knew how to submit a job to lcgce01 
saying "run this on the named WN" (then the matchmaker htc00 might log 
some error?) 
- but that seems impossible? I could not find where in the documentation 
this might be shown HowTo.
If it is possible, what is the syntax to put in a test.xrsl submit file?
(Or a pointer to documentation is welcome!)

Humble very-non-expert!