InfoCenter Home >
7: Multimachine management >
7.2 Managing workloads >
7.2.3 Workload management for administrative servers

7.2.3 Workload management for administrative servers

Administrative servers can participate in workload management. Workload management provides failover capability, improving the availability of administrative and naming services. It also eliminates the possibility of an administrative server being a single point of failure in a system.

Note:  Workload management must be enabled or disabled for all administrative servers in a domain.

When an administrative server participates in workload management, an exception is thrown if the administrative server fails during an administrative task. Subsequent requests are redirected to the other administrative servers in the domain, minimizing the disruption to administrative operations.

For example, a command issued through the WebSphere Administrative Console can fail if an administrative server goes offline while the command is being executed. If workload management is enabled, any subsequent attempts to execute the command are redirected to another administrative server. This allows the command to be successfully reissued, possibly with a delay for the initial redirection. Subsequent requests are noticeably slower. The original administrative server will picks up its share of administrative requests when it comes back online.

Enabling workload management

To begin workload management, start all administrative servers in the domain with workload management enabled. WebSphere Application Server provides two ways to enable workload management:

  • By setting the following property in the admin.config file:
    com.ibm.ejs.sm.AdminServer.wlm=true
    

    This enables workload management for all administrative servers that are started by using this configuration file.

  • By specifying the -wlm argument when starting an administrative server from the command line. For instance:
    java com.ibm.ejs.sm.server.AdminServer -wlm ...
    

    where . . . represents any other arguments that are specified when starting the server.

Enabling workload management through the admin.config file is recommended because it is easier to administer than enabling it through the command line.

Disabling workload management

To discontinue workload management, stop all administrative servers in the domain and restart them with workload management disabled.

Disable workload management in one of the following ways:

  • By placing comment markers around the com.ibm.ejs.sm.AdminServer.wlm property in the admin.config file.
  • By restarting the server from the command line without specifying the -wlm argument.
Go to previous article: Workload management for servlets Go to next article: Using models and clones

 

 
Go to previous article: Workload management for servlets Go to next article: Using models and clones