LSF Version 7.3 - Platform LSF Command Reference
Platform LSF Command Reference 155
is correct, but
timeWindow(8:00-14:00 11:00-15:00)
is not valid.
LSF administrators can prevent running jobs from being killed when the
reservation expires by changing the termination time of the job using the
reservation (
bmod -t) before the reservation window closes.
When the job starts running, the run limit of the reservation is set to the minimum
of the job run limit (if specified), the queue run limit (if specified), or the duration
of the time window.
-u user_name Creates a reservation for an individual user.
The
-u user_name option does not support the @cluster notation for advance
reservations on remote clusters.
-h Prints command usage and exits.
-V Prints LSF release version and exits.
Examples
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
The hosts specified by -m can be local to the cluster or hosts leased from remote
clusters.
The following command creates an advance reservation for 1024 job 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
The following command creates an open advance reservation for 1024 job slots on
host
hostA for user user1 between 6:00 a.m. and 8:00 a.m. today.
brsvadd -o -n 1024 -m hostA -u user1 -b 6:0 -e 8:0
Reservation "user1#0" is created
See also
brsvdel, brsvmod, brsvs, lsb.resources