HP P9000 for Compatible FlashCopy Mirroring User Guide Abstract This guide explains how to use HP P9000 FlashCopy Mirroring Software to create and use point-in-time copies of data stored by mainframe hosts on HP P9000 disk arrays. Topics include installing the license, creating copy pairs using PPRC, TSO, DFSMSdss and ICKDSF command utilities, and restoring source volumes using reverse copy.
© Copyright 2010, 2011 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice.
Contents 1 About Compatible FlashCopy operations.......................................................6 How Compatible FlashCopy works.............................................................................................6 Establishing a Compatible FlashCopy relationship.........................................................................6 Copy modes............................................................................................................................7 Copying by volume......
Establishing Compatible FlashCopy relationships by extents using DFSMSdss command..............54 Establishing Compatible FlashCopy relationships by extents using ANTRQST macro command.....55 Establishing Compatible FlashCopy relationships while suspending Write Operations to S-VOLs.............................................................................................................................55 Establishing Compatible FlashCopy relationships by using z/VM CP commands........................
Comparison of the maximum number of relationships between IBM FlashCopy and HP Compatible FlashCopy.............................................................................................................................97 Comparison of process in copying............................................................................................97 Comparison of processing in releasing relationships....................................................................
1 About Compatible FlashCopy operations This chapter describes and provides instructions for performing Compatible FlashCopy operations. Unless otherwise specified, the term P9000 in this guide refers to the following disk array: • P9500 Disk Array The GUI illustrations in this guide were created using a Windows computer with the Internet Explorer browser. Actual windows may differ depending on the operating system and browser used.
Figure 1 Multiple relationships The extent that is already set as the copy target cannot be used as a copy source extent to create a new Compatible FlashCopy relationship. You cannot create a cascaded Compatible FlashCopy relationship. See the following figure for an example. Figure 2 Compatible FlashCopy relationship cannot be created Copy modes When you establish a relationship, Compatible FlashCopy allows you to select the mode to run the copy operation between COPY mode and NOCOPY mode.
If there is a request for a write operation to the space in the S-VOL from where the data is not yet copied, or a request for read/write operation to the space in the T-VOL to where the data is not yet copied, Compatible FlashCopy first copies the old data in the S-VOL to the T-VOL. This process is called on-demand copying. The following figure shows the process of the on-demand copying. Figure 3 On-demand copying 1. 2. 3.
Copying by volume If you do not specify extent when you establish a relationship, the entire volume will be copied. This is called volume copying. To perform volume copying, the capacity of the copy source volume must be equal to, or larger than the capacity of the copy target volume. This function can be used in Compatible FlashCopy SE. Copying by dataset If you specify the extent when you establish a relationship, only a part of the volume will be copied. This is called dataset copying.
Table 1 Compatibility between compatible FlashCopy and user interface functions Functions Volume copy Dataset copy COPY mode NOCOPY mode Incremental FlashCopy Using Consistency Groups for Dataset Copies Reverse Restore FlashCopy to PPRC Primary Volume Fast Reverse Restore Remote FlashCopy User Interface TSO DFSMSdss ICKDSF ANTRQST Macro Multi relationship OK OK OK OK NOCOPY mode OK OK OK OK COPY mode OK OK OK OK Multi relationship OK OK No OK NOCOPY mode OK OK No OK C
Figure 5 Using consistency group with Compatible FlashCopy: copying data that is stored over multiple volumes Figure 6 Using consistency group with Compatible FlashCopy: copying multiple data that are stored over multiple volumes The first figure shows copying the data stored over volumes #1-#3 to volumes #4-#6. You need to establish relationships of volume #1 and #4, #2 and #5, and #3 and #6, then copy the data.
The following figure shows the workflow for establishing the relationship (using Compatible FlashCopy) to the executing of the update copy operation using the Incremental FlashCopy function. Figure 7 Incremental FlashCopy The previous figure shows Data 2A managed as differential data. If you re-execute the command to establish the relationship, only the differential data of Data 2A is copied to the T-VOL.
• If the S-VOL capacity exceeds the T-VOL capacity in the relationship being reversed. • If the original relationship was reestablished using the Fast Reverse Restore function. For details about Fast Reverse Restore function, see “Fast Reverse Restore function” (page 13). You can judge whether the Reverse Restore function can be used by examining the results of the FLASHCOPY QUERY RELATIONS command of ICKDSF.
After you reestablish a relationship by using the Fast Reverse Restore function, the contents of the new S-VOL are not ensured. You can judge whether the Fast Reverse Restore function can be used by examining the results of the FLASHCOPY QUERY RELATIONS command of ICKDSF. For details, see “Displaying information on compatible FlashCopy pairs: FLASHCPY QUERY RELATIONS” (page 80).
either create Cnt Ac-S Z pairs after creating Compatible FlashCopy pairs, or create Compatible FlashCopy pairs after creating Cnt Ac-S Z pairs.
Figure 10 Creating Compatible FlashCopy pair in Cnt Ac-S Z pair Figure 11 Creating Cnt Ac-S Z pair in compatible FlashCopy pair 16 About Compatible FlashCopy operations
Figure 12 Dataset copying Comparison of Results of Cnt Ac-S Z Pair operations Cnt Ac-S Z pair operations sometimes produce different results depending on whether differential data of the Cnt Ac-S Z pair are stored in units of tracks or cylinders. See the following table.
The Remote FlashCopy operation proceeds in the following order: • First, you issue a FlashCopy operation command to the Cnt Ac-S Z M-VOL. • Then, the command is transmitted from the MCU (Main Control Unit) to the RCU (Remote Control Unit).
Table 3 Combination of remote FlashCopy function and other FlashCopy functions Remote FlashCopy function Can other function be used with remote FlashCopy function ? Volume copy Yes Dataset copy No COPY mode Yes NOCOPY mode Yes Incremental FlashCopy Yes Using Consistency Groups for Dataset Copies No Reverse Restore No FlashCopy to PPRC Primary Volume Yes Fast Reverse Restore No FlashCopy to Cnt Ac-J Z Primary Volume function The FlashCopy to Cnt Ac-J Z Primary Volume function allows you t
If the following operation or processing is executed, the FCWITHDR command may be issued automatically by a host server and relationships may be deleted. • A user deletes dataset. • A user initializes a volume. • Temporary dataset is deleted when a job completes. You can select releasing legions of allocated targets by the following parameters when releasing Compatible FlashCopy® SE relationships.
• External volumes are the volumes in the external storage system that are mapped as the internal volumes. For details about External Storage and external volumes, see the HP P9000 External Storage for Open and Mainframe Systems User Guide. • If an external volume is specified as a Compatible FlashCopy T-VOL, be careful about the setting of the time of path blockade watch, which is the time from when the external storage system is disconnected to when the path is blocked.
Figure 14 Pair Configuration where an S-VOL of compatible FlashCopy and BC Z is shared Usually, you need to specify a volume in Simplex status as a copy source (S-VOL) or a copy target (T-VOL). When you specify a BC Z S-VOL as a copy source, you can establish a Compatible FlashCopy relationship only if the BC Z pair is not in Resync-R status. You can establish or release Compatible FlashCopy relationship if you meet the requirements described above.
Table 7 Compatible FlashCopy and Cnt Ac-S Z shared volume Compatible FlashCopy Cnt Ac-S Z M-VOL R-VOL S-VOL OK OK T-VOL OK NO Volumes that cannot be shared: The Compatible FlashCopy and Cnt Ac-S Z shared configuration is different from the IBM FlashCopy and PPRC shared configuration.
Table 8 Volume Share of compatible FlashCopy S-VOL and Cnt Ac-S Z (continued) Shared Cnt Ac-S Z Pair Volume Status of Cnt Ac-S Z Pair Duplex Pending Duplex Suspend *2: You cannot establish the Compatible FlashCopy relationship because the data consistency of the Compatible FlashCopy T-VOL will not be insured. 1. If a Cnt Ac-S Z M-VOL is in pending status and you execute an ICKDSF command for Compatible FlashCopy, the ICKDSF job will end abnormally with CC=12 error.
Table 10 Whether fast reverse restore can be performed when compatible FlashCopy S-VOL is used as Cnt Ac-S Z volume Shared Cnt Ac-S Z Pair Volume Cnt Ac-S Z Status of Cnt Ac-S Z Pair Duplex Pending duplex Suspend M-VOL OK* OK* OK* R-VOL No No No * You can perform Fast Reverse Restore when you specify the following options.
If the same host is connected to both Cnt Ac-S Z M-VOL and R-VOL, the R-VOL label must be rewritten. 4. Use DFSMS to establish a Compatible FlashCopy relationship. See the following example: COPY FULL INDYNAM(xxxxxx) OUTDYNAM(yyyyyy) FASTREP(REQ) 5. 6. If the step 4 completes successfully, set the Cnt Ac-S Z R-VOL to offline. Resynchronize the Cnt Ac-S Z pair. If Compatible FlashCopy T-VOL and Cnt Ac-S Z M-VOL are shared: 1.
Table 13 Whether Compatible FlashCopy can be used as Cnt Ac-J Z volume Compatible FlashCopy Cnt Ac-J Z P-VOL S-VOL S-VOL OK NO T-VOL OK NO When you use a Compatible FlashCopy S-VOL as a Cnt Ac-J Z P-VOL When you use a Compatible FlashCopy S-VOL as a Cnt Ac-J Z P-VOL, you can use it regardless of the status of the Cnt Ac-J Z pair. When you use a Compatible FlashCopy S-VOL as a Cnt Ac-J Z P-VOL and the status of the Cnt Ac-J Z pair is suspend, you can perform Reverse Restore or Fast Reverse Restore.
Optimization of Volumes Volumes can be optimized by Compatible FlashCopy, if you use the DEFRAG command of the DFSMSdss utility with the FASTREPLICATION option. See the IBM manual for details of the option. CAUTION: The DEFRAG command may generate an error because the number of relationships per volume exceeds the maximum when all the following conditions are met. • The parity group including the volume is overloaded with many accesses. • The DEFRAG command is executed with FASTREPLICATION(REQUIRED).
2 Preparing for Compatible FlashCopy operations This chapter describes the requirements and preparations you should know before the Compatible FlashCopy operations. Requirements of Compatible FlashCopy You can establish a Compatible FlashCopy relationship for simplex volumes, and for non-simplex BC Z S-VOLs or T-VOLs. The following table describes other requirements on using Compatible FlashCopy.
You can use the Compatible FlashCopy Information dialog box to check the number of remaining resources that are currently available. Check the Compatible FlashCopy Information dialog box when you create a Compatible FlashCopy relationship. The following software programs share the resources used for copy operation. • Business Copy Z • Business Copy • Snapshot • Auto LUN The resources used by Business Copy Z, Business Copy, Snapshot, and Auto LUN cannot be used for Compatible FlashCopy.
When you round up 2.45379 to the nearest whole number, it becomes 3. Therefore, the total number of the resources to be used for one relationship is 6 when emulation type is 3390-3. When volumes that differ in the emulation type and capacity are, the number of relationships that can be established is determined according to the following condition. NOTE: For details about the calculation of the total number of the resources to be used per a relationship, see the expression described above.
Figure 19 Copying Data in Two Extents that do not Overlap (Two S-VOLs) Figure 20 Copying Data in three extents that overlap (One T-VOL) Figure 21 Copying Data in two extents that overlap (Two T-VOLs) Figure 22 Copying one extent to another in the same volume The following table provides the calculation examples of the required resources according to the patterns of copying.
Table 19 Referential examples for calculating the number of resources required to create the compatible FlashCopy relationships Emulation type Copy Patterns Copying Data in two extents that do not overlap (One T-VOL) see Copying Data in two extents that do not overlap (Two T-VOLs) see Copying Data in two extents that do not overlap (Two S-VOLs) see Copying Data in three extents that overlap (One T-VOL) see Copying Data in Two Extents that overlap (Two T-VOLs) see Copying One Extent to another in the s
And Σ(γ) stands for the total number of relationships. The following figure shows when seven relationships are created with 3390-3 volumes, and three relationships are created with 3390-L volumes (32,769 CYL). Figure 23 Referential example for calculating the number of relationships As shown in the figure, the total number of resources used per pair is calculated as: Resources used for A through I = (9 + 3) + 3 + 3 + 3 + 3 + 3 + (25 x 3) + 25 + 25 = 152.
Table 20 Types of Compatible FlashCopy options Option Type Features FC Z Slower Copy1 FC Z Slower Copy1 option suppresses the background copy operations by Compatible FlashCopy, and prioritizes the host I/O operations. For details, see section “FC Z Slower Copy1 option” (page 35). NOTE: FC Z Slower Copy2 You need to set FC Z Slower Copy2 option invalid. FC Z Slower Copy2 option suppresses the background copy operations by Compatible FlashCopy, and prioritizes the host I/O operations.
Cautions on turning off the power while using Compatible FlashCopy This section describes what occurs if you power off the storage system during Compatible FlashCopy operations and later power on the storage system. What occurs depends on the status of the shared memory when powering on the storage system: WARNING! If data on the shared memory is volatilized and lost after the power turns on, problems may occur during operations.
Example 1 The devserv Command devserv QDASD, 4200, VALIDATE By executing the command, you will be able to view the information of the direct access memory device 4200 and the magnetic disk controller. Based on the displayed information, update the information on the expanded functions maintained in the storage of the host processor. By these operations, the host recognizes that Compatible FlashCopy or Compatible FlashCopy SE is supported. 7. 8.
License capacity of Compatible FlashCopy • The total capacity of S-VOL and T-VOL of Compatible FlashCopy must be within the license capacity that you purchased. • When you use the volumes of Thin Provisioning as S-VOL and T-VOL of Compatible FlashCopy, the pool capacity of Thin Provisioning is added to the license capacity of Compatible FlashCopy. The license capacity of Thin Provisioning volumes cannot be renewed in real time.
3 Performing Compatible FlashCopy operations This chapter describes how to operate Compatible FlashCopy. Commands for Compatible FlashCopy operations Compatible FlashCopy supports PPRC TSO commands, DFSMSdss commands, ICKDSF commands, ANTRQST Macro commands, and z/VM CP commands to enable you to perform Compatible FlashCopy operations from the zSeries and S/390 host system. The operating system versions that support Compatible FlashCopy are OS/390 V2R10, IBM V1R0 and z/VM V5R3 and higher.
z/VM CP commands • FLASHCOPY • FLASHCOPY ESTABLISH • FLASHCOPY BACKGNDCOPY • FLASHCOPY RESYNC • FLASHCOPY TGTWRITE • FLASHCOPY WITHDRAW • QUERY VIRTUAL FLASHCOPY Setting options The Option window allows you to specify the options to expand Compatible FlashCopy operations. To set options: 1. Click Actions > Local Copy > Business Copy or Mainframe/Compatible FlashCopy/Compatible FlashCopy SE > Option to open the Option window.
Table 21 Parameters for the FCESTABL command (volume copying) Parameter Value Description SDEVN Source device number Specify the number (device address) of the S-VOL on which you want to perform FCESTABL command. (This parameter is requied.) TDEVN Target device number Specify the number (device address) of the T-VOL on which you want to perform the FCESTABL command. (This parameter is requied.) MODE COPY Default setting.
Table 21 Parameters for the FCESTABL command (volume copying) (continued) Parameter Value Description TARGET Serial number, CU number, LDEV number of the T-VOL Specifies the serial number, the CU number, and the LDEV number of the T-VOL on which you want to perform the FCESTABL command. YES You use the Remote FlashCopy function to establish a relationship. NO You do not use the Remote FlashCopy function. REMOTE Use this parameter when TGTUCB is NO. NO is the default setting.
Example 2 Example of the FCESTABL command (COPY mode) FCESTABL SDEVN(X'4202') TDEVN(X'4203') MODE(COPY) ONLINTGT (YES) Establishing Compatible FlashCopy relationships by volumes using DFSMSdss command The DFSMSdss command used to process Compatible FlashCopy volume copy operation is COPY FULL. The following table shows the parameters you can use with the DFSMSdss command when you establish Compatible FlashCopy relationships by volumes.
Table 22 Parameters for the DFSMSdss command (Volume Copying) (continued) Parameter Value Description If you reverse the S-VOL and the T-VOL and execute the COPY command (Reverse Restore), only the differential data will be copied to the resulting T-VOL. *2 FCINCREMENTALLAST N/A Use FCINCREMENTALLAST to delete the relationship after completing the copy operation of the differential data.
Example 3 COPY FULL Command //COPY FULL JOB //* //INSTIMG EXEC PGM=ADRDSSU //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=V,OUTLIM=3000 //VOL1 DD UNIT=3390,VOL=SER=FCPY05,DISP=OLD //VOL2 DD UNIT=3390,VOL=SER=FCPY06,DISP=OLD //SYSIN DD * COPY FULL INDYNAM (FCPY05) OUTDYNAM (FCPY06) COPYVOLID /* Example 4 COPY FULL Command (FCCGFREEZE) //SYSPRINT DD SYSOUT=* //VOL1 DD UNIT=3390,VOL=SER=FC00,DISP=OLD //VOL2 DD UNIT=3390,VOL=SER=FC01,DISP=OLD //SYSIN DD* COPY FULL INDDNAME(VOL1) OUTDDNAME(VOL2) FASTREP(REQ) FCCGF
If the capacity of the copy source volume is larger than the capacity of the copy target volume, and if REQUIRED is specified for the FASTREPLICATION parameter, the ADR920I message occurs and the COPY command will end abnormally. In this case, perform one of the following: • Select the volume that has the same capacity as the copy source volume, and specify it as the copy target volume. • Do not specify the FASTREPLICATION parameter. • Specify PREFERRED for the FASTREPLICATION parameter.
Table 23 Parameters for the ICKDSF command (FLASHCPY ESTABLISH) (continued) Parameter ONLINTGT or ONTGT Value Description NOCOPY Establishes the relationship which covers the entire volume. The background copying process will not be performed. YES The relationship is established even when the S-VOL is online. NO The relationship is not established when the copy target is online. The default setting of this parameter is NO.
Table 23 Parameters for the ICKDSF command (FLASHCPY ESTABLISH) (continued) Parameter Value Description NO Cannot be specified the target T-VOLs as TSE-VOLs. * Valid in Compatible FlashCopy SE. To create a Compatible FlashCopy pair by using the ICKDSF FLASHCPY ESTABLISH command: 1. Set the T-VOL to offline. If the ONLINTGT parameter is set to YES, the T-VOL will automatically be offline when creating pairs. 2. 3. 4. 5.
Creating Compatible FlashCopy pairs by using incremental FlashCopy (Reverse Restore): FLASHCPY ESTABLISH To create Compatible FlashCopy pairs by using the Incremental FlashCopy function, and then reverse the S-VOL and the T-VOL (Reverse Restore) so that the differential data will be copied: 1. Set the T-VOL to offline. 2. Specify the JCL statement in the DDNAME parameter or specify the S-VOL device number in the UNITADDRESS parameter. 3.
5. Execute the FLASHCPY ESTABLISH command, specifying the FASTREVREST parameter and reversing the S-VOL and the T-VOL. See the following example.
Table 24 ANTRQST macro command parameters (REQUEST=FCESTABLISH) (continued) Parameter Value Description NOCOPY Data is not copied in the background. The relationship does not end automatically even when all the data is copied. To withdraw the relationship, use the FCWITHDR command. In the following data access occurs, the data subject to read/write processing is copied from the source to the target before Compatible FlashCopy read/write processing starts.
Table 24 ANTRQST macro command parameters (REQUEST=FCESTABLISH) (continued) Parameter Value Description REMOTE YES You use the Remote FlashCopy function to establish a relationship. NO You do not use the Remote FlashCopy function. NO is the default setting. DEVN SRCSERIAL SRCLSS Cnt Ac-S Z source device number Specifies the Cnt Ac-S Z source device number (device address).
figure. When you do not specify the EXTENTS parameter, the entire source volume is copied to the target volume. Figure 25 Dataset Copying with EXTENTS parameter specified (compatible FlashCopy) When the FCESTABL command with the XTNTLTS parameter specified is executed, only the data on the copy source extent(s) specified by the XTNTLTS parameter are copied to the copy target extent(s) specified by the XTNTLTS parameter.
6. • Specify multiple source datasets that are overlapping or are an inclusive part of another dataset. However, the number of extents that you may specify per dataset is limited to 16. • Do not specify multiple target datasets that are overlapping. • Specify source and target datasets that differ in position. • Specify the source and target datasets that are in the same volume, provided that they do not overlap. If the T-VOL is set to offline in step 4, set this volume back to online.
Example 15 COPY DS command //DSSCOPY JOB //* //INSTIMG EXEC PGM=ADRDSSU //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=V,OUTLIM=3000 //VOL1 DD UNIT=3390,VOL=SER=FCPY05,DISP=OLD //VOL2 DD UNIT=3390,VOL=SER=FCPY06,DISP=OLD //SYSIN DD * COPY DS(INCL(SAM020.**)) INDDNAME(FCPY05) OUTDDNAME(FCPY06) FASTREPLICATION(REQUIRED) FCNOCOPY DEBUG (FRMSG(DETAILED)) /* Compatible FlashCopy allows you to establish up to 16 relationships simultaneously from a single copy source extent.
Example 16 FCESTABL command (Compatible FlashCopy / ACTION specified) FCESTABL SDEVN(X'4202') TDEVN(X'4203') ACTION(FREEZE) To resume the write operation to S-VOLs, you need to issue the FCWITHDR command with the ACTION parameter specified. If a timeout occurs, the write operation may be resumed although you do not issue the FCWITHDR command. The default setting of timeout is 120 seconds (2 minutes), however, you may change it. To change the timeout period (i.e.
Figure 27 Set SCP Time dialog box The following items display in the Set SCP Time dialog box: Table 28 Items display in the Set SCP Time dialog box Item Description SCP Time(sec.) text box Specifies the state-change-pending time in seconds (0 to 600 seconds). The text box displays the state-change-pending time that is set to the CU selected in the FCZ/FCSE window by default.
Table 30 Parameters available with FLASHCOPY command Parameter Value Description vdev1 Primary device number Specifies the device number of the copy source (device address or mini disk number). scyl1 Starting cylinder of source Specifies the starting cylinder of the copy source. Specify 0 if the entire volume is the target. ecyl1 Ending cylinder of source Specifies the ending cylinder of the copy source. END can be specified if the entire volume is the target.
An usage example of the FLASHCOPY ESTABLISH command is shown below. This example copies cylinders 0 to 99 from device 10 to device 20 in copy mode. The relationship remains even after the completion of copy. Example 18 FLASHCOPY ESTABLISH command flashcopy establish source 10 0-end target 20 0-end Command complete: FLASHCOPY 0010 0 99 TO 0020 0 9 To cancel the relationship remaining after the completion of the copy, use the FLASHCOPY WITHDRAW command.
Example 19 FLASHCOPY RESYNC Command flashcopy establish source 30 0-end target 40 0-end chgrecord reversible Command complete: FLASHCOPY 0030 0 END TO 0040 0 END flashcopy resync source 30 0-end target 40 0-end RESYNC COMPLETED Removing write protection from S-VOL by using z/VM FLASHCOPY TGTWRITE command To remove write protection from the S-VOL of the relationship, use the FLASHCOPY TGTWRITE command. The following table shows the parameter available with the FLASHCOPY TGTWRITE command.
Table 35 Parameters for the FCWITHDR command (Compatible FlashCopy) Parameter Value Description SDEVN Source device number. Specify the number (device address) of the S-VOL on which you want to perform FCWITHDR command. TDEVN Target device number. Specify the number (device address) of the T-VOL on which you want to perform FCWITHDR command. DEVN Device number. Specify the number (device address) of the device on which you want to perform FCWITHDR command with ACTION parameter.
Table 36 Results from FCWITHDR command Setting Parameter Results Unspecified • DDSW parameter set to NO The relationships specified in the command are withdrawn when the command is executed. • DDSW parameter un-set Set in Copy mode while the background copy operation is in progress Ongoing background copy operation is stopped and cancelled. The relationships specified in the command are withdrawn.
The information specified by the XTNTLST parameter is supported only when the following conditions are fully met: • The information specified by the XTNTLST parameter must be for both the source and target. If the information specified by the XTNTLST parameter is only for one of the two, the copy operation will result as an error. • The size of the specified copy source and target extents must be the same.
Figure 28 Diagram of the FCWITHDR Command Processing (TDEVN: specified, DDSW = NO)( for Case 1) Case 2: TDEVN specified, DDSW = NO, XTNTLST parameter specified The relationships included in the extents specified by the XTNTLST parameter are withdrawn. The relationships that are only partly included in the specified extents are not withdrawn. The following example shows the command description for Case 2.
Figure 29 Diagram of the FCWITHDR command processing (TDEVN: specified, DDSW = NO, XTNTLST specified) The following example shows another command description for Case 2. Similar to the previous example, this example requests the withdrawal of all the relationships established with the copy target extents included in the specified extents within the device numbered 4203.
Figure 30 FCWITHDR command processing (TDEVN: specified, DDSW = NO, XTNTLST specified) Case 3: SDEVN and TDEVN Specified, DDSW = NO All the relationships established between the source device specified by SDEVN and the target device specified by TDEVN are withdrawn. The following figure is an example of the command description for Case 3.
Figure 31 FCWITHDR command processing (SDEVN and TDEVN: specified, DDSW = NO) Case 4 (a, b): SDEVN and TDEVN Specified, DDSW = NO, XTNTLST parameter specified Among the relationships established between the source device specified by SDEVN and the target device specified by TDEVN, the relationships included in the extents specified by the XTNTLST parameter are withdrawn. The relationships that are only partly included in the specified extents are not withdrawn.
Figure 32 FCWITHDR command processing (SDEVN and TDEVN: specified, DDSW = NO, XTNTLST specified) The following example is of the command description for Case 4. Similar to the previous example, this example requests the withdrawal of the relationships established within the copy source extent in the device numbered 4202 and the copy target extent in the device numbered 4203.
Figure 33 FCWITHDR command processing (SDEVN and TDEVN: specified, DDSW = NO, XTNTLST specified) The following example shows the command description that indicates that the extent specified by the XTNTLST parameter is located in the center of Dataset 1, and the specified extent in the device numbered 4202 is included as a part of Dataset 1. Therefore, the relation established with Dataset 1 is not withdrawn.
Example 27 FCWITHDR command description (SDEVN and TDEVN: specified, DDSW = YES) FCWITHDR FCWITHDR SDEVN(X'4202') SDEVN(X'4202') DDSW(YES) TDEVN(X'4203') DDSW(YES) By executing the FCWITHDR command described in the example, the relations established with Dataset 1 and Dataset 2 in the device numbered 4202 are withdrawn. As a result, there will no longer be any relationships established with the device numbered 4202 after executing this command. See the following figure.
Figure 35 FCWITHDR command processing (SDEVN and TDEVN: specified, DDSW = YES, XTNTLST specified) Case 7: DEVN specified, ACTION=THAW Resume the write operation to the volumes that belong to the CU specified by the DEVN parameter. Relationships (pairs) will not be withdrawn. The following example shows the instruction to resume the write operation to the volumes that belong to the CU whose device number is 4202.
Table 38 Parameters for the ICKDSF command (FLASHCPY WITHDRAW) Parameter Value Description DDNAME or DNAME JCL statement Specifies the JCL statement identifying the volume. If the OS of the host server is MVS, this parameter or the UNITADDRESS parameter is required. SYSNAME SYSNAME Specifies the SYSNAME in the ASSGN system control statement. If the OS of the host server is VSE, this parameter is required.
Withdrawing Compatible FlashCopy pairs: FLASHCPY WITHDRAW To delete a Compatible FlashCopy pair by using the ICKDSF FLASHCPY WITHDRAW command: 1. If the OS of the host server is MVS, specify the JCL statement in the DDNAME parameter, or specify the S-VOL device number of the Compatible FlashCopy pair that you want to delete for the UNITADDRESS parameter. 2. Specify SYSNAME of the ASSGN system control statement in the SYSNAME parameter if the OS of the host server is VSE. 3.
Table 40 Parameters for the ANTRQST macro command (REQUEST=FCWITHDRAW) 74 Parameter Value Description SDEVN Source device number Specifies the device number (device address) of the S-VOL on which you want to perform the FCWITHDRAW command. TDEVN Target device number Specifies the device number (device address) of the T-VOL on which you want to perform the FCWITHDRAW command.
Table 40 Parameters for the ANTRQST macro command (REQUEST=FCWITHDRAW) (continued) Parameter Value Description SSID SSID Specifies the SSID of CU that releases FlashCopy relationships.Uses when REMOTE parameter is YES. SPACEREL* YES If the target T-VOL is TSE-VOL, the physical area of TSE-VOL is released just as withdraw processing. If the target T-VOL is not TSE-VOL, it is ignored. If the command is issued to TSE-VOL in SIMPLEX status, the physical area is released.
Table 42 Parameters for the FCQUERY command (continued) Parameter Value Description Use this parameter when REMOTE is YES. QRYDVC Device number Specifies the device number, the CU number, or the LDEV number of the S-VOL when you use the Remote FlashCopy function. CU number Use this parameter when REMOTE is YES.
Table 43 Information Displayed by the FCQUERY Command (continued) Displayed item PC Displayed content Definition N Volume specified by DEVN is not in the status described above, or the volume is not used. P Volume specified by DEVN is currently used as the S-VOL (M-VOL) of the BC Z or Cnt Ac-S Z pair. S Volume specified by DEVN is currently used as the T-VOL (R-VOL) of the BC Z or Cnt Ac-S Z pair.
Viewing relationship status of Compatible FlashCopy using ICKDSF command The following table lists the parameters you can use with the ICKDSF command. Table 44 Parameters for the ICKDSF command Command Parameter Value Description FLASHCPY QUERY DDNAME or DNAME JCL statement Sets the JCL statement identifying the volume. If the OS of the host server is MVS, this parameter or the UNITADDRESS parameter is required. SYSNAME SYSNAME Sets the SYSNAME in the ASSGN system control statement.
Example 34 FLASHCPY QUERY command execution result FLASHCOPY VOLUME CAPABILITY INFORMATION TABLE MAXIMUM MAXIMUM EXISTING ALLOWED RELATIONS RELATIONS RELATIONS EXCEEDED CAPABILITY ---------------------------------1 1000 NO SRC CAP TGT CAP CAPABILITY LEGEND ASY P-VOL = ASYCHRONOUS PPRC REMOTE COPY PRIMARY CC SRC = CONCURENT COPY SOURCE INACCESS = VOLUME INACCESSIBLE, DATA NOT OBTAINABLE INHIBIT = FLASHCOPY INHIBITED O.
Table 45 Information displayed by the FLASHCPY QUERY command (continued) Displayed item Displayed content Meaning PHASE 1 A Version 1 relationship exists in the specified volume. INACCESS Cannot access the specified volume. The previous example displays the description of “ASY P-VOL” in the “CAPABILITY LEGEND”, but P9500 does not support the program product corresponding to this item.
Table 46 Information displayed By the FLASHCPY QUERY RELATIONS command (continued) Displayed item Displayed content Meaning R F Displays whether the device (volume) specified by DEVN is revertible or not. Since Compatible FlashCopy does not support this function, F will always be displayed. For details, see the IBM manual. FV T The relationship is established at the volume level. F The relationship is established at the extent level. T The background copying process is set to execute.
When the result meets the following requirement, the Restore function can be executed: • CRA=T When the result meets all the following requirements, the Reverse Restore function can be executed. • BCE=T • BCP=F • CRA=T • #TRACKS YET TO BE COPIED=0 Viewing relationship status of Compatible FlashCopy using ANTRQST macro command The following table lists the parameters you can use with the ANTRQST Macro command.
Table 48 Parameters for the QUERY VIRTUAL FLASHCOPY command Parameter Description ALL Displays information about all the virtual devices. If no parameter is specified, ALL is the default. vdev Only displays information about the specified virtual device. vdev1-vdev2 Displays information about the virtual devices in the specified range. An usage example of the QUERY VIRTUAL FLASHCOPY command is shown below.
Figure 37 Compatible FlashCopy information dialog box You will need the information in the Compatible FlashCopy Information dialog box when you calculate the number of the Compatible FlashCopy and Compatible FlashCopy SE relationships that can be established.
Table 49 Items in the Compatible FlashCopy information dialog box (continued) Item Description Total differential tables Displays the number of differential tables that are already used to the left of the slash (/) and the total number of differential tables in the storage system to the right. Remaining differential table(s) Displays the remaining number of differential tables in the storage system.
To display the Information dialog box: 1. Click Actions > Local Copy > Business Copy for Mainframe/Compatible FlashCopy/Compatible FlashCopy SE to open the Pair Operation window. If you are already displaying another window, click the Pair Operation tab. 2. Right-click anywhere on the volume list of the Pair Operation window of Business Copy Z. A menu will be displayed. 3. Select the Information command in the menu. The Information dialog box will be displayed.
Table 50 Items in the Information dialog box (continued) Item Description The maximum number of relationships that can be created in one storage system is 1,048,575, including open system Snapshot pairs. Therefore, if Snapshot pairs are created in the same storage system, the maximum number of relationships that you can create may be less than 1,048,575 minus the number shown in FC Z/FCSE Relationship(s).
4. If the information on the list is not updated, click File, and then Refresh on the menu bar of the Remote Web Console main window. The list will be updated to the latest information. For operations involving the copying process, the History window does not display information about the operations until the copying process starts. If you perform an operation on a relationship before the copying process starts, the History window will not display information about the operation. 5.
4 Performing Compatible FlashCopy SE operations This topic provides troubleshooting information for Compatible FlashCopy SE and instructions for calling technical support. Overview for Compatible FlashCopy SE Compatible FlashCopy SE (herein after called FCSE) can reduce the physical volume of T-VOL by setting the virtual volume named Track Space Efficient Volume (hereinafter called TSE-VOL) as T-VOL of Compatible FlashCopy.
Operating Pools Operating when Pool is full Even if a pool becomes full, the data that is updated in the S-VOL can reflect to T-VOL if THP pages are allocated to TSE-VOL. When performing the operation to update the S-VOL in the state of no space on pages, the copying of corresponding data to T-VOL fails and the relationship will be in the Failed State, results that the Read and Write process for T-VOL is not available. To restore from Failed State, the relationship is needed to be released.
2. Change the VOLSER of the T-VOL. When VTOC is copied, the VOLSER of the S-VOL and the T-VOL will become the same. This step must be performed before setting the volume specified as the T-VOL back to online. The following example shows another example of how the FCESTABL command is used. In this example, the FCESTABL command specifies to establish a relationship to copy the data in the source device numbered 4202 to the target device numbered 4203 by NOCOPY mode while 4203 is online.
example, the FCESTABL command establishes a relationship of the volumes (devices) numbered 4202 and 4203, and at the same time, suspends the write operation from the host to the source device numbered 4202. Example 40 FCESTABL command (Compatible FlashCopy SE / ACTION specified) FCESTABL SDEVN(X'4202') TDEVN(X'4203') ACTION(FREEZE) SETGTOK(YES) MODE(NOCOPY) To resume the write operation to S-VOLs, you need to issue the FCWITHDR command with the ACTION parameter specified.
Viewing information of Compatible FlashCopy SE relationship Viewing relationship status of Compatible FlashCopy SE using TSO command The FCQUERY command can be used to display information including the attributes set to the devices specified by DEVN and the number of Compatible FlashCopy SE relationships established with the specified devices. The following example is an example of the FCQUERY command. This example requests information on the device numbered 4202 to be displayed.
Table 55 Information displayed by the FCQUERY command (continued) Displayed item Displayed content Definition this item. For details about system option mode 20, see the HP P9000 Continuous Access Synchronous for Mainframe Systems User Guide. N Volume specified by DEVN is currently not used for BC Z or Cnt Ac-S Z. When system option mode 20 is "ON" and when the REMOTE parameter value of the TSO command is "NO", "N" will be displayed for this item.
Example 45 FLASHCPY QUERY RELATIONS command execution result The following table lists the meanings of information displayed as a result of executing the FLASHCPY QUERY RELATIONS command. Table 56 Information displayed by the FLASHCPY QUERY RELATIONS command Displayed item Displayed content Meaning FLASHCPY SEQUENCE NUMBER 00000000 Displays the sequence number. However, since Compatible FlashCopy does not support sequence numbers, "00000000" will be always displayed for this item.
Table 56 Information displayed by the FLASHCPY QUERY RELATIONS command (continued) Displayed item Displayed content Meaning SSID Storage subsystem ID Displays the SSID (storage subsystem ID) of the subsystem where the relationship belongs. LSS CU number Displays the CU number of the volume where the relationship exists. CCA Device number Displays the device number of the storage system where the relationship exists. SEVI S This is TSE-VOL (TRUE|FALSE). E The target is TSE-VOL (TRUE|FALSE).
5 Feature comparison with IBM product This chapter describes the difference between IBM FlashCopy and HP Compatible FlashCopy. Feature comparison with IBM product The following table lists the differences between IBM FlashCopy and HP Compatible FlashCopy . Table 57 Differences between IBM FlashCopy and HP compatible FlashCopy Compared item IBM FlashCopy HP Compatible FlashCopy GLOBAL Mirror status Supported. Not supported. For details about GLOBAL Mirror status, see the IBM manual.
Table 59 Differences of copying process between IBM FlashCopy and HP compatible FlashCopy (continued) Compared item IBM FlashCopy HP compatible FlashCopy relationship created by Incremental FlashCopy function. Regardless of whether differential data exists, the Reverse Restore operation cannot be performed on If differential data does not exist, the the relationship after Restore or Reverse Restore is performed with NOCOPY specified.
Table 59 Differences of copying process between IBM FlashCopy and HP compatible FlashCopy (continued) Compared item IBM FlashCopy HP compatible FlashCopy Establishing a Cnt Ac-S Z Neither FlashCopy data nor PPRC pair in NOCOPY mode data can be copied. whose M-VOL is a Compatible FlashCopy pair T-VOL that you establish in NOCOPY mode Data can be copied from the Compatible FlashCopy(R) pair S-VOL to T-VOL but not to the TCz R-VOL.
Table 60 Differences of relationship releasing process Between IBM FlashCopy and HP Compatible FlashCopy (continued) Compared item IBM FlashCopy HP Compatible FlashCopy Therefore, if any of these has been performed, do either of the following: • Use the FCWITHDR command to withdraw the relationship. • Wait until the background copy operation finishes and the relationship disappears. REMOVEFCPY (ICKDSF CONTROL command) The command will finish normally. Relationships will not be deleted.
• SETGTOK • PRESERVEMIRROR FC Query command • OPENDVCS • UNFORMAT FC Withdraw command • OPENDVCS • ACTION (COMMIT/REVERT) Compatible FlashCopy does not support the following parameters of ICKDSF commands. FLASHCPY ESTABLISH command • SOURCEVOL • SETGTOK • PRESERVEMIRROR FLASHCPY QUERY command • SOURCEVOL FLASHCPY WITHDRAW command • REVERT | COMMIT • SOURCEVOL • RELATSPACE Compatible FlashCopy does not support the following parameters of DFSMSdss commands.
FLASHCOPY ESTABLSIH command • FAILNOSPACE • NOSETARGET FLASHCOPY WITHDRAW command • RELEASE All parameters of QUERY FLASHCOPY command 102 Feature comparison with IBM product
6 Troubleshooting This chapter provides troubleshooting information for Compatible FlashCopy and instructions for calling technical support. If a Compatible FlashCopy relationship is suspended Compatible FlashCopy relationships may be suspended if a hardware or software failure occurs during Compatible FlashCopy operation. If Compatible FlashCopy relationships are suspended, hosts may be unable to access copy target datasets.
4. Acute The larger the number becomes, the more the message becomes important. The SVP reports all SIMs related to Compatible FlashCopy operations. All SIMs are stored on the SVP for use by HP personnel. The SIMs reported to the zSeries and S/390 host are logged in the SYS1.LOGREC dataset of the host operating system. Each time a SIM is generated, the amber Message LED on the control panel (under the Ready and Alarm LEDs) turns on as an additional alert for the user.
The HP customer support staff is available 24 hours/day, seven days a week.
7 Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
HP websites For additional information, see the following HP websites: • http://www.hp.com • http://www.hp.com/go/storage • http://www.hp.com/service_locator • http://www.hp.com/support/manuals • http://www.hp.com/support/downloads • http://www.hp.
Table 64 Document conventions (continued) Convention Element Monospace text • File and directory names • System output • Code • Commands, their arguments, and argument values Monospace, italic text • Code variables • Command variables Monospace, bold text WARNING! CAUTION: IMPORTANT: NOTE: TIP: Emphasized monospace text Indicates that failure to follow directions could result in bodily harm or death. Indicates that failure to follow directions could result in damage to equipment or data.
A Compatible FlashCopy/Compatible FlashCopy SE GUI Reference Compatible FlashCopy and Compatible FlashCopy SE share some tabs with Business Copy Z. This appendix describes the items on the windows that display when you click the shared tabs and the Compatible FlashCopy and Compatible FlashCopy SE original tab. Pair Operation window The Pair Operation window displays the volume and pair information for the selected CU image of the connected storage system.
in the Volume List on the upper right of the Pair Operation window. No volume will be displayed when you select Storage system on the top of the Tree. Item Description Volume List Located on the upper right of the Pair Operation window, displays the following information: • Message: Displays a message when there is no volume or pair to be displayed. If you see the message in the Volume List, click a different icon in the Tree on the left area of the Pair Operation window.
Table 66 Menu command available Command Description Detail Displays detailed information about the selected volume. Information Displays information such as the number of BC Z pairs, number of Compatible FlashCopy and Compatible FlashCopy SE relationships or reserved volumes.
An LDEV number that ends with a pound or gate symbol (#) indicates that the LDEV is an external volume (e.g., 00:00:01 #). For details about the external volumes, see the HP P9000 External Storage for Open and Mainframe Systems User Guide. The upper area of the History window lists the operation history of BC Z pairs relationships, and the lower area of the window lists the operation history of Compatible FlashCopy and Compatible FlashCopy SE relationships.
Table 68 Compatible FlashCopy/Compatible FlashCopy SE status and history reference codes and messages Code Message Description 0010 COPY STARTED(FC) The Compatible FlashCopy background copy operation has started. NOTE: This message will be displayed when the relationship is established, not when the copy operation starts. This message is displayed when the relationship is established without specifying the CHGRECORD option of the FLASHCOPY ESTABLISH command of z/VM.
Table 68 Compatible FlashCopy/Compatible FlashCopy SE status and history reference codes and messages (continued) Code Message Description 0030 COPY STARTED AFTER MODE CHANGED(FC) The Compatible FlashCopy background copy operation started after the Compatible FlashCopy relationship changed to copy mode. 003A DELETED BY SM VOLATILIZING(FC) The Compatible FlashCopy relationship was withdrawn due to volatilization of the shared memory.
Option window You can set options for Compatible FlashCopy on the Option window. Item Description Select Option(s) • When you check the check box of the option name, that option will be enabled. If you clear the check box, that option will be disabled. The only options that are available for Compatible FlashCopy in this box are FC Z Slower Copy1 and FC Z Slower Copy2. Swap and Freeze and HOST I/O Performance are options for Business Copy Z.
The state-change-pending, in this case, means temporary suspension of the write operation from the host to the Compatible FlashCopy and Compatible FlashCopy SE S-VOL. The period during which the write operation is stopped is called state-change-pending time.
Glossary BC P9000 or XP Business Copy. An HP application that provides volume-level, point-in-time copies in the disk array. BC Z The version of Business Copy that supports mainframe volumes. CLPR Cache logical partition. Cnt Ac-J P9000 or XP Continuous Access Journal software. Cnt Ac-J Z The version of Continuous Access Journal that supports mainframe volumes. Cnt Ac-S P9000 or XP Continuous Access Synchronous software.
SIM Service information message. synchronous Describes computing models that perform tasks in chronological order without interruption. In synchronous replication, the source waits for data to be copied at the destination before acknowledging that it has been written at the source. T-VOL Target volume. VOL, vol Volume. volume Volume on disk. An accessible storage area on disk, either physical or virtual.
Index A N ANTRQST, 50 NOCOPY mode, 7 B O background copying, 7 on-demand copying, 8 C R consistency group, 10 contacting HP, 106 conventions document, 107 storage capacity values, 107 text symbols, 108 COPY mode, 7 reference code Compatible FlashCopy, 112 related documentation, 106 relationship, 6 Remote FlashCopy, 17 Reverse Restore, 12 Reverse Restore function, 12 D S dataset copying, 9 document conventions, 107 related information, 106 documentation HP website, 106 providing feedback, 106