Platform LSF Administration Guide Version 6.2

Using Advance Reservation
Administering Platform LSF
364
Examples
The following command creates a one-time open advance reservation for 1024
processors on a host of any type for user
user1 between 6:00 a.m. and 8:00 a.m.
today:
% brsvadd -o -n 1024 -R "type==any" -u user1 -b 6:0 -e 8:0
Reservation "user1#1" is created
The following command creates an open advance reservation for 1024 processors
on
hostB for user user3 every weekday from 12:00 noon to 2:00 p.m.:
% brsvadd -o -n 1024 -m "hostB" -u user3 -t "12:0-14:0"
Reservation "user2#0" is created
Removing an advance reservation
brsvdel command
Use brsvdel to delete reservations. Specify the reservation ID for the reservation you
want to delete. For example:
% brsvdel user1#0
Reservation user1#0 is being deleted
You can delete more than one reservation at a time. Administrators can delete any
reservation, but users may only delete their own reservations.
For more
information
See Chapter 12, “Time Syntax and Configuration” for more information about
specifying time windows in LSF.
Viewing reservations
brsvs command
Use brsvs to show current reservations:
%
brsvs
RSVID TYPE USER NCPUS RSV_HOSTS TIME_WINDOW
user1#0 user user1 1024 hostA:1024 11/12/6/0-11/12/8/0
user2#0 user user2 1024 hostA:1024 12:0-14:0 *
groupA#0 group groupA 2048 hostA:1024 3:0:0-3:3:0 *
hostB:1024
system#0 sys system 1024 hostA:1024 5:18:0-5:20:0 *
In the TIME_WINDOW column:
A one-time reservation displays fields separated by slashes
(
month/day/hour/minute). For example:
11/12/14/0-11/12/18/0
A recurring reservation displays fields separated by colons (day:hour:minute).
An asterisk (*) indicates a recurring reservation. For example:
5:18:0 5:20:0 *
Showing a weekly
planner (brsvs -p)
Use brsvs -p to show a weekly planner for specified hosts using advance reservation.
The
all keyword shows the planner for all hosts with reservations.
MAX indicates the configured maximum number of job slots for the host (MXJ defined
in lsb.hosts).