LSF Version 7.3 - Administering Platform LSF

Using Automatic Time-based Configuration
272 Administering Platform LSF
# for all other hours, normal is the default queue
#if time(18:30-19:30)
DEFAULT_QUEUE=short
#else
DEFAULT_QUEUE=normal
#endif
lsb.queues example
Begin Queue
...
#if time(8:30-18:30)
INTERACTIVE = ONLY # interactive only during day shift
#endif
...
End Queue
lsb.resources example
# Example: limit usage of hosts in 'license1' group and time based
configuration
# - 10 jobs can run from normal queue
# - any number can run from short queue between 18:30 and 19:30
# all other hours you are limited to 100 slots in the short queue
# - each other queue can run 30 jobs
Begin Limit
PER_QUEUE HOSTS SLOTS # Example
normal license1 10
# if time(18:30-19:30)
short license1 -
#else
short license1 100
#endif
(all ~normal ~short) license1 30
End Limit
lsb.users example
From 12 - 1 p.m. daily, user smith has 10 job slots, but during other hours, user has
only 5 job slots.
Begin User
USER_NAME MAX_JOBS JL/P
#if time (12-13)
smith 10 -
#else
smith 5 -