25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Controlling Queues<br />

Dispatch Windows<br />

A dispatch window specifies one or more time periods during which batch jobs<br />

are dispatched to run on hosts. Jobs are not dispatched outside of configured<br />

windows. Dispatch windows do not affect job submission and running jobs<br />

(they are allowed to run until completion). By default, dispatch windows are<br />

not configured, queues are always Active.<br />

To configure dispatch window:<br />

1 Edit lsb.queues<br />

2 Create a DISPATCH_WINDOW keyword for the queue and specify one or<br />

more time windows. For example:<br />

Begin Queue<br />

QUEUE_NAME = queue1<br />

PRIORITY = 45<br />

DISPATCH_WINDOW = 4:30-12:00<br />

End Queue<br />

3 Reconfigure the cluster using:<br />

a lsadmin reconfig<br />

b badmin reconfig<br />

4 Run bqueues -l to display the dispatch windows.<br />

Run Windows<br />

A run window specifies one or more time periods during which jobs<br />

dispatched from a queue are allowed to run. When a run window closes,<br />

running jobs are suspended, and pending jobs remain pending. The<br />

suspended jobs are resumed when the window opens again. By default, run<br />

windows are not configured, queues are always Active and jobs can run until<br />

completion.<br />

To configure a run window:<br />

1 Edit lsb.queues.<br />

2 Create a RUN_WINDOW keyword for the queue and specify one or more<br />

time windows. For example:<br />

Begin Queue<br />

QUEUE_NAME = queue1<br />

PRIORITY = 45<br />

RUN_WINDOW = 4:30-12:00<br />

End Queue<br />

3 Reconfigure the cluster using:<br />

a lsadmin reconfig.<br />

b badmin reconfig.<br />

4 Run bqueues -l to display the run windows.<br />

106<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!