Platform LSF Administration Guide Version 6.2
Chapter 20
Advance Reservation
Administering Platform LSF
361
Using Advance Reservation
Advance reservation commands
Use the following commands to work with advance reservations:
brsvadd
Add a reservation
brsvdel
Delete a reservation
brsvs
View reservations
Adding reservations
By default, only LSF administrators or root can add or delete advance
reservations.
brsvadd command
Use brsvadd to create new advance reservations. You must specify the following for
the reservation:
◆
Number of processors to reserve
This number should less than or equal to the actual number of CPUs for the hosts
defined in the reservation.
◆
Hosts for the reservation
◆
Owners of the reservation
◆
Time period for the reservation: Either:
❖
Begin time and end time for a one-time reservation
OR
❖
Time window for a recurring reservation
The
brsvadd command returns a reservation ID that you use when you submit a job
that uses the reserved hosts. Any single user or user group can have a maximum of 100
reservation IDs.
Specifying hosts for the reservation
brsvadd -m and -R
Use one or both of the following brsvadd options to specify hosts for which
processors are reserved:
◆
The -m option lists the hosts needed for the reservation
The hosts listed the
-m option can be local to the cluster or hosts leased from
remote clusters. At job submission, LSF considers the hosts in the specified order.
If you also specify a resource requirement string with the
-R option, -m is optional.
◆
The -R option selects hosts for the reservation according to a resource
requirements string
Only hosts that satisfy the resource requirement expression are reserved.
-R accepts
any valid resource requirement string, but only the select string takes effect.
If you also specify a host list with the
-m option, -R is optional.