Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Defining sharing control data sets z/OS DFSMSdfp Storage Administration SC23-6860-01 |
|
Sharing control is a key element in maintaining data integrity in a shared environment. Because persistent record locks are maintained in the CF, several new classes of failure might occur, such as a Parallel Sysplex®, system, or SMSVSAM address space restart, or a CF lock structure failure. The sharing control data set (SHCDS) is designed to contain the information required for DFSMS to continue processing with a minimum of unavailable data and no corruption of data when failures occur. The SCDS data can be either SMS or non-SMS managed. The SHCDS acts as a log for sharing support. It is a logically-partitioned
linear data set, with CISIZE of 4096, that must be defined with secondary
extents, though all extents for each data set must be on the same
volume. An SHCDS contains the following information:
Sharing control is critical to maintaining data integrity in the event of the failures such as Parallel Sysplex, system, or SMSVSAM address space restart, or of the CF lock structure. You should always have at least two active and one spare SHCDSs. Place these data sets for maximum availability. If necessary, you can have up to five active SHCDSs and five spare SHCDSs. Recommendation: Because the contents of these data sets are highly dynamic, do not use backup and restore functions, because these might cause the loss of VSAM RLS data set recovery information. Consider the following as you allocate and maintain your SHCDSs:
You must
use the following naming convention when defining your SHCDSs:
where:
Define
the SHCDS with the following characteristics:
Use the following formula to calculate the size of the primary
extent of your SHCDS:
where:
For example, if you have an average of 10 recoverable subsystems registered with RLS with an average of 1000 recoverable data sets open, the amount of space required for the primary extent is (10 * 1000 * 2 * 272) or 5440000 bytes (5313 KB). You can create an SHCDS using access method services. When you use the access method services DEFINE command to create an SHCDS, specify SHAREOPTIONS(3,3) to ensure that the SHCDS can be written to and read from any system.Specify CISIZE as 4096. Select a volume that is a member of a storage class with the guaranteed space attribute. Figure 1 shows how to create an SHCDS using IDCAMS: Figure 1. Example
for Creating Sharing Control Data Sets Using IDCAMS
Once the SHCDS data sets have been created, you make them available for use by using the VARY SMS, SHCDS (qualifier.Vvolser), NEW command. The (qualifier.Vvolser) is used, not the fully qualified SHCDS name. For example, VARY SMS, SHCDS (ACTIVE,XP0301). This command only needs to be entered on one system in the Parallel Sysplex. The SMSVSAM address space on the system where the command is entered communicates the name of the data set to the other SMSVSAM address spaces in the Parallel Sysplex. Each SMSVSAM address space recatalogs the data set, if it has not already been cataloged, so that you do not need to manually catalog the data set in order for it to be used. Those data sets added for use are saved, and can be accessed when an SMSVSAM address space initializes them or is restarted, or though subsequent IPLs. The names of the SHCDS data sets are stored in the Sysplex COUPLE data sets. In the event of starting up with a new set of Sysplex couple data sets, the SHCDS data sets names are lost and you must use the VARY SMS SHCDS command to make them available. To delete and redefine a SHCDS data set, you must first delete the SHCDS data set from SMSVSAM by entering the V SMS.SHCDS(shcdsname).DELETE command, and then you can use IDCAMS DELETE and DEFINE to modify the new SHCDS data set. You must do that even if SMSVSAM is not active. Note, that you always must have at least two active SHCDS data sets and one spare SHCDS data set. To delete a SHCDS data set when there are only the minimum number of SHCDS data sets defined, you must first define additional SHCDS data sets before you can delete the existing SHCDS data sets. The following example shows how to delete and redefine SHCDS data sets when only the minimum number of SHCDS data sets are defined:
Note:
For more information see Changing the state of coupling facility cache structures and volumes. |
Copyright IBM Corporation 1990, 2014
|