Enqueue replication into a IBM Z coupling facility
Enqueue replication is a high-availability concept that is built-in in SAP
systems and that protects SAP enqueue locks in case of planned or unplanned outages of the SAP
enqueue server or the host on which it is running. Besides the standard SAP enqueue replication, an
additional replication mechanism is available for SAP on IBM Z. This topic describes the business
continuity aspects of this additional replication mechanism, and how it can be integrated into an
existing Business Continuity setup for SAP.
Starting with SAP 7.21 Kernel, the SAP
enqueue server running on z/OS® can utilize
a second replication mechanism for its enqueue locks. For details on implementation, configuration,
and requirements see SAP Note 1753638: Enqueue Replication into System z Coupling
Facility together with the attached PDF file.
The standard SAP enqueue replication operates in the following way:
- A replication server is started on a different host than the one where the enqueue server is running
- The enqueue server and the replication server communicate via TCPIP
- Enqueue lock information is sent from the enqueue to the replication server
- If the enqueue server fails, it must be restarted on the host where the replication server was running
- The restarted enqueue server picks up the replication information and recovers the enqueue lock information
In contrast to the standard SAP enqueue replication, the second replication method that is available for SAP on IBM Z does no longer require a replication server. Instead, the enqueue server stores its replication information directly into the cross-system coupling facility (XCF) storage, which is accessible from all LPARs in a z/OS sysplex.
In this publication, this additional replication mechanism is abbreviated as EnqCF replication, whereas the standard replication method is called TCPIP-based replication.
With EnqCF replication, the recovery scenario for an enqueue server failure changes as follows:
- Replication information is constantly and directly stored into the coupling facility (CF) by the SAP enqueue server.
- If the enqueue server fails, it can be restarted on any LPAR in the sysplex.
- The restarted enqueue server picks up the replication information from the CF and recovers the enqueue lock information.
| Criteria | TCPIP-based replication | EnqCF replication |
|---|---|---|
| replication server |
|
not needed:
|
| planned or unplanned failover of replication server |
|
not applicable:
|
| planned restart of enqueue server |
|
more flexible:
|
| unplanned failover of enqueue server |
|
more flexible:
|