LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 431
Advance Reservation
Time means the time window of the reservation
t1 is the begin time of the reservation
t2 is the end time of the reservation
The reservation size means the resources that are reserved, such as hosts (slots)
or host groups
Use
brsvmod to shift, extend or reduce the time window horizontally; grow or
shrink the size vertically.
Extending the
duration
The following command creates a one-time advance reservation for 1024 job slots
on host
hostA for user user1 between 6:00 a.m. and 8:00 a.m. today:
brsvadd -n 1024 -m hostA -u user1 -b "6:0" -e "8:0"
Reservation "user1#0" is created
Run the following command to extend the duration from 6:00 a.m. to 9:00 a.m.:
brsvmod -e "+60" user1#0
Reservation "user1#0" is modified
Adding hosts to a
reservation
allocation
Use brsvmod to add hosts and slots on hosts into the original advance reservation
allocation. The hosts can be local to the cluster or hosts leased from remote clusters.
Adding a host without
-n reserves all available slots on the host; that is, slots that
are not already reserved by other reservations. You must specify
-n along with -m
or
-R. The -m option can be used alone if there is no host group specified in the list.
You cannot sp e cif y
-R without with -n.
The specified slot number must be less than or equal to the available number of job
slots for the host.
You can only add hosts (
-m) to a system reservation. You cannot add slots (-n) to a
system reservation.
For example:
Reserve 2 more slots from hostA:
brsvmod addhost -n2 -m "hostA"
Reserve 4 slots in total from hostA and hostB:
brsvmod addhost -n4 -m "hostA hostB"
Reserve 4 more slots from any Linux hosts:
brsvmod addhost -n4 -R"type==linux"
Reserve 4 more slots from any Linux hosts in the host group hostgroup1:
brsvmod addhost -n4 -m "hostgroup1" -R "type==linux"
Reserve all available slots from hostA and hostB:
brsvmod addhost -m "hostA hostB"
The following command creates an advance reservation for 1024 slots on two hosts
hostA and hostB for user group groupA every Wednesday from 12:00 midnight to
3:00 a.m.:
brsvadd -n 1024 -m "hostA hostB" -g groupA -t "3:0:0-3:3:0"
Reservation "groupA#0" is created
brsvs