Easy High Availability
Today, increasingly more companies realize the importance of high availability for their Web serving business, so that they can provide reliable services to their customers. Highly available HTTP servers take advantage of IBM i clustering technology and make it possible to build a highly available Web site.
Three Web-server cluster models are currently supported for highly available HTTP servers:
»Primary or backup with takeover Internet Protocol (IP) model
»Primary or backup with a network dispatcher model
»Peer model
This article will describe how to make your Web environment high available with the primary or backup with takeover IP model by using PowerHA on IBM i. From the technical perspective, the takeover IP model is the fastest and easiest way to help you make your Web serving highly available, and it doesn't require any extra technology or software to implement. The other two models require additional software, such as the IBM WebSphere Edge Server, to set up your highly available Web environment.
Defining the Model
In a primary or backup with takeover IP model, the Web server runs on the primary and all backup nodes. The backup node or nodes are in an idle state, ready to become the primary Web server should the primary Web server fail (failover) or a switchover takes place. Client requests are always served by the primary node. Currently, this model can only support IPv4 and is not supported prior to V5R1 systems. Figure 1 illustrates a primary or backup with takeover IP model.
Let's look at the detailed steps of how to configure high availability for Web server on IBM i.
Preparation: Software Requirements
V7R1:
5770HAS PowerHA SystemMirror for i
5770DG1 *BASE IBM HTTP Server for i
V6R1:
5761HAS PowerHA for i
5761DG1 *BASE IBM HTTP Server for i
Step 1. Set Up and Precheck the System
To set up your system, use the following parameters:
| System Name |
I/P Address |
Use |
| Machine1 |
192.168.0.10/255.255.255.0 |
Primary System - Node A |
| Machine2 |
192.168.0.11/255.255.255.0 |
Backup System - Node B |
| Machine1 & Machine2 |
192.168.0.200/255.255.255.255 |
IP takeover address |
Search our new 2013 Buyer's Guide.
Maximize your IT investment with monthly information from THE source...IBM Systems Magazine EXTRA eNewsletter. SUBSCRIBE NOW.
View past IBMi EXTRAs here
Related Articles
E-Newsletter | Former IBM exec Bob Angell shares his insights on improving data-center resiliency
Features | Using cluster resource groups for high availability
Features | Customers have asked for an end-to-end high-availability solution from IBM, and it delivers with HASM.