Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Balancing workloads with clusters

 

You should use server clusters and cluster members to monitor and manage the workloads of application servers.

You should understand your options for configuring application servers. 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.

 

Overview

Perform the following steps if you decide to use clusters to balance your workload.

 

Procedure

  1. Decide which application server you want to cluster.

  2. Decide whether you want to replicate data. Replication is a service that transfers data, objects, or events among application servers.

    You can create a replication domain when creating a cluster.

  3. Deploy the application onto the application server.

  4. Create a cluster.

    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.

  5. Create one or more cluster members.

  6. Configure a backup cluster.

    A backup cluster handles requests if the primary cluster fails.

  7. Start the cluster.

    When you start the cluster, all of the application servers that are members of that cluster start. Workload management automatically begins after the cluster members start.

  8. After the cluster is running, you can perform the following tasks:

 

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 client:

-Dcom.ibm.CORBA.BootstrapHost=machine_name
where machine_name is the name of the machine on which the administrative server is running.


}
Clusters and workload management

Techniques for managing state

Creating clusters

Adding members to a cluster

Creating backup clusters

Starting clusters

Stopping clusters

Replicating data across application servers in a cluster

Deleting clusters

Deleting specific cluster members

Tuning a workload management configuration

Workload management runtime exceptions

Clustering and workload management: Resources for learning

 

Related concepts


Introduction: Clusters