Deployment Guide

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Understanding AquaLogic Service Bus Clusters

The following sections describe how AquaLogic Service Bus is configured and deployed in a clustered environment. It contains the following topics:

 


Understanding AquaLogic Service Bus Clusters

Clustering allows AquaLogic Service Bus to run on a group of servers that can be managed as a single unit. In a clustered environment, multiple machines share the processing load. AquaLogic Service Bus provides load balancing so that resource requests are distributed proportionately across all machines. An AquaLogic Service Bus deployment can use clustering and load balancing to improve scalability by distributing the workload across nodes. Clustering provides a deployment platform that is more scalable than a single server.

A WebLogic Server cluster domain consists of only one administration server, and one or more managed servers. The managed servers in an AquaLogic Service Bus domain can be grouped in a cluster. When you configure AquaLogic Service Bus clusterable resources, you normally target the resources to the named cluster. The advantage of specifying a cluster as the target for resource deployment is that it makes it possible to dynamically increase capacity by adding managed servers to your cluster.

Note: AquaLogic Service Bus domains can support a single cluster, and all managed servers in the domain must belong to that cluster.

The topics in this section provide the information you need to configure AquaLogic Service Bus in a clustered environment. Although some background information about how WebLogic Server supports clustering is provided, the focus is on procedures that are specific to configuring AquaLogic Service Bus for a clustered environment.

Before proceeding, we recommend that you review the following sections of the WebLogic Server documentation to obtain a more in-depth understanding of clustering:

 


Designing a Clustered Deployment

The following sections provide the information you need to design a clustered deployment:

Introducing AquaLogic Service Bus Domains

Before you begin designing the architecture for your clustered domain, you need to learn how WebLogic Server clusters operate.

Creating Domains

Domain and cluster creation are simplified by a Configuration Wizard that lets you generate domains from basic and extension domain templates. Based on responses to user queries, the Configuration Wizard generates a domain, server, and enterprise application with the appropriate components preconfigured and assets included. For information about creating AquaLogic Service Bus domains using the Configuration Wizard, see Creating a New WebLogic Domain in Creating WebLogic Domains Using the Configuration Wizard.

Clustered Servers

A server can be either a managed server or an administration server. A WebLogic Server running the administration service is called an administration server and hosts the WebLogic Server Administration Console. In a domain with multiple WebLogic Servers, only one server is the administration server; the other servers are called managed servers. Each managed server obtains its configuration at startup from the administration server.

Note: Managed servers that start without an administration server operate in Managed Server Independence (MSI) mode. For information about MSI mode, see “Managed Server Independence Mode” in “ Avoiding and Recovering From Server Failure in Managing Server Startup and Shutdown.

You can enable an SSL port, an HTTP cleartext port, or both ports for the administration server. In secure installations, the HTTP cleartext port can be disabled. However, when AquaLogic Service Bus is used in combination with a UDDI registry (for example, AquaLogic Service Registry), you must ensure that the server’s HTTP cleartext port is enabled.

For general information about WebLogic clusters, see Using WebLogic Server Clusters in the WebLogic Server documentation set. This document includes details regarding recommended basic, multi-tiered, and proxy architectures. For information about security considerations in the design of WebLogic clusters, see “Security Options for Cluster Architectures” under Cluster Architectures in Using WebLogic Server Clusters.

AquaLogic Service Bus Deployment Resources

For each server in a clustered domain, you can configure a variety of attributes that define the functionality of the server in the domain. These attributes are configured automatically when you create an AquaLogic Service Bus domain using the Configuration Wizard. Advanced users can also configure these attributes manually using the Servers node in the WebLogic Server Administration Console.

For a list of configurable AquaLogic Service Bus deployment resources, see AquaLogic Service Bus Deployment Resources. It describes the default targeting of each resource in a clustered AquaLogic Service Bus domain and provides instructions on how to navigate to each resource in the WebLogic Server Administration Console.

Singleton Resources

While most resources used by AquaLogic Service Bus are deployed homogeneously across the cluster, there are a number of resources that must be pinned to a single managed server in order to operate correctly. The following table lists these components, describes how they are targeted, and provides a link for more information.

Table 3-1 AquaLogic Service Bus Singleton Resources 
Resource
Managed server target selection
For more information, see...
File, FTP, and E-mail pollers for proxy services
Specified manually in the proxy service definition using the AquaLogic Service Bus Console. The poller is deployed on all managed servers, but the poller on only one managed server will poll for a given proxy service.
“Viewing and Changing Proxy Services” in Proxy Services in Using the AquaLogic Service Bus Console.
AquaLogic Service Bus Data Aggregator
(weblogic92/integration/common/wliaggregator.ear)
Targeted in the Configuration Wizard
SLA Manager
Targeted in the Configuration Wizard
AquaLogic Service Bus JMS server on each managed server
wlsbJMSServer_auto_1-n
Automatically targeted in the Configuration Wizard

Monitoring and Alert Resources in a Cluster

The AquaLogic Service Bus Data Aggregator runs as a singleton service on one of the managed servers in the cluster. Data collection is performed on each of the managed servers in the domain. The aggregator is responsible for the collection and aggregation of data from all managed servers in the domain. The aggregated data are processed and classified by each AquaLogic Service Bus configuration.

AquaLogic Service Bus configurations can include rules defining Service Level Agreements (SLAs) for system performance. The Alert Manager is responsible for storing rules, and evaluates these rules against the data aggregated for the cluster. When a rule evaluates to true, the Alert Manager sends an e-mail message, posts a message on a JMS queue, or logs a message according to the action associated with the rule.

For more information about these features, see Monitoring in Using the AquaLogic Service Bus Console.

Cluster Configuration Changes and Deployment Requests

When a managed server is down during session activation, configuration changes from the activation are not reflected on that server. In addition, the task status of the session activation is listed as Partially Activated to indicate that the activation was not completed on all managed servers. After the managed server is restarted, it synchronizes with the information available with the administration server, and any unactivated changes are activated on the managed server. For more information about session activations, see Using the Change Center in Using the AquaLogic Service Bus Console.

You can only re-configure a cluster (for example, add new nodes to the cluster or modify business service configuration) when its administration server is active.

If the administration server for a cluster is down, deployment or undeployment requests are interrupted, but managed servers continue serving requests. You can boot or reboot managed servers using an existing configuration, as long as the required configuration files (msi-config.xml, SerializedSystemIni.dat, and optionally boot.properties) exist in each managed server’s root directory.

 


Load Balancing in a AquaLogic Service Bus Cluster

One of the goals of clustering your AquaLogic Service Bus application is to achieve scalability. For a cluster to be scalable, each server must be fully utilized. Load balancing distributes the workload proportionately across all the servers in a cluster so that each server can run at full capacity. The following sections describe inbound message processing load balancing for AquaLogic Service Bus clusters:

For more information about inbound message load balancing, see Load Balancing in a Cluster in Using WebLogic Server Clusters. For information about configuring load balancing for business services, see “To Add a Business Service - Transport Configuration” in “Adding a Business Service” under Business Services, in Using the AquaLogic Service Bus Console.

Load Balancing HTTP Functions in a Cluster

Web services (SOAP or XML over HTTP) can use HTTP load balancing. External load balancing can be accomplished through the WebLogic HttpClusterServlet, a WebServer plugin, or a hardware router. For an overview of a cluster topology that includes load balancing, see Figure 5-1. WebLogic Server supports load balancing for HTTP session states and clustered objects. For more information, see Communications in a Cluster in Using WebLogic Server Clusters.

Load Balancing JMS Functions in a Cluster

Most JMS queues used by AquaLogic Service Bus are configured as distributed destinations. Exceptions are JMS queues that are targeted to single managed servers.

For detailed information on JMS load balancing, see “Controlling the Flow of Messages on JMS Servers and Destinations” in Tuning WebLogic JMS in WebLogic Server Performance and Tuning.

 


High Availability in an AquaLogic Service Bus Cluster

Message-driven beans consume messages from JMS destinations. A number of message-driven beans are deployed on each AquaLogic Service Bus destination. For a complete list of AquaLogic Service Bus destinations (JMS queues and topics), see the resource type of Services—JMS in Table B-1, AquaLogic Service Bus Deployment Resources, on page B-2.

Highly Available JMS for AquaLogic Service Bus

The ability to configure multiple physical destinations as members of a single distributed destination set provides a highly available implementation of WebLogic JMS. Specifically, for each node in a cluster, an administrator should configure one physical destination for a distributed destination. If one node in the cluster fails, making the physical destination for that node unavailable, then other physical destinations configured as members of the distributed destination can provide services to JMS producers and consumers. (This is how the Configuration Wizard generates domains for a cluster.)

Message-driven beans consume messages from distributed destinations. Distributed destinations contain one physical destination for each instance of WebLogic Server. A single message producer on a distributed queue is bound to a single physical destination. Message-driven beans are bound to the physical destination in the server on which they are deployed (server affinity).

For more information, see Understanding AquaLogic Service Bus High Availability.

 


Deploying Configurations

Configurations are deployed by importing the contents of one or more JAR files exported from the AquaLogic Service Bus Console. You deploy an AquaLogic Service Bus configuration in a clustered environment following the same procedure as for a single-server deployment. For a description of the deployment procedure, see Step 4. Deploy an AquaLogic Service Bus Configuration.

Preparations for deployment of an AquaLogic Service Bus configuration in a production cluster environment involve more system administration tasks than for a single-server testing or staging environment. For a full description of the steps involved in a production cluster deployment, see Configuring a Clustered Deployment.


  Back to Top       Previous  Next