Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Load balancing with Cisco CSS 11000 and WebSphere Portal V5

Phillip Trent (pltrent@us.ibm.com), Advisory Software Engineer, IBM
Phillip Trent photo
Phillip Trent is an Advisory Software Engineer, who works in System House on the SWG Solutions Test team. He has been with IBM for 14 years as a member of the test community working on IBM middleware products.

Summary:  This article describes how to set up Cisco Context Service Switch 11000 load balancing for WebSphere Portal V5 to increase availability and performance of a complex portal.

Date:  02 Jun 2004
Level:  Advanced

Activity:  10855 views
Comments:  

Introduction

IBM® WebSphere® Portal V5 provides an environment to build and deploy sophisticated Web-based applications, called portals. A portal is a Web site that provides users with a single point of access to Web resources. As e-businesses grow, they roll out more advanced Web applications to a wider audience. The e-business portal becomes another "face" of the company that serves its customers; therefore, it is important for the portal to be available and to provide reasonable response times.

You can use the load balancing features of the Cisco 11000 Context Service Switch (hereafter called CSS 11000) to enhance the availability and performance of a WebSphere Portal installation. The CSS 11000 is designed for HTTP traffic optimization. The switch software adds a Web-based layer to the switching mechanism. Requests are parsed so that intelligent decisions can be made using information in IP frames, URLs, and cookies.


Figure 1. Network configuration
CSS 11000/Portal Server Network

Requests coming into the CSS 11000 are distributed across a group of portal servers. As demand grows, you might decide to add more servers. Because a single portal page is constructed from many HTTP requests, each portal server can assume part of the load, reducing the page response time. Also, if one of the portal servers fails, requests can be routed to another server in the group.


Setting up WebSphere Portal V5

Setting up WebSphere Portal to take advantage of load balancing involves installing, configuring, creating a cluster, and configuring security.

Installing WebSphere Portal

For detailed instructions on installing and configuring WebSphere Portal, see the InfoCenter for Version 5.0.2 .

Creating a portal cluster

To take advantage of load balancing, each portal server must have the same configuration. The easiest way to do this is to install WebSphere Portal in a clustered environment. New servers can be added or removed from the group with a minimal amount of work. In this environment, administering the portal is easier because all portal servers in the cluster share the same configuration database. For more information on building a portal cluster see the Installation scenarios section of the WebSphere Portal InfoCenter. See also the articles listed in Resources.

Security setup

A WebSphere Portal typically has two types of access for portal users: public and protected. The public access area is open to all users of the portal and no user login is required. The protected area requires that a user be identified, usually with a userid and password.

To get around the problem of being prompted for a userid and password each time a request is routed to a new server, configure the portal servers with external authentication using Tivoli Access Manager WebSEAL. All portal servers and WebSEAL hosts must use the same LTPA key file and point to the same Tivoli Access Manager. On the first request for a protected resource, the user will be prompted for userid and password. WebSEAL attaches an LTPA token with user credentials to the request. All subsequent requests contain an LTPA token until the user logs off. For more information on configuring Tivoli Access Manager, see the Securing your portal section the WebSphere Portal InfoCenter.


Setting up Cisco CSS 11000

When creating a load balancing configuration, you must configure services and content rules. Services identify the actual individual server, and content rules define the CSS load balancing features.

Configuring services

Create a service for each WebSEAL host and set the keepalive type to http. With http keepalive, CSS generates an HTTP request and checks the response to see if the service is still active. If CSS determines that a service is no longer functioning, it removes the service from the load balancing algorithm.


Listing 1. Configuring services with keepalive
 
         !************************** SERVICE **************************
          service WPST01
          ip address 192.168.120.61
          keepalive type HTTP
          active

          service WPST02
          ip address 192.168.120.63
          keepalive type HTTP
          active

          service WPST03
          ip address 192.168.120.65
          keepalive type HTTP
          active
         

Sepcifying content rules

All content rules must exist under an owner. To specify the content rule to match all TCP traffic on port 80, as shown in listing 2:

  1. Set the protocol to be TCP.
  2. Set the TCP port to be 80.
  3. Add services to the content rule to create a pool of servers that CSS uses for load balancing request for content.
  4. Create a virtual IP address for the content rule. Customers use this address to access portal resources.


Listing 2. Content Rules
 
         !*************************** OWNER ***************************
          owner IBM

          content PORTAL
          protocol tcp
          port 80
          add service WPST01
          add service WPST02
          add service WPST03
          vip address 192.168.120.50
          active						
         


Advanced load balancing

If your portal application requires that all requests be handled by the same server, you must enable advanced load balancing for the content rule. The arrowpoint-cookie method enables the content rule to associate the client to a server based on the unique service identifier of the selected server. Use the string command to add a service identifier for each service. Then add the advance-balance command with the arrowpoint-cookie option to the content rule definition. In Listing 3, the bold text enables advanced load balancing.


Listing 3. Content rule with advanced balancing
 
         !************************** SERVICE **************************
          service WPST01
          ip address 192.168.120.61
          keepalive type HTTP
          string WPST01
          active

          service WPST02
          ip address 192.168.120.63
          keepalive type HTTP
          string WPST02
          active

          service WPST03
          ip address 192.168.120.65
          keepalive type HTTP
          string WPST03
          active
          
         !*************************** OWNER ***************************
          owner IBM

          content PORTAL
          protocol tcp
          port 80
          add service WPST01
          add service WPST02
          add service WPST03
          vip address 192.168.120.50
          advanced-balance arrowpoint-cookie
          active						
         


Conclusion

To have an effective On Demand business, you must be able to adjust quickly to changing conditions. The combination of the Cisco CSS 11000 and the WebSphere Portal cluster gives portal administrators the flexibility to easily add additional servers as customer demand increases.

Acknowledgments

The author would like to thank Mike Law for his contribution as a technical reviewer.


Resources

About the author

Phillip Trent photo

Phillip Trent is an Advisory Software Engineer, who works in System House on the SWG Solutions Test team. He has been with IBM for 14 years as a member of the test community working on IBM middleware products.

Report abuse help

Report abuse

Thank you. This entry has been flagged for moderator attention.


Report abuse help

Report abuse

Report abuse submission failed. Please try again later.


developerWorks: Sign in


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

Choose your display name

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


Rate this article

Comments

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=16180
ArticleTitle=Load balancing with Cisco CSS 11000 and WebSphere Portal V5
publish-date=06022004
author1-email=pltrent@us.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

For articles in technology zones (such as Java technology, Linux, Open source, XML), Popular tags shows the top tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), Popular tags shows the top tags for just that product zone.

For articles in technology zones (such as Java technology, Linux, Open source, XML), My tags shows your tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), My tags shows your tags for just that product zone.

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.

Special offers