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

[Condor-users] Arbitrary ClassAd attribute

As mentioned earlier I am trying to define the arbitrary attribute in the machine ClassAd of one machine (fnpcsrv1) and then force jobs to match with it by a matching classad.

I have the following so far:
On fnpcsrv1
[root@fnpcsrv1 log]# condor_status -long fnpcsrv1
Class = "IO"
Start = Class =!= UNDEFINED && Class == "IO"


In my job classad:
Requirements = ((TARGET.Class =!= UNDEFINED && TARGET.Class == "IO")) && (Arch == "INTEL") && (OpSys == "LINUX") && (Disk >= DiskUsage) && ((Memory * 1024) >= ImageSize) && (TARGET.FileSystemDomain == MY.FileSystemDomain)
Class = "IO"


What is happening at the moment is that the job is matching
with another machine in the pool that doesn't have Class=IO,
and failing.

What are we doing wrong here?

Steve Timm

-- ------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525  timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Div/Core Support Services Dept./Scientific Computing Section
Assistant Group Leader, Farms and Clustered Systems Group
Lead of Computing Farms Team