LSF Version 7.3 - Administering Platform LSF
Using Advance Reservation
432 Administering Platform LSF
RSVID TYPE USER NCPUS RSV_HOSTS TIME_WINDOW
groupA#0 user groupA 0/1024 hostA:0/256 3:3:0-3:3:0 *
hostB:0/768
The following commands reserve 512 slots from each host for the reservation:
brsvmod addhost -n 256 -m "hostA" groupA#0
Reservation "groupA#0" is modified
brsvmod rmhost -n 256 -m "hostB" groupA#0
Reservation "groupA#0" is modified
Removing hosts
from a reservation
allocation
Use brsvmod rmhost to remove hosts or slots on hosts from the original
reservation allocation. You must specify either
-n or -m. Use -n to specify the
number of slots to be released from the host. Removing a host without
-n releases
all reserved slots on the host. The slot specification must be less than or equal to
the actual reserved slot number of the host.
For example:
◆ Remove 4 reserved slots from hostA
brsvmod rmhost -n 4 -m "hostA"
◆ Remove 4 slots in total from hostA and hostB.
brsvmod rmhost -n 4 -m "hostA hostB"
◆ Release reserved hostA and hostB.
brsvmod rmhost -m "hostA hostB"
◆ Remove 4 slots from current reservation allocation.
brsvmod rmhost -n 4
You cannot remove slots from a system reservation. The following modification to
the system reservation
System#1 is rejected:
brsvmod rmhost -n 2 -m "hostA" system#1
How many slots or hosts can be removed also depends on the number of slots free
while the reservation is active.
brsvmod rmhost cannot remove more slots than
free amount on a host. For example:
brsvs
RSVID TYPE USER NCPUS RSV_HOSTS TIME_WINDOW
user1_1 user user1 3/4 hostA:2/2 1/24/12/2-1/24/13/0
hostB:1/2
The following modifications are accepted, and one slot is removed from hostA:
brsvmod rmhost -m hostA user1_1
brsvmod rmhost -n 1 -m hostA user1_1
The following modifications are rejected:
brsvmod rmhost -n 2 user1_1
brsvmod rmhost -m hostB user1_1
brsvmod rmhost -n 1 -m hostB user1_1
brsvmod rmhost -n 2 -m hostA user1_1