Mainframe Path Start learning free
Applied10 min readLesson 1 of 3

From one system to many: sysplex, XCF and couple data sets

A sysplex is a group of z/OS systems that cooperate as one. XCF lets them send messages to each other and notice when one fails, couple data sets hold the shared records that keep them in agreement, and a common time source keeps their clocks aligned.

Why one system is not enough

A single z/OS image in an LPAR can be very large, but it is still one point of failure, and every planned IPL for maintenance takes its work down with it. A sysplex (short for systems complex) joins up to 32 z/OS images so they can share work and cover for each other. The images can sit on one CPC or be spread across several machines, which is better for availability.

Base sysplex versus Parallel Sysplex
Base sysplex
Two or more z/OS systems linked by XCF signallingA shared sysplex couple data setA common time sourceSystems can coordinate, but each one owns its own data
Parallel Sysplex
Everything in a base sysplexPlus one or more coupling facilitiesSeveral systems can update the same data with full integrity (data sharing)Work can run on any member, so one system can be taken down without an outage

When people at work say "the sysplex" they almost always mean a Parallel Sysplex. A single system running with sysplex services but no partners is sometimes called a monoplex; you will see these on small test systems.

XCF: how members talk to each other

The cross-system coupling facility (XCF) is a z/OS component, not a piece of hardware, despite the name. Programs that want to cooperate across systems join XCF and get three kinds of service:

A message between two members of an XCF group
Member on SYSAe.g. a Db2 member
XCF on SYSAgroup services
Signalling pathCTC or CF list structure
XCF on SYSBdelivers the message
Partner memberon SYSB

Couple data sets

Couple data sets are special datasets on DASD that every system in the sysplex can reach. Each type holds one kind of shared information. They are formatted with the IBM utility IXCL1DSU and named in the COUPLExx member of parmlib. Every type should have a primary and an alternate on different volumes, ideally behind different storage controllers.

TypeWhat it holdsNotes
SYSPLEXSystem status, heartbeats, XCF group and member informationRequired for any multi-system sysplex
CFRMCoupling facility resource management policy: which CFs exist and which structures go whereRequired for a Parallel Sysplex
SFMSysplex failure management policy: what to do when a system or connection failsStrongly recommended so failures are handled automatically
ARMAutomatic restart manager policyRestarts failed jobs and started tasks, optionally on another system
LOGRSystem logger log stream definitionsUsed by CICS logs, OPERLOG and others
WLMThe WLM service definitionOne set of goals for the whole sysplex

There is also a couple data set type for the Unix System Services shared file system. Which types a site uses depends on its configuration.

Looking at the sysplex

Systems in a three-way sysplex (illustrative, abbreviated)
D XCF,SYSPLEX,ALL
SYSPLEX PLEXP1
SYSTEM   STATUS    LAST STATUS UPDATE
SYSA     ACTIVE    10/08/2026 02:14:07
SYSB     ACTIVE    10/08/2026 02:14:06
SYSC     ACTIVE    10/08/2026 02:14:07
Everyday XCF displays (operator commands)What it means
D XCF,SYSPLEX,ALL
Systems in the sysplex and their status
D XCF,COUPLE
Couple data sets in use, including whether an alternate is defined
D XCF,GROUP
XCF groups currently defined; add a group name to list its members
D XCF,PATHIN / D XCF,PATHOUT
Inbound and outbound signalling paths and their status

One clock for everyone

Members of a sysplex write timestamps into logs that may later be merged for recovery, so all systems must agree on the time. Today this is done by Server Time Protocol (STP), a machine feature that synchronises CPCs over coupling links. It replaced the older external Sysplex Timer. In an STP network, servers take roles such as Preferred Time Server, Backup Time Server and Arbiter, and the server currently acting as the time source is the Current Time Server. D ETR shows the timing status from z/OS.

TRY IT YOURSELF

Which z/OS component (three letters) lets programs on different systems in a sysplex join groups, signal each other and monitor status?

Show a hint

Cross-system coupling facility.

Show the solution

XCF, the cross-system coupling facility, a z/OS component that provides group, signalling and status monitoring services.

Common mistakes

Thinking XCF is hardware

XCF is a z/OS component. The coupling facility is a separate LPAR. Confusing them leads to looking in the wrong place when signalling fails.

Running without alternate couple data sets

A primary with no alternate is a single point of failure for the whole sysplex. Check D XCF,COUPLE after every incident and every change.

Putting all sysplex members on one CPC and calling it highly available

One machine failure then takes every member down. Real availability needs members spread across machines.

What you will see at work

Key terms

Check your understanding.
Take this lesson's quiz and save your progress. Free.

Take the lesson quiz
The coupling facility and data sharing →