Platform LSF Administration Guide Version 6.2

Chapter 20
Advance Reservation
Administering Platform LSF
363
[
day:
]
hour
[
:minute
]
with the following ranges:
day of the week: 0-6
hour: 0-23
minute: 0-59
Specify a time window one of the following ways:
hour-hour
hour:minute-hour:minute
day:hour:minute-day:hour:minute
You must specify at least the hour. Day of the week and minute are optional. Both the
start time and end time values must use the same syntax. If you do not specify a minute,
LSF assumes the first minute of the hour (
:00). If you do not specify a day, LSF assumes
every day of the week. If you do specify the day, you must also specify the minute.
When the job starts running, the run limit of the reservation is set to the minimum of
the job run limit (if specified), the queue run limit (if specified), or the duration of the
reservation time window. LSF administrators can prevent running jobs from being killed
when the reservation expires by changing the termination time of the job using the
reservation (
bmod -t) before the reservation window closes.
Examples
The following command creates an advance reservation for 1024 processors on two
hosts
hostA and hostB for user group groupA every Wednesday from 12:00
midnight to 3:00 a.m.:
% brsvadd -n 2048 -m "hostA hostB" -g groupA -t "3:0:0-
3:3:0"
Reservation "groupA#0" is created
The following command creates an advance reservation for 1024 processors on
hostA for user user2 every weekday from 12:00 noon to 2:00 p.m.:
% brsvadd -n 1024 -m "hostA" -u user2 -t "12:0-14:0"
Reservation "user2#0" is created
The following command creates a system reservation on hostA every Friday from
6:00 p.m. to 8:00 p.m.:
% brsvadd -n 1024 -m hostA -s -t "5:18:0-5:20:0"
Reservation "system#0" is created
While the system reservation is active, no other jobs can use the reserved hosts, and
LSF does not dispatch jobs to the specified hosts.
The following command creates an advance reservation for 1024 processors on
hosts
hostA and hostB with more that 50 MB of swap space for user user2 every
weekday from 12:00 noon to 2:00 p.m.:
% brsvadd -n 1024 -R "swp > 50" -m "hostA hostB" -u user2 -t "12:0-14:0"
Reservation "user2#1" is created
Adding an open reservation
brsvadd -o
Use the -o option of brsvadd to create an open advance reservation. You must specify
the same information as for normal advance reservations.