25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring Service Classes for SLA Scheduling<br />

Service class configuration examples<br />

◆<br />

◆<br />

◆<br />

The service class Uclulet defines one deadline goal that is active during<br />

working hours between 8:30 AM and 4:00 PM. All jobs in the service class<br />

should complete by the end of the specified time window. Outside of this<br />

time window, the SLA is inactive and jobs are scheduled without any goal<br />

being enforced:<br />

Begin ServiceClass<br />

NAME = Uclulet<br />

PRIORITY = 20<br />

GOALS = [DEADLINE timeWindow (8:30-16:00)]<br />

DESCRIPTION = "working hours"<br />

End ServiceClass<br />

The service class Nanaimo defines a deadline goal that is active during the<br />

weekends and at nights.<br />

Begin ServiceClass<br />

NAME = Nanaimo<br />

PRIORITY = 20<br />

GOALS = [DEADLINE timeWindow (5:18:00-1:8:30 20:00-8:30)]<br />

DESCRIPTION = "weekend nighttime regression tests"<br />

End ServiceClass<br />

The service class Inuvik defines a throughput goal of 6 jobs per hour that<br />

is always active:<br />

Begin ServiceClass<br />

NAME = Inuvik<br />

PRIORITY = 20<br />

GOALS = [THROUGHPUT 6 timeWindow ()]<br />

DESCRIPTION = "constant throughput"<br />

End ServiceClass<br />

To configure a time window that is always open, use the timeWindow keyword<br />

with empty parentheses.<br />

◆<br />

The service class Tofino defines two velocity goals in a 24 hour period.<br />

The first goal is to have a maximum of 10 concurrently running jobs during<br />

business hours (9:00 a.m. to 5:00 p.m). The second goal is a maximum of<br />

30 concurrently running jobs during off-hours (5:30 p.m. to 8:30 a.m.)<br />

Begin ServiceClass<br />

NAME = Tofino<br />

PRIORITY = 20<br />

GOALS = [VELOCITY 10 timeWindow (9:00-17:00)] \<br />

[VELOCITY 30 timeWindow (17:30-8:30)]<br />

DESCRIPTION = "day and night velocity"<br />

End ServiceClass<br />

244<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!