| products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 

Using WebLogic Server Clusters

 Previous Next Contents View as PDF  

Introduction to WebLogic Server Clustering

What Is a WebLogic Server Cluster?

How Does a Cluster Relate to a Domain?

What Are the Benefits of Clustering?

What Are the Key Capabilities of a Cluster?

What Types of Objects Can Be Clustered?

Servlets and JSPs

EJBs and RMI Objects

JDBC Connections

Getting Connections with Clustered JDBC

Failover and Load Balancing for JDBC Connections


What Types of Objects Cannot Be Clustered?

What Are the New Clustering Features in WebLogic Server 8.1?

Server Affinity for Client Connections to RMI Objects

Communications in a Cluster

WebLogic Server Communication in a Cluster

One-to-Many Communication Using IP Multicast

Multicast and Cluster Configuration

Peer-to-Peer Communication Using IP Sockets

Pure-Java Versus Native Socket Reader Implementations

Configuring Reader Threads for Java Socket Implementation

Client Communication via Sockets

Cluster-Wide JNDI Naming Service

How WebLogic Server Creates the Cluster-Wide JNDI Tree

How JNDI Naming Conflicts Occur

Deploy Homogeneously to Avoid Cluster-Level JNDI Conflicts

How WebLogic Server Updates the JNDI Tree

Client Interaction with the Cluster-Wide JNDI Tree

Understanding Cluster Configuration and Application Deployment

Cluster Configuration and config.xml

Role of the Administration Server

What Happens if the Administration Server Fails?

How Dynamic Configuration Works

Application Deployment Topics

Deployment Methods

Introduction to Two-Phase Deployment

Preparing a Deployment

Activating a Deployment

Guidelines for Deploying to a Cluster

WebLogic Server 8.1 Supports "Relaxed Deployment" Rules

Methods of Configuring Clusters

Domain Configuration Wizard Capabilities

Administration Console Capabilities

Load Balancing in a Cluster

Load Balancing for Servlets and JSPs

Load Balancing with a Proxy Plug-in

How Session Connection and Failover Work with a Proxy Plug-in

Load Balancing HTTP Sessions with an External Load Balancer

Load Balancer Configuration Requirements

Load Balancers and the WebLogic Session Cookie

Related Programming Considerations

How Session Connection and Failover Works with a Load Balancer

Load Balancing for EJBs and RMI Objects

Server Affinity and Initial Context

Load Balancing Algorithms for RMI Objects and EJBs

Round Robin Load Balancing

Weight-Based Load Balancing

Random Load Balancing

Round-Robin Affinity, Weight-Based Affinity, and Random-Affinity

Parameter-Based Routing for Clustered Objects

Optimization for Collocated Objects

Transactional Collocation

Load Balancing for JMS

Server Affinity for Distributed JMS Destinations

Initial Context Affinity and Server Affinity for Client Connections

Load Balancing for JDBC Connections

Failover and Replication in a Cluster

How WebLogic Server Detects Failures

Failure Detection Using IP Sockets

The WebLogic Server "Heartbeat"

Replication and Failover for Servlets and JSPs

HTTP Session State Replication

Requirements for HTTP Session State Replication

Using Replication Groups

Accessing Clustered Servlets and JSPs Using a Proxy

Proxy Connection Procedure

Proxy Failover Procedure

Accessing Clustered Servlets and JSPs with Load Balancing Hardware

Connection with Load Balancing Hardware

Failover with Load Balancing Hardware

Replication and Failover for EJBs and RMIs

Clustering Objects with Replica-Aware Stubs

Clustering Support for Different Types of EJBs

EJB Home Stubs

Stateless EJBs

Stateful EJBs

Entity EJBs

Clustering Support for RMI Objects

Object Deployment Requirements

Other Failover Exceptions

Migration for Pinned Services

How Migration of Pinned Services Works

Migrating a Service When Currently Active Host is Unavailable

Defining Migratable Target Servers in a Cluster

Failover and JDBC Connections

Cluster Architectures

Architectural and Cluster Terminology


Web Application "Tiers"

Combined Tier Architecture

De-Militarized Zone (DMZ)

Load Balancer

Proxy Plug-In

Recommended Basic Architecture

When Not to Use a Combined Tier Architecture

Recommended Multi-Tier Architecture

Physical Hardware and Software Layers

Web/Presentation Layer

Object Layer

Benefits of Multi-Tier Architecture

Load Balancing Clustered Objects in a in Multi-Tier Architecture

Configuration Considerations for Multi-Tier Architecture

IP Socket Usage

Hardware Load Balancers

Limitations of Multi-Tier Architectures

No Collocation Optimization

Firewall Restrictions

Recommended Proxy Architectures

Two-Tier Proxy Architecture

Physical Hardware and Software Layers

Multi-Tier Proxy Architecture

Proxy Architecture Benefits

Proxy Architecture Limitations

Proxy Plug-In Versus Load Balancer

Security Options for Cluster Architectures

Basic Firewall for Proxy Architectures

DMZ with Basic Firewall Configurations

Combining Firewall with Load Balancer

Expanding the Firewall for Internal Clients

Additional Security for Shared Databases

DMZ with Two Firewall Configuration

Avoiding Problems

Administration Server Considerations

Firewall Considerations

Evaluate Cluster Capacity Prior to Production Use

Setting up WebLogic Clusters

Before You Start

Obtain a Cluster Licence

Understand the Configuration Process

Determine Your Cluster Architecture

Consider Your Network and Security Topologies

Choose Machines for the Cluster Installation

WebLogic Server Instances on Multi-CPU machines

Check Host Machines' Socket Reader Implementation

Identify Names and Addresses

Avoiding Listen Address Problems

Assigning Names to Server Instances

Administration Server Address and Port

Managed Server Addresses and Listen Ports

Cluster Multicast Address and Port

Cluster Address

Cluster Implementation Procedures

Configuration Roadmap

Install WebLogic Server

Create a Clustered Domain

Starting a WebLogic Server Cluster

Configure Load Balancing Method for EJBs and RMIs

Configure Server Affinity for Distributed JMS Destinations

Configure Load Balancing Hardware

Configuring Load Balancers that Support Passive Cookie Persistence

Configure Proxy Plug-Ins

Set Up the HttpClusterServlet

Configure Replication Groups

Configure Migratable Targets for Pinned Services

Configure Clustered JDBC

Clustering Connection Pools

Clustering Multipools

Package Applications for Deployment

Deploy Applications

Deploying Applications to a Cluster

Deploying to a Server Instance (Pinned Deployment)

Cancelling Cluster Deployments

Viewing Deployed Applications

Undeploying Deployed Applications

Deploying, Activating, and Migrating Migratable Services

Deploying JMS to a Migratable Target Server Instance

Activating JTA as a Migratable Service

Migrating a Pinned Service to a Target Server Instance

Configure In-Memory HTTP Replication

Additional Configuration Topics

Configure IP Sockets

Configure Multicast Time-To-Live (TTL)

Configure Multicast Buffer Size

Configure Machine Names

Configuration Notes for Multi-Tier Architecture

Enable URL Rewriting

Troubleshooting Common Problems

Before You Start the Cluster

Check for a Cluster License

Check the Server Version Numbers

Check the Multicast Address

Check the CLASSPATH Value

Check the Thread Count

After You Start the Cluster

Check Your Commands

Generate a Log File

Check Garbage Collection

Run utils.MulticastTest

The WebLogic Cluster API

How to Use the API

Configuring AlteonTM Hardware with Clusters


Example Configuration

Configuring Alteon with a WebLogic Server Cluster

Configuring Alteon SSL Accelerator with a WebLogic Server Cluster

Configuring BIG-IPTM Hardware with Clusters


About Load Balancing and URL Rewriting

Configuring Session Persistence with a WebLogic Server Cluster


Back to Top Previous Next