A cluster is a deployment in which multiple WebLogic Server instances run simultaneously and work together to provide increased scalability and reliability. A cluster appears to clients to be a single WebLogic Server instance. The server instances that constitute a cluster can run on the same machine, or be located on different machines. You can increase a cluster's capacity by adding additional server instances to the cluster on an existing machine, or you can add machines to the cluster to host the incremental server instances.
The configuration information for a cluster is stored in config.xml for the domain that contains the cluster. This XML document consists of a series of XML elements. The Domain element is the top-level element, and all elements in the Domain descend from the Domain element. The Domain element includes child elements, such as the Server, Cluster, and Application elements. These child elements may have children of their own.
Each element has one or more configurable attributes. The cluster tabs in the Administration Console allow you to set the values of the configurable attributes for a cluster.
The following topics describe the configuration and monitoring tasks you can perform with the Administration Console.
Tasks
Configuring a Cluster
There are multiple techniques and tools you can use to create and maintain a cluster configuration. For a list, see "Methods of Configuring Clusters" in Using WebLogic Server Clusters.
If you are configuring a new cluster in a new domain, BEA recommends that you use the using the Configuration Wizard. For more information, see "Create a Clustered Domain" in Using WebLogic Server Clusters.
Follow these steps to configure a cluster using the Administration Console:
In the left pane, click the Clusters node.
In the right pane, click Configure a New Cluster.
Enter values for:
Name—Assign a unique name to the cluster. Each configurable resource in your WebLogic Server environment should have a unique name.
Cluster Address—supply a cluster address that identifies the Managed Servers in the cluster. The cluster address is used in entity and stateless beans to construct the host name portion of URLs. If the cluster address is not set, EJB handles may not work properly.
Default Load Algorithm
Service Age Threshold
Client Cert Proxy Enabled
Click Create to create the cluster.
Click the Multicast tab.
If necessary, edit the default values for:
Multicast Address (use a value between 224.0.0.1 and 239.255.255.255)
Multicast Port number
Multicast Send Delay
Multicast TTL
Multicast Buffer Size
Click Apply.
Cloning a Cluster
Clone a cluster to configure a new cluster based on the configuration of an existing cluster. Edit the attributes that must be unique for each cluster in a domain, such as Cluster Name and Cluster Address.
In the left pane, click Clusters.
Click the Clone icon in the row of the cluster you want to clone.
Enter values for:
Name
Cluster Address
Default Load Algorithm
Service Age Threshold
Client Cert Proxy Enabled
Click Clone to create the new cluster.
Click the Multicast tab.
As appropriate, edit the values for:
Multicast Address (use a value between 224.0.0.1 and 239.255.255.255)
Multicast Port number
Multicast Send Delay
Multicast TTL
Multicast Buffer Size
Click Apply.
Deleting a Cluster
In the left pane, click Clusters.
Click the Delete icon in the row of the cluster you want to delete.
At the confirmation question, click Yes.
Click Continue.
Assigning Servers to a Cluster
Follow these steps to assign server instances to a cluster.
In the left pane, expand Clusters.
Click a cluster name that you want to add servers to.
In the right pane, click the Servers tab.
In the Available column, select one or more servers to assign to the cluster.
Click the right arrow button.
Click Apply.
Monitoring a Cluster
Monitoring a cluster gives you statistics on the activity of each server in the cluster.
In the left pane, expand Clusters.
Click a cluster name that you want to monitor.
In the right pane, click the Monitoring tab.
Click Monitor Server Participation in This Cluster.
Check the table that shows statistics for each server in the cluster.
To change the view, click Customize This View.
At Sort Rows By, click the right arrow button to move fields to the Chosen column. This defines the order in which the rows appear.
Do the same at Columns to Display. This defines the columns in the table.
If necessary, click Use These Settings By Default.
Click Apply.
Adding a Note to a Cluster Configuration
In the left pane, expand Clusters.
Click the name of a cluster to which you want to add a note.
Click the Notes tab. Type the note in the Notes field.
Click Apply to save your changes.
Start a Cluster
In the left pane, expand Clusters.
Right-click on the name of the cluster that you want to start.
Select Start this cluster.
Click Yes.
Kill a Cluster
In the left pane, expand Clusters.
Right-click on the name of the cluster that you want to kill.