Dynamic control of Workload Manager

When WLM is active, any parameter of the current configuration can be modified at any time, including the attributes of a class, its resource shares and limits, the assignment rules, and adding new classes or deleting existing classes.

This can be done in several ways, such as:

  • Modifying the property files for the currently active configuration (directory pointed to by the symbolic link /etc/wlm/current) and refreshing WLM by using the wlmcntrl command to use the new parameters.
  • Creating another configuration with a different set of parameters and updating WLM to load the parameters of the new configuration, thus making it the current configuration.
  • Modifying some of the parameters of the currently active configuration using the WLM command line interface (the mkclass, chclass, and rmclass commands).
  • Modifying some of the parameters of the currently active configuration from an application using the WLM APIs.

Automatic switches to a new configuration at specified times of day can be accomplished using configuration sets. Configuration sets allow the administrator to specify a set of configurations to be used, and a time range for which each will be active.