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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Memory-to-memory replication can reduce the impact of failure, but if a node<br />

fails, the data held on that node is lost.<br />

In contrary to the HTTP session persistence, stateful session EJB availability is<br />

handled using memory-to-memory replication only. Using the EJB container<br />

properties, you can specify a replication domain for the EJB container and enable<br />

the stateful session bean failover using memory-to-memory replication. When<br />

enabled, all stateful session beans in the container are able to fail over to another<br />

instance of the bean and still maintain the session state.<br />

EJB persistence<br />

When designing applications that use the EJB 2.1 (and later) specifications, the<br />

ability to persist these beans becomes available. If the beans participate in a<br />

clustered container, bean persistence is available for all members of the cluster.<br />

Using access intent policies, you can govern the data access for the persisted<br />

bean. This EJB persistence API should not be confused with entity EJBs.<br />

7.5.5 Clustering and failover technique<br />

Clustering is the concept of creating highly available system processes across<br />

multiple servers. On distributed platforms it is usually deployed in a manner that<br />

only one of the servers is actively running the system resource.<br />

Hardware-based clustering<br />

Clustering is achieved by using an external clustering software, such as <strong>IBM</strong><br />

HACMP on AIX systems or using operating system cluster capabilities like the<br />

Parallel Sysplex on the z/OS platform, to create a cluster of servers. Each server<br />

is generally attached to a shared disk pool through NAS, a SAN, or simply by<br />

chaining SCSI connections to an external disk array. Each system has the base<br />

software image installed. The servers stay in constant communication with each<br />

other over several connections through the use of heartbeats. Multiple paths<br />

should be configured for these heartbeats so that the loss of a switch or network<br />

interface does not necessarily cause a failover.<br />

Note: Too few paths can create problems with both servers believing they<br />

should be the active node. This situation is called cluster isolation and is a<br />

serious thread to data consistency. Too many paths can create unnecessary<br />

load associated with heartbeat management.<br />

Chapter 7. Performance, scalability, and high availability 249

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

Saved successfully!

Ooh no, something went wrong!