LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 425
Advance Reservation
All users in user group ugroup1 except user1 can make advance reservations
on any host in hgroup1, except
hostB, between 10:00 p.m. and 6:00 a.m. every
day
Begin ResourceReservation
NAME = nightPolicy
USERS = ugroup1 ~user1
HOSTS = hgroup1 ~hostB
TIME_WINDOW = 20:00-8:00
End ResourceReservation
IMPORTANT: The not operator (~) does not exclude LSF administrators from the policy.
For example:
1 Define a policy for user:
user1:
Policy Name: dayPolicy
Users: user1
Hosts: hostA
Time Window: 8:00-18:00
2 User user1 creates a reservation matching the policy ( the creator is user1, the
user is
user2):
brsvadd -n 1 -m hostA -u user2 -b 10:00 -e 12:00
user2#0 is created.
3 User user1 modifies the policy to remove user1 from the users list:
Policy Name: dayPolicy
Users: user3
Hosts: hostA
Time Window: 8:00-18:00
4 As the creator, user1 can modify the reservation with the brsvmod options
rmhost, -u, -o, -on, and -d, but user1 cannot add hosts or modify the time
window of the reservation.
USER_ADVANCE_RESERVATION is obsolete (lsb.params)
USER_ADVANCE_RESERVATION in lsb.params is obsolete in LSF Version 7.
Use the ResourceReservation section configuration in
lsb.resources to configure
advance reservation policies for your cluster.