Platform LSF Administration Guide Version 6.2

Chapter 20
Advance Reservation
Administering Platform LSF
367
Reservation Type: OPEN
EXIT Jobs: 716
RSVID TYPE USER NCPUS RSV_HOSTS TIME_WINDOW
groupA#0 group groupA 2048 hostA:1024 3:0:0-3:3:0 *
hostB:1024
Reservation Type: OPEN
EXIT Jobs: 717
PEND Jobs: 718 719
RUN Jobs: 720
RSVID TYPE USER NCPUS RSV_HOSTS TIME_WINDOW
system#0 sys system 1024 hostA:1024 5:18:0-5:20:0 *
Reservation Type: CLOSED
RUN Jobs: 721
SUSP Jobs: 722
bjobs command
Use bjobs -l to show the reservation ID used by a job:
%
bjobs -l
Job <1152>, User <user1>, Project <default>, Status <PEND>,
Queue <normal>, Reservation <user1#0>, Command <myjob>
Mon Nov 12 5:13:21: Submitted from host <hostB>, CWD
</home/user1/jobs>;
Submitting and modifying jobs using advance reservations
Submitting and running jobs (bsub -U)
Use the -U option of bsub to submit jobs with a reservation ID. For example:
% bsub -U user1#0 myjob
The job can only use hosts reserved by the reservation user1#0. By default, LSF selects
only hosts in the reservation. Use the
-m option to specify particular hosts within the list
of hosts reserved by the reservation; you can only select from hosts that were included
in the original reservation.
If you do not specify hosts (
bsub -m) or resource requirements (bsub -R), the default
resource requirement is to select hosts that are of any host type (LSF assumes
"type==any" instead of "type==local" as the default select string).
If you later delete the advance reservation while it is still active, any pending jobs still
keep the
"type==any" attribute.
A job can only use one reservation. There is no restriction on the number of jobs that
can be submitted to a reservation; however, the number of slots available on the hosts
in the reservation may run out. For example, reservation
user2#0 reserves 1024 slots
on
hostA. When all 1024 slots on hostA are used by jobs referencing user2#0,
hostA is no longer available to other jobs using reservation user2#0. Any single user
or user group can have a maximum of 100 reservation IDs.