29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

For certain functions (like transaction peer recovery) the high availability<br />

manager takes advantage of fault tolerant storage technologies such as Network<br />

Attached Storage (NAS), which significantly lowers the cost and complexity of<br />

high availability configurations. The high availability manager also provides<br />

peer-to-peer failover for critical services by maintaining a backup for these<br />

services. <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> also supports other high availability<br />

solutions such as HACMP, Parallel Sysplex, and so on.<br />

A high availability manager continually monitors the application server<br />

environment. If an application server component fails, the high availability<br />

manager takes over the in-flight and in-doubt work for the failed server. This<br />

introduces some overhead but significantly improves application server<br />

availability.<br />

A high availability manager focuses on recovery support and scalability in the<br />

following areas:<br />

► Embedded messaging<br />

► Transaction managers<br />

► Workload management controllers<br />

► <strong>Application</strong> servers<br />

► <strong>WebSphere</strong> partitioning facility instances<br />

► On-demand routing<br />

► Memory-to-memory replication through Data Replication Service (DRS)<br />

► Resource adapter management<br />

To provide this focused failover service, the high availability manager supervises<br />

the JVMs of the application servers that are core group members. The high<br />

availability manager uses one of the following methods to detect failures:<br />

► An application server is marked as failed if the socket fails.<br />

This method uses the KEEP_ALIVE function of TCP/IP and is tolerant of poor<br />

performing application servers, which might happen if the application server is<br />

overloaded, swapping, or thrashing. This method is recommended for<br />

determining a JVM failure if you are using multicast emulation and are<br />

running enough JVMs on a single application server to push the application<br />

server into extreme processor starvation or memory starvation.<br />

► A JVM is marked as failed if it stops sending heartbeats for a specified time<br />

interval.<br />

This method is referred to as active failure detection. When it is used, a JVM<br />

sends out one heartbeat, or pulse, at a specific interval. This interval can be<br />

configured in the Integrated Solutions Console by navigating to <strong>Server</strong>s →<br />

Core Groups → → Discovery and failure detection<br />

→ Heartbeat transmission period. If the JVM does not respond to<br />

heartbeats within a defined time frame, it is considered down.<br />

Chapter 7. Performance, scalability, and high availability 251

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!