Page History

Turn Off History

How to reserve a slot or machine for special jobs

Suppose you have a type of job known as a "Pickle" job and you want to dedicate a specific slot or machine to running this type of job. In the configuration file of the machine:

#Advertise that this machine is for "Pickle" jobs
IsPickleSlot = True
STARTD_EXPRS = $(STARTD_EXPRS) IsPickleSlot

# this machine only runs "Pickle" jobs
START = ($(START)) && (MY.IsPickleSlot =!= True || TARGET.IsPickleJob)

In the job submit file:

+IsPickleJob = true
requirements = TARGET.IsPickleSlot

If you only want specific slots on the machine to be for Pickle jobs, you can adjust the setting of IsPickleSlot on a per-slot basis. Example:

SLOT1_IsPickleSlot = True
SLOT2_IsPickleSlot = False