LSF Version 7.3 - Administering Platform LSF
Using Advance Reservation
434 Administering Platform LSF
Run the following command to disable the reservation instance that is active
between Dec 1 to Dec 10, 2007.
brsvmod -disable -td "2007:12:1-2007:12:10" user1#0
Reservation "user1#0" is modified
Then the administrator can use host hostA for other reservations during the
duration
brsvadd -n 4 -m hostA -u user1 -b "2007:12:1:6:0" -e "2007:12:1:8:0"
Reservation "user1#2" is created
Change users and
user groups
Use brsvmod -u to change the user or brsvmod -g to change the user group that is
able to submit jobs with the advance reservation.
Jobs submitted by the original user or user group to the reservation still belong to
the reservation and scheduled as advance reservation jobs, but new submitted jobs
from the removed user or user group cannot use the reservation any longer.
brun An advance reservationa job dispatched with brun is still subject to run windows
and suspending conditions of the advance reservation for the job. The job must
finish running before the time window of a closed reservation expires. Extending
or shrinking a closed advance reservation duration prolongs or shortens lifetime of
a
brun job.
bslots bslots displays a snapshot of the slots currently not in use by parallel jobs or
advance reservations. If the hosts or duration of an advance reservation is modified,
bslots recalculates and displays the available slots and available run time
accordingly.
How advance reservation modifications interact
The following table summarizes how advance reservation modification applies to
various advance reservation instances.
Where: "Yes" means the modification is supported in the scenario; otherwise, "No"
is marked. For example, all modifications are acceptable in the case that the advance
reservation is inactive.
Reservation policy checking
The following table summarizes how advance reservation commands interpret
reservation policy configurations in
lsb.resources:
Disable Modification
Begin
time
End
Time
Add
Hosts
Rm Hosts User/
Usergroup
open/
closed
Pre cmd Post cmd
One -time Active No No Yes Yes Yes Yes Yes Yes Yes
Inactive No Yes Yes Yes Yes Yes Yes Yes Yes
Recurring Occurrences All No Yes Yes Yes Yes Yes Yes Yes Yes
Specified Yes No No No No No No No No
Active
instance
No No No No No No No No No