LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 429
Advance Reservation
The following command creates a system reservation on hostA every Friday
from 6:00 p.m. to 8:00 p.m.:
brsvadd -n 1024 -m hostA -s -t "5:18:0-5:20:0"
Reservation "system#0" is created
While the system reservation is active, no other jobs can use the reserved hosts,
and LSF does not dispatch jobs to the specified hosts.
The following command creates an advance reservation for 1024 job slots on
hosts
hostA and hostB with more that 50 MB of swap space for user user2
every weekday from 12:00 noon to 2:00 p.m.:
brsvadd -n 1024 -R "swp > 50" -m "hostA hostB" -u user2 -t "12:0-14:0"
Reservation "user2#1" is created
Add an open reservation
1 Use the -o option of brsvadd to create an open advance reservation. You must
specify the same information as for normal advance reservations.
The following command creates a one-time open advance reservation for 1024
job slots on a host of any type for user
user1 between 6:00 a.m. and 8:00 a.m.
today:
brsvadd -o -n 1024 -R "type==any" -u user1 -b 6:0 -e 8:0
Reservation "user1#1" is created
The following command creates an open advance reservation for 1024 job slots
on
hostB for user user3 every weekday from 12:00 noon to 2:00 p.m.:
brsvadd -o -n 1024 -m "hostB" -u user3 -t "12:0-14:0"
Reservation "user2#0" is created
Specify a reservation name
1 Use the -N option of brsvadd to specify a user-defined advance reservation
name unique in an LSF cluster.
The reservation name is a string of letters, numeric characters, underscores,
and dashes beginning with a letter. The maximum length of the name is 39
characters.
If no user-defined advance reservation name is specified, LSF creates the
reservation with a system assigned name with the form
user_name#sequence
For example:
brsvadd -n 3 -M "hostA hostB" -u user2 -b 16:0 -e 17:0 -d
"Production AR test"
Reservation user2#0 (Production AR test) is created
brsvadd -n 2 -N Production_AR -M hostA -u user2 -b 16:0 -e 17:0
-d "Production AR test"
Reservation Production_AR (Production AR test) is created