Platform LSF Reference Version 6.2
Automatic Time-based Configuration
Platform LSF Reference
472
Automatic Time-based Configuration
Variable configuration is used to automatically change LSF configuration based on time
windows. You define automatic configuration changes in
lsb.users 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
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_NAMEMAX_JOBSJL/P
#if time (12-13)
smith10-
#else
smith5-
default1-
#endif
End User