LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 433
Advance Reservation
Modifying closed
reservations
The following command creates an open advance reservation for 1024 job slots on
host
hostA for user user1 between 6:00 a.m. and 8:00 a.m. today.
brsvadd -o -n 1024 -m hostA -u user1 -b 6:0 -e 8:0
Reservation "user1#0" is created
Run the following command to close the reservation when it expires.
brsvmod -on user1#0
Reservation "user1#0" is modified
Disable specified
occurrences for
recurring
reservations
Use brsvmod disable to disable specified periods, or instances, of a recurring
advance reservation.
Recurring reservations may repeat either on a daily cycle or a weekly cycle. For
daily reservations, the instances of the reservation that occur on disabled days will
be inactive. Jobs using the reservation are not dispatched during on those disabled
days. Other reservations are permitted to use slots of the reservation on those days.
For overnight reservations (active from 11 p.m. to 9 a.m. daily), if the reservation is
disabled on the starting day of an instance, the reservation is disabled for the whole
of that instance.
For a weekly reservation, if the reservation is disabled on the start date of an
instance of the reservation then the reservation is disabled for the entire instance.
For example, for a weekly reservation with time window from 9 a.m. Wednesday to
10 p.m. Friday, in one particular week, the reservation is disabled on Thursday, then
the instance of the reservation remains active for that week. However, if the same
reservation is disabled for the Wednesday of the week, then the reservation is
disabled for the week.
The following figure illustrates how the disable options apply to the weekly
occurrences of a recurring advance reservation.
Once a reservation is disabled for a period, it cannot be enabled again; that is, the
disabled periods remain fixed. Before a reservation is disabled, you are prompted to
confirm whether to continue disabling the reservation. Use the
-f option to silently
force the command to run without prompting for confirmation, for example, to
allow for automating disabling reservations from a script.
For example, the following command creates a recurring advance reservation for 4
slots on host
hostA for user user1 between 6:00 a.m. and 8:00 a.m. every day.
Reservation "user1#0" is created
brsvadd -n 4 -m hostA -u user1 -t "6:0-8:0"