Creating a time-based configuration set
You can create a set of specialty configurations and assign each configuration within the set to days and times when you want a specific configuration to be in effect.
These sets, called time-based configuration sets, are completely separate from but compatible with your normal configuration. You can use the wlmcntrl -u command to switch between a configuration set and your normal configuration as needed.
When using a configuration set, you associate existing named configurations, typically with a specific time range. Because only one configuration can be used at any given time, each specified time range must be unique; time ranges cannot overlap or be duplicated.
The wlmd daemon alerts WLM when a specified configuration goes out of time range and another configuration needs to be used. Only the root user can manage these time ranges, which are specified within the configuration set's directory in an ASCII file called .times.
Use the following procedure to create a time-based configuration set:
At this point, WLM's current configuration is your new time-based configuration set.
You can also use the confsetcntrl and lswlmconf commands to create and manipulate configuration sets. For example:
confset1 configuration
set with a default configuration of conf1, use the following
command: confsetcntrl -C confset1 conf1conf2 to confset1 and
make it the active configuration from 8:00 AM to 5:00 PM daily, use the following
command: confsetcntrl -d confset1 -a conf2 "0-6,08:00-17:00"wlmcntrl -d confset1