z/OS DFSMStvs Planning and Operating Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Defining staging data sets

z/OS DFSMStvs Planning and Operating Guide
SC23-6877-00

To ensure maximum protection of log data, the system logger allows duplexing of log write requests to both the coupling facility and to DASD. Duplexing provides failure-isolation of committed log data, even when the coupling facility and a connected MVS™ are in the same failure domain. For example, a failure domain is when the coupling facility and MVS are in the same central processor complex (CPC), or if the coupling facility storage is volatile. The records are written temporarily to a staging data set associated with the log stream. They are later offloaded asynchronously to permanent storage on the persistent log stream data sets. Offloading occurs when the HIGHOFFLOAD threshold of either the log stream or the staging data set is reached.

You can specify whether duplexing to staging data sets is either conditional or unconditional, depending on whether or not the coupling facility is in an independent failure domain. If conditional, the system logger chooses either the data space option or a staging data set; if unconditional, duplexing to a staging data set is forced.

MVS normally keeps a second copy of the data written to the coupling facility in a data space. The second copy is used to build a coupling-facility log in the event of an error. This is satisfactory as long as the coupling facility is failure-independent (in a separate central processor complex (CPC) and nonvolatile) from MVS.

The coupling facility is in the same CPC or uses volatile storage, the system logger supports staging data sets for copies of log stream data. That log stream data would otherwise be vulnerable to failures that impact both the coupling facility and the MVS images.

Use these guidelines when defining log streams:
  • Unless you are operating with only a single coupling facility, define STG_DUPLEX(YES) and DUPLEXMODE(COND) for those log streams associated with the system log. This ensures that the system logger automatically copies log stream data to staging data sets if it detects that the coupling facility is not failure-independent.
  • Define STG_DUPLEX(YES) for log streams that are associated with forward recovery logs. If you do not, you must take a new image copy of the associated VSAM data sets after any failure that causes loss of data from the log stream. Until the copying is complete, the data sets are not fully protected.
  • Define all log streams with STG_DUPLEX(YES) and DUPLEXMODE(UNCOND) if both of these conditions are true:
    • The coupling facility is a nonvolatile, standalone coupling facility for normal logging
    • A PR/SM™ LPAR, configured as a coupling facility, is acting as backup
  • Define each staging data set to be at least the same size as the log stream share of the coupling facility, but round the average block size up to 4 KB.
    Use this formula to calculate the staging data set size corresponding to the basic coupling facility space requirement for each DFSMStvs system log stream:
    4 x akp x average buffer size
    Round up the average buffer size to a multiple of 4096.

    The activity keypoint frequency value (akp) specifies the number of physical outputs to the DFSMStvs system log before an activity keypoint is taken.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014