Platform LSF Reference Version 6.2

Automatic Time-based Configuration
Platform LSF Reference
396
Automatic Time-based Configuration
Variable configuration is used to automatically change LSF configuration based on time
windows. You define automatic configuration changes in
lsb.params by using if-else
constructs and time expressions. After you change the files, reconfigure the cluster with
the
badmin reconfig command.
The expressions are evaluated by LSF every 10 minutes based on
mbatchd start time.
When an expression evaluates true, LSF dynamically changes the configuration based on
the associated configuration statements. Reconfiguration is done in real time without
restarting
mbatchd, providing continuous system availability.
Example
# if 18:30-19:30 is your short job express period, but
# you want all jobs going to the short queue by default
# and be subject to the thresholds of that queue
# for all other hours, normal is the default queue
#if time(18:30-19:30)
DEFAULT_QUEUE=short
#else
DEFAULT_QUEUE=normal
#endif