Platform LSF Reference Version 6.2

lsb.resources
Platform LSF Reference
451
ResourceReservation Section
By default, only LSF administrators or root can add or delete advance reservations.
The ResourceReservation section defines an advance reservation policy. It specifies:
Users or user groups that can create reservations
Hosts that can be used for the reservation
Time window when reservations can be created
Each advance reservation policy is defined in a separate ResourceReservation section,
so it is normal to have multiple ResourceReservation sections in
lsb.resources.
Example ResourceReservation section
Only user1 and user2 can make advance reservations on hostA and hostB. The
reservation time window is between 8:00 a.m. and 6:00 p.m. every day:
Begin ResourceReservation
NAME = dayPolicy
USERS = user1 user2 # optional
HOSTS = hostA hostB # optional
TIME_WINDOW = 8:00-18:00 # weekly recurring reservation
End ResourceReservation
user1 can add the following reservation for user user2 to use on hostA every Friday
between 9:00 a.m. and 11:00 a.m.:
% user1@hostB> brsvadd -m "hostA" -n 1 -u "user2" -t "5:9:0-
5:11:0"
Reservation "user2#2" is created
Users can only delete reservations they created themselves. In the example, only user
user1 can delete the reservation; user2 cannot. Administrators can delete any
reservations created by users.
HOSTS
Syntax
HOSTS=
[~]host_name | [~]host_group | all | allremote | all@cluster_name ...
Description
A space-separated list of hosts, host groups defined in lsb.hosts on which
administrators or users specified in the USERS parameter can create advance
reservations.
The hosts can be local to the cluster or hosts leased from remote clusters.
If a group contains a subgroup, the reservation configuration applies to each member in
the subgroup recursively.
Use the keyword
all to configure reservation policies that apply to all local hosts in a
cluster not explicitly excluded. This is useful if you have a large cluster but you want to
use the not operator (
~) to exclude a few hosts from the list of hosts where reservations
can be created.
Use the keyword
allremote to specify all hosts borrowed from all remote clusters.
You cannot specify host groups or host partitions that contain the allremote
keyword.