Balancing workloads with clusters
Before you beginConsider your options for configuring application servers.
OverviewTo monitor application servers and manage the workloads of servers, use server clusters and cluster members.
To assist you in understanding how to configure and use clusters for workload management, consider 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 application server that is being accessed.) In more complex workload management scenarios, one can distribute cluster members to remote machines.
- Decide which application server you want to cluster.
- Decide whether you want to replicate data. Replication is a service that transfers data, objects, or events among application servers. See Replicating data across application servers in a cluster for more information. You can create a replication domain when creating a cluster.
- Deploy the application onto the application server.
- After configuring the application server 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. See Creating clusters for more information.
- You can create one or more cluster members of the cluster.
- Configure a backup cluster that handles requests if the primary cluster fails.
- Start all of the application servers by starting the cluster. Workload management automatically begins when you start the cluster members of the application server.
- Once you have the cluster running, one can perform the following tasks:
- 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. 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.
What to do next
For stand-alone Java clients, define a bootstrap host. Stand-alone Java clients are clients that are located on a different machine from the application server and have no administrative server. Add the following line to the Java Virtual Machine (JVM) arguments for the clientwhere machine_name is the name of the machine on which the administrative server is running.-Dcom.ibm.CORBA.BootstrapHost=machine_name
Clusters and workload management
Clusters and node groups
Workload management (WLM) for distributed platforms
Creating cluster members
Creating backup clusters
Replicating data across application servers in a cluster
Delete cluster members
Tuning a workload management configuration
Workload management run-time exceptions
Clustering and workload management: Resources for learning