Balancing workloads with clusters
OverviewTo monitor appservers and manage the workloads of servers, use server clusters and cluster members provided by the Network Deployment product.
To assist you in understanding how to configure and use clusters for workload management, below is a scenario. In this scenario, client requests are distributed among the cluster members on a single machine. (A client refers to any servlet, Java application, or other program or component that connects the end user and the appserver that is being accessed.) In more complex workload management scenarios, you can distribute cluster members to remote machines.
- Decide which appserver you want to cluster.
- Decide whether you want to configure replication domains and entries. Replication enables the sharing of data among processes and the backing up of failed processes. (Optional)
- Deploy the application onto the appserver.
- After configuring the appserver and the application components exactly as you want them to be, create a cluster. The original server instance becomes a cluster member that is administered through the cluster.
- If you did not do so when creating a cluster, create one or more cluster members of the cluster.
- Start all of the appservers by starting the cluster. Workload management automatically begins when you start the cluster members of the application server.
- Stop the cluster.
- Upgrade applications on clusters.
- Detect and handle problems with server clusters and their workloads.
- Tune the behavior of the workload management run time. (Optional)
If your application is experiencing problems with timeouts or your network experiences extreme latency, change the timeout interval for the com.ibm.CORBA.RequestTimeout property. Or,if the workload management state of the client is refreshing too soon or too late, change the interval for the com.ibm.websphere.wlm.unusable.interval property.
You need to define a bootstrap host for stand-alone Java clients, which are clients located on a different machine from the appserver that have no administrative server. Add the following line to the Java Virtual Machine arguments for the client:
where machine_name is the name of the machine on which the administrative server is running.
Workload management (WLM)
Workload management run-time exceptions
Clustering and workload management: Links