Steve Rader via UW-HEP Help System wrote:
> Steve Rader <rader@ginseng.hep.wisc.edu> added the comment:
>
>
>> The condor status graphs should be fixed so that when the
>>
> > "GeneralPurposeVM" is unclaimed, it reports the status of the
> > "SuspendVM" instead. Without this, our reports of GLOW utilization are
> > not showing the full utilization that really exists.
> >
> > Here's an example of a condor_status query that does the right thing.
> > It shows the state of each general purpose VM or, if unclaimed, the
> > state of the corresponding suspension VM.
> >
> > condor_status -pool glow.cs.wisc.edu -constraint 'IsGeneralPurposeVM &&
> > OpSys == "LINUX"' -f "%s\n"
> > 'ifThenElse(State=?="Unclaimed",ifThenElse(SuspendVMClaimed,"Claimed","Unclaimed"),State)'
>
> So change
>
> -constraint 'IsGeneralPurposeVM =?= True'
>
> to that crazy one above, right?
>
Notice that the constraint isn't all that crazy in the command above.
What is crazy is the -f (-format) option to print out the state of the
VM. It prints the state of the VM in a way that takes into account the
state of the suspension VM.
>
>
> > We should also change the graph to report the "Backfill" state.
>
> Tell me more. I don't know about the backfill state!
>
When condor doesn't have any other job to run, it can be configured to
run "backfill" processes. (This was a new feature added in the last
year or so.) This is being used on glow. The state of the condor VM
will show up as "Backfill".
--Dan |