LSF Version 7.3 - Administering Platform LSF

Using Advance Reservation
428 Administering Platform LSF
The following command creates a one-time advance reservation that reserves
12 slots on
hostA between 6:00 p.m. on 01 December 2003 and 6:00 a.m. on 31
January 2004:
brsvadd -n 12 -m hostA -u user1 -b 2003:12:01:18:00 -e
2004:01:31:06:00
Reservation user1#2 is created
Add a recurring reservation
1 Use the -t option of brsvadd to specify a recurring advance reservation. The
-t option specifies a time window for the reservation. Recurring reservations
are useful for scheduling regular system maintenance jobs.
The day and time are in the form:
[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.
If the current time when the reservation is created is within the time window of
the reservation. the reservation becomes active immmediately.
When the job starts running, the termination time of the advance reservation
job is determined by the minimum of the job run limit (if specified), the queue
run limit (if specified), or the duration of the reservation time window.
The following command creates an advance reservation for 1024 job slots on
two hosts
hostA and hostB for user group groupA every Wednesday from 12:00
midnight to 3:00 a.m.:
brsvadd -n 1024 -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 job slots 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