LSF Version 7.3 - Administering Platform LSF
Configure Advance Reservation
424 Administering Platform LSF
Configure Advance Reservation
Enable advance reservation
1 To enable advance reservation in your cluster, make sure the advance
reservation scheduling plugin
schmod_advrsv is configured in lsb.modules.
Begin PluginModule
SCH_PLUGIN RB_PLUGIN SCH_DISABLE_PHASES
schmod_default () ()
schmod_advrsv () ()
End PluginModule
Allow users to create advance reservations
By default, only LSF administrators or root can add or delete advance reservations.
To allow other users to use
brsvadd to create advance reservations and brsvdel to
delete advance reservations, you need to configure advance reservation user
policies.
1 Use the ResourceReservation section of lsb.resources to configure advance
reservation policies for users.
A ResourceReservation section 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.
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.:
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.