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.

Chapter 35<br />

Advance Reservation<br />

[day:]hour[:minute]<br />

with the following ranges:<br />

◆ day of the week: 0-6<br />

◆ hour: 0-23<br />

◆ minute: 0-59<br />

Specify a time window one of the following ways:<br />

◆ hour-hour<br />

◆ hour:minute-hour:minute<br />

◆ day:hour:minute-day:hour:minute<br />

You must specify at least the hour. Day of the week and minute are optional.<br />

Both the start time and end time values must use the same syntax. If you do<br />

not specify a minute, <strong>LSF</strong> assumes the first minute of the hour (:00). If you do<br />

not specify a day, <strong>LSF</strong> assumes every day of the week. If you do specify the<br />

day, you must also specify the minute.<br />

When the job starts running, the run limit of the reservation is set to the<br />

minimum of the job run limit (if specified), the queue run limit (if specified),<br />

or the duration of the reservation time window. <strong>LSF</strong> administrators can prevent<br />

running jobs from being killed when the reservation expires by changing the<br />

termination time of the job using the reservation (bmod -t) before the<br />

reservation window closes.<br />

Examples ◆ The following command creates an advance reservation for 1024<br />

processors on two hosts hostA and hostB for user group groupA every<br />

Wednesday from 12:00 midnight to 3:00 a.m.:<br />

% brsvadd -n 2048 -m "hostA hostB" -g groupA -t "3:0:0-<br />

3:3:0"<br />

Reservation "groupA#0" is created<br />

◆ The following command creates an advance reservation for 1024<br />

processors on hostA for user user2 every weekday from 12:00 noon to<br />

2:00 p.m.:<br />

% brsvadd -n 1024 -m "hostA" -u user2 -t "12:0-14:0"<br />

Reservation "user2#0" is created<br />

◆ The following command creates a system reservation on hostA every<br />

Friday from 6:00 p.m. to 8:00 p.m.:<br />

% brsvadd -n 1024 -m hostA -s -t "5:18:0-5:20:0"<br />

Reservation "system#0" is created<br />

While the system reservation is active, no other jobs can use the reserved<br />

hosts, and <strong>LSF</strong> does not dispatch jobs to the specified hosts.<br />

◆ The following command creates an advance reservation for 1024<br />

processors on hosts hostA and hostB with more that 50 MB of swap space<br />

for user user2 every weekday from 12:00 noon to 2:00 p.m.:<br />

% brsvadd -n 1024 -R "swp > 50" -m "hostA hostB" -u user2 -t "12:0-14:0"<br />

Reservation "user2#1" is created<br />

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

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

Saved successfully!

Ooh no, something went wrong!