Balancing workloads with clusters

To 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.

  1. Decide which appserver you want to cluster.

  2. 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.

  3. Deploy the application onto the appserver.

  4. 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.

  5. You can create one or more cluster members of the cluster.

  6. Regenerate the plug-in configuration. After changing configurations to plug-ins, transports or virtual hosts, regenerate your Web server plug-in for the changes to take effect.

  7. Start all of the appservers by starting the cluster. Workload management automatically begins when you start the cluster members of the appserver.

  8. Once you have the cluster running, you can perform the following tasks:

 

What to do next

Define a bootstrap host for stand-alone Java clients. Stand-alone Java clients are clients that are located on a different machine from the appserver and have no administrative server. Add the following line to the JVM arguments for the client:

-Dcom.ibm.CORBA.BootstrapHost=machine_name

where machine_name is the name of the machine on which the administrative server is running.


Related concepts
Workload management (WLM)
Clusters and workload management
Replication
Techniques for managing state
Related tasks
Regenerating Web server plug-in configurations
Related reference
Workload management run-time exceptions
Clustering and workload management: Resources for learning