Hitachi ShadowImage for z/OS user guide Part number:HIT9503-96007 Seventh edition: September 2007
Legal and notice information © Copyright 2005, 2007 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 About this guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Supported storage platforms and firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intended audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Reserve Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 To reserve one or more volumes for use as SI390 S-VOLs (set the reserve attribute): . . . . . . . . . . 56 Resetting the Reserve Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 To unreserve one or more volumes (reset the reserve attribute): . . . . . . . . . . . . . . . . . . . . . . . .
Functionalities of Compatible Mirroring for IBM FlashCopy Version2 . . . . . . . . . . . . . . . . . . . . . . . . 102 Establishing Multiple Relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Specifying COPY mode or NOCOPY mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Volume Copying and Dataset Copying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figures 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 6 ShadowImage for z/OS configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Adding a pair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Update Copy operation . . . . . . . . . . . . . . . . . . . . . .
59 60 61 62 63 64 65 Copying Data in Two Extents that Overlap (Two T-VOLs). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Copying One Extent to Another in the Same Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Referential Example for Calculating the Number of Pairs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Pair Configuration Where an S-VOL of FlashCopy Mirror Version 2 and SIz is Shared . . . . . . . . . . .
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 8 Currency of a shared SI390 and TC390 volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Currency of a shared SIz and URz volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Displayed information in progress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 FASTREPLICATION Parameter Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 PPRC TSO Commands Supported by FlashCopy Mirror Version 2 . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Parameters of PPRC TSO Commands Supported by FlashCopy Mirror Version 2 . . . . . . . . . . . . . . . . 133 Parameters of FCWITHDR Command and Applicable Combinations . . . . . . . . . . . . . . . . . . . . . . . .
About this guide This guide provides information about: • Preparing for ShadowImage Operations, page 38 • Performing ShadowImage Operations, page 55 • Using PPRC Commands for ShadowImage, page 76 • Using ShadowImage - FlashCopy, page 90 • Troubleshooting, page 100 • Using Compatible Mirroring for IBM FlashCopy Version2, page 101 Supported storage platforms and firmware In this guide, the term array refers to the following storage platforms: • HP StorageWorks XP12000 Disk Array • HP StorageWorks XP10000 Dis
Document conventions and symbols Table 1 Document conventions Convention Element Medium blue text: Figure 1 Cross-reference links and e-mail addresses Medium blue, underlined text (http://www.hp.
Subscription service HP recommends that you register your product at the Subscriber’s Choice for Business website: http://www.hp.com/go/e-updates. After registering, you will receive e-mail notification of product enhancements, new driver versions, firmware updates, and other product resources. 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.
1 ShadowImage for the XP1024/XP128/XP12000/XP10000/SVS 200 ShadowImage (SI390) is a storage-based hardware solution for internally duplicating logical volumes that reduces backup time and provides point-in-time backup. The SI390 source volumes (S-VOLs) contain the original data and the SI390 target volume(s) (T-VOLs) contain the duplicate data. The user can choose to make up to three copies of each S-VOL. Because each T-VOL is paired with its S-VOL independently.
XP1024/XP128/XP12000/XP10000/SVS 200. The SI390 S-VOLs are the source volumes that contain the original data. The SI390 T-VOLs are the target or secondary (mirrored) volumes that contain the backup data. Each T-VOL must be paired with only one S-VOL. During normal SI390 operations, the S-VOLs remain available to all hosts at all times for read and write I/O operations. The T-VOLs become available for host access only after a split operation has been performed.
• Flex Copy XP • Auto LUN XP IBM PPRC Host Software Functions SI390 supports the IBM PPRC host software functions, including TSO PPRC commands and ICKDSF PPRCOPY commands. SI390 pairs can be added, split, resynced, and deleted using TSO PPRC or ICKDSF PPRCOPY commands. ”Using PPRC Commands for ShadowImage” on page 76 describes and provides instructions for using PPRC commands to create and maintain SI390 volume pairs on the XP1024/XP128/XP12000/XP10000/SVS 200.
Table 2 ShadowImage for z/OS requirements (continued) Parameter Specification Cache maintenance If XP1024/XP128/XP12000/XP10000/SVS 200 cache maintenance is performed during a period of high I/O usage, one or more SI390 pairs may be suspended. Reduce the I/O load before cache maintenance. Failures When a failure of any kind prevents an SI390 copy operation from completing, the pair is suspended. If an LDEV failure occurs, the pair is suspended.
Table 3 The Number of the Control Cylinders According to the Emulation Types (continued) Emulation Type Number of the Control Cylinders 3390-9 25 3390-9A 25 3390-9B 25 3390-9C 25 3390-L 23 3390-LA 23 3390-LB 23 3390-LC 23 3390-M 53 3390-MA 53 3390-MB 53 3390-MC 53 NF80-F 22 NF80-K 7 NF80-KA 7 NF80-KB 7 NF80-KC 7 The maximum number of pairs that can be created is the largest number that meets the equation, Σ ( α ) ≤ ( β ), where: Σ ( α ) stands for the total of the num
volumes in one XP1024/XP128/XP12000/XP10000/SVS 200. Use the Set Reserve Attribute window (see ”Setting the Reserve Attribute” on page 55) to reserve volumes for use as T-VOLs. The SI390 reset reserve attribute operation unreserves a volume so that it can be varied online and accessed by hosts. After you reset the reserve attribute, the XP1024/XP128/XP12000/XP10000/SVS 200 will accept all subsequent read and write I/O operations to the volume.
NOTE: When adding pairs, you can select the pace for the initial copy operations: slower, medium, or faster. The slower pace minimizes the impact of SI390 operations on disk array I/O performance while the faster pace completes the initial copy operations as quickly as possible. Figure 2 Adding a pair Update Copy Operation The SI390 update copy operation updates the T-VOL of an SI390 pair after the initial copy operation is complete.
NOTE: Update copy operations do not occur every time a host issues a write I/O operation to the S-VOL of a zSeries and SI390 pair. Update copy operations are performed asynchronously according to the differential bitmap, which is stored in shared memory. If shared memory is lost (for example, offline micro exchange or volatile PS on), the differential bitmap is also lost.
Split Type When splitting pairs, you can also select the split type: Quick Split or Steady Split. • When you specify Quick Split (default): When the quick split operation starts, the pair status changes to V-split. You have full read/write access to the split T-VOL (even though it is still reserved). The whole S-VOL data or differential data at that time will be copied to the T-VOL in the background.
NOTE: Use the CSUSPEND and PPRCOPY SUSPEND commands to split SI390 volume pairs. For more information on using PPRC commands to perform SI390 operations on the XP1024/XP128/XP12000/XP10000/SVS 200, see ”Using PPRC Commands for ShadowImage” on page 76. Resynchronize Pair Operations (Normal, Quick, Reverse, Quick Restore) To change the status of pairs from Split to Duplex or from Suspend to Duplex, you must resynchronize the pairs.
CAUTION: Even if the copy operation is completed without any host I/O, the data in the S-VOL and the data in the T-VOL may not be the same. Whether the S-VOL and the T-VOL have the same data depends on the condition of the disk array. To make the S-VOL data and the T-VOL data equal, split the pair and make the pair status split. Backward Pairresync Operation Backward pairresync operation resynchronizes pairs by copying data on T-VOLs to S-VOLs.
If you do not want the S-VOL and T-VOL to be resynchronized after the quick restore operation, you must set the Swap&Freeze option before performing the quick restore operation (see ”Swap&Freeze Option” on page 29 and ”ShadowImage Options” on page 29). Table 5 Reverse and quick restore Pairresync requirements Parameter Requirement(s) Pair status. The specified pair must be in the split state. All other pairs that share the same S-VOL as the specified pair must also be in the split or suspended state.
NOTE: During reverse copy or quick restore operation, you cannot perform add, split, or resync pair for any other pair that shares the same S-VOL (delete pair and suspend pair are allowed). Pair Status and the Time Required for Pairresync The pairresync operation can be performed on a split pair or a suspended pair. This section describes the relationship between pair status and time required for pairresync operations. • Resync for split pair.
Reverse resync and quick restore cannot be performed on suspended pairs. While the resync operation for a split pair can be very fast, the resync operation for a suspended pair will take as long as the initial copy operation. The XP1024/XP128/XP12000/XP10000/SVS 200 will automatically suspend an SI390 pair when it cannot keep the pair mirrored for any reason. When the XP1024/XP128/XP12000/XP10000/SVS 200 suspends a pair, sense information is generated to notify the host.
ShadowImage Options By using the SI390 options, you can extend the standard SI390 operations such as the add pair and resync pair operations. The following table shows the options that are currently available. Table 6 Types of ShadowImage options Option Type Features Requirement Swap&Freeze Swap&Freeze option suppresses the update copy. For details, see ”Swap&Freeze Option” on page 29. You must change the subsystem setting to allow the quick restore operation.
The Quick Restore pairresync operation on a pair with split status exchanges data in the pair’s S-VOL and T-VOL. If you use the Swap&Freeze option when performing the Quick Restore pairresync operation, the update copy operation does not take place after the Quick Restore pairresync operation is complete. Therefore, data on the S-VOL and T-VOL is kept exchanged.
At-Time Split Function To use the At-Time Split function, you need Business Continuity Manager software. Business Continuity Manager software is to be executed from a host server. To perform the split operation by using the At-Time Split function, you must specify a copy group or register the split time in the copy group. The split time indicates the time when you want to store the S-VOL data to the T-VOL.
Figure 7 and Figure 8 show the outline of the At-Time Split function. Figure 7 At-Time Split function (specifying copy group) Figure 8 At-Time Split function (specifying the split time) The SI390 At-Time Split function can be used only by executing the PPRC TSO commands. CAUTION: When you execute the At-Time Split function, mind the following: • Change the status of pairs in the same consistency group according to the copy group.
2. Use the TSO ESTPAIR command to create a pair by specifying the ID of the consistency group you intend to use in this command. 3. Use the ATSPLIT command to specify the ID of the consistency group and the time to execute the Split operation. By executing the ATSPLIT command, the Split time you specified will be registered. 4.
XP1024/XP128/XP12000/XP10000/SVS 200. Figure 9 illustrates the pair status transitions and the relationship between the pair status and the SI390 operations. Figure 9 ShadowImage pair status transitions 1. If a volume is not assigned to a ShadowImage for z/OS (SIz) pair, its status is simplex. 2. Select the simplex volumes for S-VOL and T-VOL to create an SIz pair. When you create an SIz pair, the initial copy operation starts.
NOTE: When you specify reverse or quick restore mode for a pairresync operation, the pair status changes to resync-r (data is copied in the reverse direction from the T-VOL to the S-VOL). For more information about pairresync operation settings, see ”Resynchronizing ShadowImage Pairs” on page 62. When you delete a pair, the pair status changes to simplex. You cannot delete the pair with status V-Split. Table 7 shows the allowable operations for each pair status.
Table 8 ShadowImage for z/OS pair status (continued) Status Description Host Status S-VOL Access T-VOL Access SP-Pend The status becomes SP-Pend when the Steady Split mode is selected for the split operation. All S-VOL updates prior to the split command are being copied to the T-VOL. When these updates are complete, the split T-VOL is identical to the state of the S-VOL when the split started. The XP1024/XP128/XP12000/XP10000/SVS 200 rejects writes for SP-Pend T-VOLs. S-VOL = PPRI-PNDG Read/write.
Cautions on Switching Off the Power Supply If you need to switch off the power supply of the disk array during SI390 operations, make sure to: • Complete copying for the SI390 pair in the SP-pend status first to change the pair status from SP-pend to split, and then switch off the power supply. If the shared memory is volatilized when you switch on the power supply again, the pair in the SP-pend status changes to suspend. • Establish a timetable for SI390 copying operations.
Preparing for ShadowImage Operations System Requirements SI390 operations involve the XP1024/XP128/XP12000/XP10000/SVS 200 containing the S-VOLs and T-VOLs, the SI390 feature enabled on the Command View management station or XP Remote Web Console, and (optional) S/390 host PPRC software functions. The SI390 system requirements are: • XP1024/XP128/XP12000/XP10000/SVS 200. All XP1024/XP128/XP12000/XP10000/SVS 200 hardware, microcode, and software required for SI390 operations must be installed and enabled.
• Virtual LVI/LUN. Virtual LVI/LUN volumes can be assigned to SI390 pairs provided that the T-VOL has the same capacity as the S-VOL. If you need to perform Virtual LVI/LUN operations on an existing SI390 S-VOL or T-VOL, you must delete the pair first to return the volume to simplex status. • Cache LUN XP. Cache LUN XP volumes can be assigned to SI390 pairs, and Cache LUN XP operations can be performed on existing SI390 S-VOLs and T-VOLs.
Table 10 describes the host pair status reporting for SIz, URz volumes, and SIz/URz shared volumes; and SI390 volumes, Universal Replicator for z/OS volumes, and ShadowImage and Universal Replicator for z/OS shared volumes. Table 11 lists the currency of the data on shared SI390/URz volumes based on the SI390 and URz pair status.
The configuration shown in the following figure is an example of a volume that is functioning as both an SI390 S-VOL and a TC390 R-VOL. With this configuration, you can use SI390 to provide additional remote copies of TC390 M-VOLs. Figure 11 SI390 and TC390: shared S-VOL/R-VOL CAUTION: When you share an SIz S-VOL with a TCz R-VOL as shown in Figure 3.2, the write operation to the TCz M-VOL takes time.
NOTE: This configuration does not allow SI390 and TC390 to copy at the same time. Add the SI390 pair first, and then split the pair before creating the TC390 pair. You must suspend the TC390 pair to resync the SI390 pair. The TC390 pair status cannot be changed when the SI390 pair is in the V-Split status. You cannot distinguish the Split status from the V-Split status with the PPRC command.
Figure 15 SIz, TCz, and URz: Shared S-VOL / R-VOL / P-VOL Combining ShadowImage for z/OS (SIz) with Universal Replicator for z/OS (URz) URz volumes can be assigned to SIz pairs, and SIz volumes can be assigned to URz pairs. NOTE: A Universal Replicator for z/OS primary volume (P-VOL) means a primary data volume of Universal Replicator for z/OS. A Universal Replicator for z/OS secondary volume (S-VOL) means a secondary data volume of Universal Replicator for z/OS.
Table 12 lists the currency of the data on shared SIz/URz volumes based on the SIz and URz pair status.
The configuration shown in Figure 17 is an example of a volume that is functioning as both an SIz S-VOL and a URz S-VOL. This configuration allows you to use SIz to provide additional remote copies of URz S-VOLs. Figure 17 SIz and URz: Shared S-VOL/S-VOL The configuration shown in Figure 18 is an example of a volume that is functioning as both a URz P-VOL and an SIz S-VOL, while the S-VOL of the same URz pair is also functioning as the S-VOL of another SIz pair.
• Use URz to provide remote backup of ShadowImage for z/OS S-VOLs. Figure 18 SIz and URz: Shared S-VOL/P-VOL and S-VOL/S-VOL NOTE: Usually TCz and URz can share the volumes with SIz. However, in some cases, you cannot create SIz pairs using the volume shared with TCz and URz. The configuration shown in Figure 19 is an example of a volume which is functioning as both a ShadowImage for z/OS® T-VOL and a URz P-VOL.
Figure 20 SIz and URz: Shared T-VOL/P-VOL Note: Usually TCz and URz can share the volumes with SIz. However, in some cases, you cannot create SIz pairs using the volume shared with TCz and URz. For details of the examples about the combination of SIz, TCz, and URz, see Figure 14 and Figure 15. ShadowImage Main Window There are four tabs that you can access in ShadowImage: Main, History, Options, and CTG tabs.
• : T-VOL • : Reserved volume • : An error occurred during operations. This error icon is displayed in the Preset Volume List box on the ShadowImage main window. • Clicking the Display Filter button filters the volumes displayed in the Volume List box. • The Preset Volume List box, which is under the Volume List box, displays the specified operations (volume/pair information). These operations have not been performed in the XP1024/XP128/XP12000/XP10000/SVS 200.
The Volume List Box The Volume List box displays volume/pair information based on the filter options you select in the Tree View box. You can also filter the volumes by reserve attribute, by pair condition, and pair status by clicking Display Filter. Figure 21 Volume List box The Volume List box lists all installed volumes (LDEVs) on the selected CU image and displays the following information for each volume: • Source Vol: The CU:LDEV (control unit image:logical device ID) of the source volume (S-VOL).
• Relationship(s): The current state of the volume in terms of whether the FlashCopy Mirror Version 2 relationship is established or not. When no relationship is established, --- is displayed. When a relationship is established, the status of the volume is displayed as shown in Table 14. The parameter displayed in Relationship(s) changes according to whether the volume is an S-VOL or T-VOL, or the settings are normal or not.
NOTE: SI390 supports the CQUERY/PPRCOPY QUERY commands for viewing SI390 pair status. For more information on using PPRC commands, see ”Using PPRC Commands for ShadowImage” on page 76. Figure 22 Detail window The Detail window has the following features: The Detail box displays the following: • Source Vol Information: The source volume ID (CU image:LDEV ID), S-VOL status, and CLPR of the S-VOL. • Volume Information: The emulation type and the capacity of the logical device (LDEV).
ShadowImage main window. You can also open the Display Filter window by using the Display Filter command. Figure 23 Display Filter window The Display Filter window has the following features: • The CLPR drop-down list allows you to display the specified cache logical partition (CLPR). • The Volume Type box: • The Internal Vol check box allows you to display the internal volumes. • The External Vol check box allows you to display the external volumes. NOTE: Both check boxes are selected by default.
The Preset Volume List Box The Preset Volume List box is located below the Volume List box, and lists the specified zSeries and S/390 operations (volume/pair information) that have not been performed in the XP1024/XP128/XP12000/XP10000/SVS 200. NOTE: You can use the Preset Volume List box to hold multiple settings of the same operation (for example, Add Pair) only. You cannot display different types of operations (for example, Split Pair and Resync Pair) in the Preset Volume List box at the same time.
Information window, select FlashCopy Info displayed in the pop-up menu in the ShadowImage z/OS main panel. Figure 25 FlashCopy Information pane The FlashCopy information pane displays the following information: • Total relationship tables: The total number of relationship tables that can be used for FlashCopy Mirror Version 2 operations, including relationship tables being used by FlashCopy Mirror Version 2.
• FlashCopy V2 Relationships: Information about FlashCopy Mirror Version 2 relationships in the volume list. You can select information displayed in this volume list using the CU list and check boxes below. • CU list: Select the CU containing volumes you want to display in the volume list. • Check boxes: Select the type and status of volumes you want to display in the volume list. Table 16 shows the features of each check box.
NOTE: The reserve attribute is only required for SI390 operations on Command View XP or XP Remote Web Console. The PPRC commands require that the potential T-VOLs are offline to the host, but do not require that the T-VOLs have the reserve attribute setting. Figure 26 Set Reserve Attribute window The Set Reserve Attribute window displays the unreserved volume(s) that you selected on the ShadowImage main window. The OK button sets the reserve attribute for unreserved volume(s).
Resetting the Reserve Attribute Use the Reset Reserve Attribute window to reset the reserve attribute for (that is, unreserve) the volume(s) selected on the ShadowImage main window. To open the Reset Reserve Attribute window, select one or more reserved simplex volumes in the Volume List box on the ShadowImage main window, right-click to display the pop-up menu, and then click Change Reserve.
Adding ShadowImage Pairs CAUTION: The SI390 add pair operation overwrites all data on the T-VOLs. The user is responsible for backing up the data on the T-VOLs before adding SI390 pairs. In addition to displaying the S-VOL and T-VOL information for the pair(s) being added, you can use the Add Pair Dialog window to select the T-VOL(s) for each S-VOL, set the copy pace for all pairs being added, and start the Add Pair operation(s).
external volumes. Use the Reserve box to display the available T-VOLs by reserve attribute. CLPR indicates the cache logical partition of the T-VOL. The Set button adds the selected T-VOL to the selected S-VOL. The Change button replaces the T-VOL of the selected pair in the list with the selected T-VOL. To remove any volumes from the S-VOL or T-VOL list, select the volumes, right-click to display the pop-up menu, and then click Delete.
Splitting ShadowImage Pairs In addition to displaying volume and pair information for the volume(s) and/or pair(s) selected on the ShadowImage main window, you can use the Split Volume Pair window to split existing SI390 pairs. The Split Volume Pair window can also be used to simultaneously add and split new SI390 pairs (see ”Adding and Splitting Pairs” on page 61).
NOTE: Click Apply on the ShadowImage main window to split all pairs in the Preset Volume List box. The Cancel button closes the Pairsplit window without changing the settings. To split one or more existing SI390 pairs: 1. If you want the split T-VOLs to be identical to the S-VOLs, stop all write operations to the S-VOLs before splitting the pairs. This ensures that there are no updates to the S-VOLs while the split operations are synchronizing the T-VOLs to the S-VOLs.
CAUTION: The S-VOL and T-VOL are synchronized only when the pair status changes from SP-Pend or V-Split to Split. Due to the SI390 asynchronous update copy operations, this status transition can take several minutes. 2. From the ShadowImage main window, click the CU image or LDEV in the Tree View box to filter the volumes displayed in the Volume List box (for example, to display unreserved simplex volumes). 3.
NOTE: SI390 supports the CESTPAIR/PPRCOPY ESTPAIR commands for resynchronizing split or suspended SI390 pairs. For more information on using PPRC commands, see ”Using PPRC Commands for ShadowImage” on page 76. Figure 30 Resynchronize Volume Pair window The Resynchronize Volume Pair window lists the pair(s) selected on the ShadowImage main window and shows the pair status and copy pace for each pair. Use the Copy Pace box to select the copy pace for the pairs being resynchronized: Slower, Medium, or Faster.
CAUTION: restore). Make sure to select the correct resync direction (normal/quick, or reverse/quick During the quick restore operation, the RAID levels, HDD types, and Cache LUN XP settings are swapped. To avoid performance impact due to quick restore operations: a. Verify that the S-VOL and T-VOL have the same RAID level and HDD type before performing the quick restore operation.
NOTE: The CSUSPEND/PPRCOPY SUSPEND commands execute an SI390 split operation. There is no TSO/ICKDSF command equivalent for manually suspending pairs. For more information on using PPRC commands, see ”Using PPRC Commands for ShadowImage” on page 76. Figure 31 Suspend Volume Pair window The Suspend Volume Pair window lists the pair(s) selected on the ShadowImage main window and shows the pair status and copy pace for each pair. The OK button suspends the selected pair(s).
NOTE: SI390 supports the CDELPAIR/PPRCOPY DELPAIR commands for deleting SI390 pairs. For more information on using PPRC commands, see ”Using PPRC Commands for ShadowImage” on page 76. Figure 32 Delete Volume Pair window The Delete Volume Pair window lists the pair(s) selected on the ShadowImage main window and shows the pair status and copy pace for each pair. The OK button deletes the selected pair(s). The Cancel button closes the Delete Volume Pair window and returns you to the ShadowImage main window.
To display the History window, click the History tab. The past records of ShadowImage for z/OS and FlashCopy Mirror Version 2 relationship appear in different lists. Figure 33 History window The ShadowImage History box displays the following information: • SI390 pair activity listed by: date and time, S-VOL and T-VOL ID (CU:LDEV), SI390 code and message (see Table 17). The Time button sorts the list by date and time. The Source Vol and Target Vol buttons sort the list by S-VOL or T-VOL.
Table 17 ShadowImage status and history reference codes and messages Code Message Description 4710 - 471F DUPLEX START The SI390 initial copy operation started. 4720 - 472F DUPLEX END The SI390 initial copy operation ended and the pair status changed to Duplex. 4730 - 473F SPLIT START The SI390 split operation started and the pair status changed to SP-Pend or V-Split. 4740 - 474F SPLIT END The SI390 split operation ended and the pair status changed to Split.
Table 18 FlashCopy Mirror Version 2 status and history reference codes and messages (continued) Code Message Description 0012 2nd or LATER INCREMENTAL COPY STARTED Second or later incremental copy of the FlashCopy Mirror Version 2 relationship which is established by the Incremental FlashCopy function started. Note that this message will be displayed when the relationship is established, not when the copy operation starts.
Table 18 FlashCopy Mirror Version 2 status and history reference codes and messages (continued) Code Message Description 0030 COPY STARTED AFTER MODE CHANGED(FC) The FlashCopy Mirror Version 2 copy operation started after the FlashCopy Mirror Version 2 pair changed to COPY mode. NOTE: This message will be displayed when the mode is changed to COPY, not when the copy operation starts.
The Select Option(s) box displays the check boxes of the SI390 options. For more information about the supported options, refer to ”ShadowImage Options” on page 29. To set an SI390 option: 1. From ShadowImage, click the Options tab to display the Options window. When the Options window is opened, it shows the current status of the option. 2. Select the check box next to each option you want to set. If you do not want to set any of the options, clear all of the check boxes in the Select Option(s) box. 3.
• The Apply button performs the SI390 operations displayed in the CTG List box. If an error occurs during the operation, the consistency group or groups that the system failed to perform the intended operation will remain in the CTG List box and the error code for each failed operation will be displayed under the Code column. • The Cancel button cancels all the ongoing operations specified in the CTG List box.
To open the CT Group Status window, select a consistency group in the CTG List box, right-click, and then select the CTG Status command. Figure 37 CT Group Status window The CT Group Status window contains the following items: • Use the CTG list to select a consistency group and display information about it in the Pair list box. • The Pair List box displays the following registered pair-related information of the consistency group selected in the CTG list: • Source Vol: The source volume (S-VOL).
Resetting the Reserve Attribute of a Consistency Group Use the Delete CTG command to reset the reserve attribute of one or more consistency groups selected in the CTG List box. To reset the reserve attribute of one or more consistency groups: 1. From the CTG window, click the consistency group or its status displayed in the Tree View box. Confirm that the information of the consistency group that you have just selected is displayed in the CTG List box. 2.
• Preset displays the number of CUs where the changes of the state-change-pending delay time are not applied to the disk subsystem yet. • Pop-up menu • To change the state-change-pending delay time, select the desired command from the pop-up menu. The pop-up menu will be displayed by right-clicking a CU displayed in CU. • SCP Delay Time Setting: Displays the SCP Delay Time Setting panel (see Figure 39).
• SCP Delay Time(sec.) text box specifies the state-change-pending delay time in seconds (0 to 600 seconds). The text box displays the state-change-pending delay time of that is set to the CU selected in the FlashCopy(R) Mirror V2 Operations panel by default. If multiple CUs are selected and the state-change-pending time that is set to each CU is different, the text box will be blank by default.
Table 20 PPRC commands (continued) SI390 Command View XP or XP Remote Web Console Operation TSO Command ICKDSF Command Function Restrictions Quick Restore Pair CESTPAIR PPRCOPY ESTPAIR Resynchronizes a pair, starts quick restore. The specified volume must be split. Delete Pair CDELPAIR PPRCOPY DELPAIR Deletes a pair, changes status to simplex. The specified volume must be other than simplex. Suspend Pair Not available1 Not available1 Stops update copy operations.
Table 21 TSO command parameters (continued) Command Parameter Description (3) For a Quick Restore request, the parameter is MRQ00. This request is valid for MODE(RESYNC) only. The parameter locations and descriptions are as follows: Byte 0-6: Fixed value (xF0*7) Byte 7: Indication of MRCF. ‘M’ = MRCF Å Distinguishes SI390 from TC390. Byte 8: Subcode-1. ‘R’ = Resync Å Distinguishes resync from add. Byte 9: Subcode-2. ‘Q’ = Quick Mode Å Requests quick restore.
Table 21 TSO command parameters (continued) Command Parameter Description ONLINSEC YES = Does not check path group. NO = Checks path group. CU number or this parameter is valid only for the DKC emulation type 2105. For MODE (COPY), the path group for the T-VOL is checked. For Quick Restore or Reverse Resync request is made in MODE (RESYNC), the path group for both the primary volume (S-VOL) and target volume (T-VOL) is checked. CSUSPEND DEVN Device number.
Table 22 ICKDSF command parameters Command Parameter Description ESTPAIR DDNAME | SYSNAME | UNITADDRESS DDNAME = dname = JCL statement identifying the volume. PRI Primary volume (S-VOL): SSID, serial number, channel connection address. SYSNAME = sysxxx = SYSNAME in the ASSGN system control statement. UNITADDRESS = ccuu = device number. You can set an additional parameter corresponding to each request instead of a serial number.
Table 22 ICKDSF command parameters (continued) Command Parameter Description MODE COPY = Initial full-volume copy. NOCOPY = Same as COPY. RESYNC = Re-established a split or suspended volume pair. PACE For DKC emulation type 2105 or 2107: Always medium. For others: 1 (slow), other than 1 (medium). ESTPAIR CRIT Not applicable. MSGREQ YES = Applicable. NO = Not applicable. SUSPEND LSS Primary volume CU number, secondary volume CU number (only for the DKC emulation type 2105).
Table 22 ICKDSF command parameters (continued) Command Parameter Description PATHS Not applicable. RECOVER PPRCOPY RECOVER is not used for SI390. PPRC Restrictions Table 23 lists and describes the restrictions for using PPRC commands with SI390 volumes. Table 24 lists the conditions for accepting TSO/ICKDSF commands. Table 23 Restrictions for PPRC commands Command/Parameter Restriction Error Report ESTPAIR Command SUSPEND Command Do not issue ESTPAIR or SUSPEND command to a PENDING device.
PPRC Commands with ShadowImage and TrueCopy Both SI390 and TC390 support PPRC commands. The user must ensure that commands are being executed by the correct program against the correct volumes. A PPRC command issued to the XP1024/XP128/XP12000/XP10000/SVS 200 will be executed by SI390 against SI390 pairs if all of the following conditions are met. If any of these conditions is not met, the PPRC command will be executed by TC390 against TC390 pairs. 1.
PSF and DEVSERV results for ShadowImage volumes (continued) Table 26 Pair Status PSF Read Subsystem Data DEVSERV Sense Subsystem Status S-VOL T-VOL S-VOL T-VOL SP-Pend PPRI-PNDG PSEC-PNDG PPRI-PNDG PSEC-PNDG V-Split PPRI-SUSP PSEC-SUSP PPRI-SUSP SIMPLEX Split PPRI-SUSP PSEC-SUSP PPRI-SUSP SIMPLEX Suspend PPRI-SUSP PSEC-SUSP PPRI-SUSP PSEC-SUSP Resync PPRI-PNDG PSEC-PNDG PPRI-PNDG PSEC-PNDG NOTE: PPRIMARY and PSECONDRY indicate that the volume is in the DUPLEX state.
• If the XP1024/XP128/XP12000/XP10000/SVS 200 contains both SI390 and TC390 pairs, the CQUERY and PPRCOPY QUERY commands will report the TC390 pair status. NOTE: To obtain the HRMCF pair status, issue the status command to the SI390 T-VOL or use the SI390 remote console software to view the SI390 pair status. • If an S-VOL has multiple T-VOLs, the status command will report pair status for the pair whose T-VOL has the lowest LDEV ID.
NOTE: Status display is the same as the CQUERY TSO command. Example: DEVSERV Command 97244 97244 13:04:37.39 13:04:38.57 DS P,DE80,1 IEE459I 13.04.37 DEVSERV PATHS 692 692 UNIT DTYPE M CNT VOLSER CHPID=PATH STATUS 692 RTYPE SSID CFW TC DFW PIN DC-STATE CCA DCA 692 DE80,33903 ,0,000,DKDE80,54=+ 1C=+ D4=+ 9C=+ 692 0080 Y YY. YY.
Example: PPRCOPY SUSPEND Command //EPAIR JOB // EXEC PGM=ICKDSF //SYSPRINT DD SYSOUT=* //DD1 DD UNIT=SYSDA,DISP=SHR,VOL=SER=DKDE80 //SYSIN DD * PPRCOPY SUSPEND DDNAME(DD1) PRI(X’0080’,30158,X’00’) SEC(X’0080’,30158,X’01’) /* // CSUSPEND QUIESCE Parameter CAUTION: The CSUSPEND QUIESCE option has been disabled by APAR OW15247 or APAR OW15248. For detailed information on the QUIESCE option, refer to either of these APARs.
NOTE: If an SI390 pair is suspended because of an internal disk array error condition, the QUIESCE option is applied. In this case, release the QUIESCE condition by deleting the pair. SI390 and TC390 are processed independently. The CSUSPEND/QUIESCE command is effective for either the SI390 or TC390 pair specified in the command.
Setting and Resetting the At-Time Split Time: ATSPLIT Use the ATSPLIT command to set or reset the time to perform the At-Time Split operation. Parameters of ATSPLIT command Table 30 Parameter Description DEVN Use this parameter to specify the four-digit device address. When a four-digit device address is specified, an ATSPLIT command will be issued to the specified device. The specified device must be an arbitrary S-VOL belonging to the consistency group that you intend to split.
Displaying the Status of the Consistency Group: ATQUERY The ATQUERY command is used to display the status of the consistency group.
T-VOL where the T-VOL (the virtual or physical copy of the S-VOL) is available for both read and write operations. When you establish a relationship for an ShadowImage - FlashCopy pair, you can specify a range of data to be copied, which is called the “extent.” When the extent data copy is complete, the relationship ends automatically. You can establish an ShadowImage - FlashCopy pair not only for SI390 simplex volumes, but also for SI390 S-VOL or T-VOL in the split or duplex status.
Table 33 describes ShadowImage - FlashCopy pair status condition. Table 33 ShadowImage - FlashCopy pair status condition Status Description Host Status S-VOL Access T-VOL Access F-Copy ShadowImage - FlashCopy is requested with host commands. The S-VOL differential data is copied to the T-VOL in the background. When the NOCOPY option is specified, no background copy is performed. S-VOL = SIMPLEX Read/write. Read/write, can be varied online.
The following figure shows an example of combining ShadowImage - FlashCopy and SI390 pairs in the L1 and L2 pairs. Figure 41 Possible combination of ShadowImage - FlashCopy and Slz and SI390 pairs The following table shows the relationship between the L1 pair status and the availability of SI390 or ShadowImage - FlashCopy pair operations on the associated L2 pairs. Table 36 shows the relationship between the L2 pair status and the availability of pair operations on the associated L1 pairs.
NOTE: You cannot create a pair that has a T-VOL shared with the S-VOL of an L1 pair. Combining ShadowImage - FlashCopy With Other Copy Solutions You can combine an ShadowImage - FlashCopy pair with a TC390 or XRC pair (see Table 37 and Table 38).
NOTE: For IBM FlashCopy and PPRC, you can create a PPRC pair that includes a volume functioning as both a FlashCopy T-VOL and a PPRC primary volume, and a PPRC pair that includes a volume functioning as both a FlashCopy T-VOL and a PPRC secondary volume.
NOTE: For IBM FlashCopy and PPRC, you can create a PPRC pair that includes a volume that functions as both a FlashCopy T-VOL and a PPRC P-VOL (primary volume), and PPRC pair that includes a volume that functions as both a FlashCopy T-VOL and a PPRC S-VOL (secondary volume). Using ShadowImage - FlashCopy Host Commands ShadowImage - FlashCopy supports both DFSMSdss commands and TSO PPRC commands to perform ShadowImage - FlashCopy operations from the zSeries and S/390 host system.
The following conditions cause the XP128/1024 to output the ADR935W message and end with CC = 4 (SI390 copy is performed through the host): • The size of the T-VOL is larger than the source volume within the same CU image. • The emulation types of the S-VOLs and T-VOLs are different within the same CU image. NOTE: When the SSID boundary is 64-LDEV and you establish a relationship between two volumes that have the same CU image but different SSIDs, you can copy data from S-VOL to T-VOL by the host program.
Table 41 PPRC TSO command parameters Command Parameter Description FCESTABL SDEVN Source device number. TDEVN Target device number. MODE COPY = Data is copied in the background. Normally, the relationship ends automatically after all of the data has been copied. NOCOPY = Data is not copied in the background. It is necessary to issue FCWITHDR command to delete the relationship specified with NOCOPY option.
If the dataset(s) uses the following items, you must also specify those items by the EXTENTS parameter. • INDEX VTOC. • VSAM volume dataset of the VSAM file (SYS1.VVDS.Vxxxxxx,xxxxxx is VOLSER). 4. Change the VOLSER of the T-VOL. You must change the VOLSER of the T-VOL before varying the T-VOL online because the VOLSERs of the S-VOL and T-VOL become identical as a result of copying VTOC. 5. Vary the T-VOL online.
• The T-VOL of the ShadowImage - FlashCopy pair is blocked. Troubleshooting General ShadowImage Troubleshooting If an SI390 error code or message is displayed on the Command View management station or XP Remote Web Console, refer to ”ShadowImage Error Window” on page 100 for a description of the SI390 error codes and recommended corrective action. NOTE: Make sure to copy the SVP configuration information onto floppy disks) using the FD Dump Tool and give the floppy disk(s) to HP service personnel.
in the Preset Volume List box on the ShadowImage main window, right-click to display the pop-up menu, and then click Detail. Using Compatible Mirroring for IBM FlashCopy Version2 To enable Compatible Mirroring for IBM FlashCopy Version2 (shortened to FlashCopy Mirror Version 2 where applicable hereafter) to function on the local disk array, the ShadowImage for z/O feature and software and the FlashCopy Mirror Version 2 feature and software must be installed and enabled on the local disk array.
The extent that is already set as the copy target cannot be used as a copy source extent to create a new FlashCopy Mirror Version 2 pair. In other words, you cannot create a cascaded FlashCopy Mirror Version 2 pairs. See Figure 47 for the example. Figure 47 Example of the Case FlashCopy Mirror Version 2 Pair Cannot be Created Table 44 shows the requirements for using FlashCopy Mirror Version 2.
• Volume copying (See ”Volume Copying and Dataset Copying” on page 104) • Dataset copying (See ”Volume Copying and Dataset Copying” on page 104) • Relationship expansion (See ”Relationship Expansion” on page 106) • Consistency Group (See ”Copying Data by Using Consistency Group” on page 106) • Incremental FlashCopy (See ”Incremental FlashCopy Function” on page 107) • Reverse Restore (See ”Reverse Restore Function” on page 108) Establishing Multiple Relationships Creating the multiple pairs from one extent
Mirror Version 2 first copies the old data in the S-VOL to the T-VOL. This process is called “on-demand copying”. The figure below illustrates the process of the on-demand copying. Figure 49 On-demand Copying 1. From the host, there is a write request to the space in the S-VOL from where the data is not yet copied, or there is a Read or Write request to the space in the T-VOL to where the data is not yet copied. 2.
To perform volume copying, the capacity of the copy source extent must be equal to or larger than the capacity of the copy target extent. To perform dataset copying, the number of tracks of the copy source extent and the copy target extent must be the same. Dataset copying allows you to establish up to 16 relationships to the copy source extent. • FlashCopy Mirror Version 2 can perform dataset copying when: • The position of the copy source extent is different from the position of the copy target extent.
Table 46 Compatibility between FlashCopy Mirror Version 2 and User Interface Functions (continued) Function User Interface TSO DFSMSdss ICKDSF NO ANTRQST Macro Incremental FlashCopy Multi relationship NO NO OK Incremental FlashCopy NOCOPY mode NO NO OK OK COPY mode OK OK OK OK Relationship Expansion CAUTION: In order to enable or disable the relationship expansion function, you must delete all FlashCopy Mirror Version 2 relationships and Copy-on-Write Snapshot pairs beforehand.
Figure 52 Ex. Consist. Group w/FlashCopy(R) Mirror Ver. 2: Copying Mult. Data Stored over Mult. Vols. Figure 51 illustrates the example of copying the data stored over the volumes #1-#3 to the volumes #4-#6. You need to create pairs of volume #1 and #4, #2 and #5, and #3 and #6, then copy the data. However, if the volume #1 is updated before the creation of the Pair B (pair of #2 and #5) completes, the consistency of the data in the copy target cannot be maintained.
the relationship of FlashCopy Mirror Version 2 to the executing of the update copy operation by the Incremental FlashCopy function. Figure 53 Incremental FlashCopy When you issue a command to establish relationship, all the data of the S VOL will be copied to the T VOL. If you specify a parameter for Incremental FlashCopy, the relationship will not be deleted even if the copy operation from the S VOL to the T VOL is completed.
When performing a Reverse Restore, only the updated data will be copied from newly specified the S-VOL to the T-VOL the same as the case of normal re-establishment. The following figure shows the workflow from the establishing of the relationship of FlashCopy Mirror Version 2 to the executing of the update copy operation (Reverse Restore) by the Incremental FlashCopy function.
the position of the extent) of the volumes and extents used for establishing the pairs. Furthermore, the total number of available resources also varies according to the number of CUs. You can use the FlashCopy Information pane (see Figure 25) to check the number of remaining resources that are currently available. Check the FlashCopy Information pane when you create a FlashCopy Mirror Version 2 pair. NOTE: The following software programs share the resources used for copy operation.
Round up the number to the nearest whole number. For example, in case of a volume for which the emulation type is 3390-3 and the number of cylinders of the divided volume is 3,390 (x in the preceding expression), the calculation of the total number of the differential table is as follows: (3,390 + 6) x 15 ÷ (1,916 x 32) = 0.81836 When you round up 0.81836 to the nearest whole number, it becomes 1. Therefore, the total number of the differential table for one pair is 1 when emulation type is 3390-3.
To create pairs between extents, the same number of resources listed under the column “Number of resources used per pair” (see Table 47) is necessary, provided that no extents in the same volume overlap. If the extents used for establishing the pairs overlap, the number of resources required to establish the relations is the number of resources listed under the column “Number of resources used per pair” multiplied by the number of extents that overlap.
Figure 59 Copying Data in Two Extents that Overlap (Two T-VOLs) Figure 60 Copying One Extent to Another in the Same Volume Table 48 provides the calculation examples of the required resources according to the patterns of copying.
Table 48 Referential Examples for Calculating the Number of Resources Required for FlashCopy Mirror Pairs Copy Patterns Required number of resources 3380-3, 3390-1, 3390-2, 3390-3,3390-3R Copying Data in Two Extents that Overlap (Two T-VOLs) 3390-9 3390-L 3390-M S-VOL T-VOL Total S-VOL T-VOL Total S-VOL T-VOL Total S-VOL T-VOL Total 2 (1 x 2) 1 (1 + 1) 4 6 (2 x 3) 6 (3 + 3) 12 18 (9 x 2) 18 (9 + 9) 36 34 (17 x 2) 34 (17 + 17) 68 21 N/A 2 61 N/A 6 181 N/A 18 341 N/A
The following figure shows the example of when 7 pairs are created with 3390-3 volumes, and 3 pairs are created with 3390-L volumes (32,769 CYL). Figure 61 Referential Example for Calculating the Number of Pairs According to Figure 61, the total number of resources used per pair is calculated as: Resources used for A - H = (3 + 1) + 1 + 1 + 1 + 1 + 1 + (9 x 3) + 9 + 9 = 54.
2. Withdraw all the relationships to delete FlashCopy Mirror pairs. Use Command View XP, XP Remote Web Console, or host command to select and delete all the settings that use FlashCopy Mirror. 3. Check that all the FlashCopy Mirror pairs are deleted. You can use Command View XP, XP Remote Web Console, or FCQUERY command to check if all the FlashCopy Mirror pairs are deleted. For details about FCQUERY command, see ”Displaying Information on FlashCopy Mirror Version 2 Pairs: FCQUERY” on page 147. 4.
6. Set the devices that were set offline back again to online. The host recognizes that the FlashCopy Mirror Version 2 was uninstalled. 7. Execute the devserv command with the VALIDATE option of QDASD to the devices in the subsystem. 8. Perform the mainframe host path offline/online operation from your host. NOTE: • You need to perform offline/online operation once to one device used for FlashCopy Mirror Version 2 in each CU.
The table below is shows the operations that can be performed on the FlashCopy Mirror Version 2 pairs.
• The case the T-VOL of the FlashCopy Mirror Version 2 pair and the T-VOL of the Siz pair is shared. Figure 63 Cases When FlashCopy Mirror Version 2 and SIz Cannot be Used in Conjunction When you use FlashCopy Mirror Version 2, you cannot create pairs sharing the volumes shown in Figure 63.
Figure 64 FlashCopy® Mirror Version 2 and TCz: Non-sharable combination NOTE: For IBM FlashCopy and PPRC, you can create a PPRC pair that includes a volume that functions as both a FlashCopy T-VOL and a PPRC primary volume, and a PPRC pair that includes a volume that functions as both a FlashCopy T-VOL and a PPRC T-VOL. When you share FlashCopy® Mirror Version 2 S-VOL and the volume of TCzA pair, you need to: • Set the local mode (Mode 20 and Mode 190) to ON at RCU.
Table 53 Volume Share of FlashCopy® Mirror Version 2 S-VOL and TCz Shared TCz Pair Volume TCzA Status of TCz Pair Duplex Pending Duplex Suspend M-Vol OK OK3 OK R-Vol No1 No1 OK 1 You cannot create the FlashCopy® Mirror Version 2 pair since the data consistency of the FlashCopy® Mirror Version 2 T-VOL will not be insured.
NOTE: The above mentioned system configuration differs from the system configuration that is used when IBM FlashCopy Version 2 and PPRC are used in conjunction. The following table shows performing the Reverse Restore when you share the FlashCopy® Mirror Version 2 S-VOL and the volume of a TCz pair.
Table 56 Whether Reverse Restore Can be Performed When FlashCopy® Mirror Version 2 T-VOL is Used as TCz Volume Shared TrueCopy for z/OS Pair Volume Status of TrueCopy for z/OS Pair Duplex Pending duplex Suspend TrueCopy for z/OS Synchronous M-VOL N/A N/A OK TrueCopy for z/OS Asynchronous M-VOL N/A N/A OK NOTE: This configuration differs from the system configuration that is used when IBM FlashCopy Version 2 and PPRC are used in conjunction.
3. Confirm the copying process of FlashCopy® Mirror Version 2 is normally completed. 4. Resynchronize the TrueCopy for z/OS pair. In case FlashCopy® Mirror Version 2 T-VOL and TrueCopy for z/OS M-VOL are shared: 1. Suspend the TrueCopy for z/OS pair. See the following example: CSUSPEND DEVN(X dev#') PTIM(X ssid' cca X lss) cmd_param X cca X lss) sec(X ssid' serial# X 2. Use DFSMS to create a FlashCopy® Mirror Version 2 pair. See the following example: COPY DS(INCL(****.
7.4.1.3Combining Compatible Mirroring for IBM® FlashCopy® Version 2 With Universal Replicator for z/OS® The following table shows combination of the volumes when you use FlashCopy® Mirror Version 2 with URz.
Combining Compatible Mirroring for IBM® FlashCopy® Version 2 With CC The following table shows combination of the volumes when you use FlashCopy® Mirror Version 2 with CC. Table 60 Whether FlashCopy® Mirror Version 2 Volume Can Be Used as CC Volume FlashCopy Mirror Version 2 CC P-VOL S-VOL S-VOL OK OK T-VOL NO NO* *Do not share FlashCopy® Mirror Version 2 T-VOL with CC S-VOL.
NOTE: If an external volume is specified as a FlashCopy Version 2 T-VOL, be careful about the setting of the time of path blockade watch, which is the time from when the external disk array is disconnected to when the path is blocked.
NOTE: FlashCopy Mirror Version 2 supports VSAM datasets. However, when the user specifies attributes for the copy source extents that differ from those specified for the copy target extents, DFSMSdss invokes a different program (such as IDCAMS), and, as a result, FlashCopy Mirror Version 2 may not be able to use VSAM datasets. For further information, please refer to the IBM user document mentioned above.
Creating FlashCopy Mirror Version 2 Pairs by Dataset Copying The DFSMSdss command used to process FlashCopy Mirror Version 2 dataset copy operation is COPY DS. When the COPY DS command is issued, DFSMSdss checks whether the selected volumes meet the requirements for use as FlashCopy Mirror Version 2 volumes or not, and automatically determines whether to process the requested job via the host or not.
See Table 64 for the explanation of the available parameters of this command. When FASTREPLICATION is not specified, the copy operation will be performed in the same way when PREFERRED is specified. Table 64 FASTREPLICATION Parameter Values Parameter values Description PREFERRED Executes FlashCopy Mirror Version 2 copy operation as a priority. When FlashCopy Mirror Version 2 is not used, executes concurrent copy or copy operation via the host.
//SYSPRINT DD SYSOUT=* //VOL1 DD UNIT=3390,VOL=SER=FCV200,DISP=OLD //VOL2 DD UNIT=3390,VOL=SER=FCV201,DISP=OLD //SYSIN DD * COPY FULL INDDNAME(VOL1) OUTDDNAME(VOL2) FCINCREMENTAL Figure 71 Example of COPY FULL command (FCINCREMENTAL) • FCINCREMENTALLAST To delete the relationship after completing the copy operation of the differential data, use FCINCREMENTALLAST.
• DEBUG This option is for outputting error information in case an error occurs during the copy operation. Therefore, by specifying this option, you will be able to receive information describing the error and its cause(s) in case FlashCopy Mirror Version 2 copy operation fails. You can also specify the amount of error information you want to receive. • FCTOPPRCPRIMARY To use the Incremental FlashCopy to PPRC Primary Volume function, use FCTOPPRCPRIMARY.
The table below lists and describes the parameters of PPRC TSO commands supported by FlashCopy Mirror Version 2. Table 66 Parameters of PPRC TSO Commands Supported by FlashCopy Mirror Version 2 Command Parameter Description FCESTABL SDEVN Source device number. Specify the number (device address) of the S-VOL on which you want to perform FCESTABL command. (This parameter is essential.) TDEVN Target device number.
Table 66 Parameters of PPRC TSO Commands Supported by FlashCopy Mirror Version 2 (continued) Command Parameter Description INCREMENTAL YES - Establish a relationship including all the tracks in the volume. If you specify YES for this parameter and COPY for the MODE parameter, the relationship will be maintained even after the background copying process is completed, and the differential data between the S-VOL and the T-VOL will be managed.
Table 66 Parameters of PPRC TSO Commands Supported by FlashCopy Mirror Version 2 (continued) Command Parameter Description TGTUCB YES - Specifies the device number (device address) of the T-VOL on which you want to perform the FCESTABL command. To specify this number, use the TDEVN parameter. YES is the default setting. NO - Specifies the DKC device number (LDEV number) of the T-VOL on which you want to perform the FCESTABL command. To specify this number, use the TARGET parameter instead of TDEVN.
extent(s) specified by the XTNTLTS parameter. For example, when you copy only the “dataset 2", the copy operation processes as shown in Figure 73. Figure 73 Copying a Dataset by Using TSO (FCESTABL) Command with XTNTLTS Parameter Specified Procedure for Volume Copying To perform volume copying by using the TSO command (FCESTABL): 1. Set the T-VOL to offline, or set the ONLINTGT parameter of the FCESTABL command to YES before proceeding to the next step. 2.
6. If the T-VOL is set to offline in step 4, set this volume back to online. This step is not necessary if the ONLINTGT parameter of the FCESTABL command is set to YES. NOTE: FCESTABL command can only be executed once per FlashCopy Mirror Version 2 pair. In other words, you cannot execute this command repeatedly for the same FlashCopy Mirror Version 2 pair. Figure 74 shows an example of how FCESTABL command is used.
Table 67 describes the parameters of FCWITHDR command and the applicable combinations. Table 67 Case No. Parameters of FCWITHDR Command and Applicable Combinations SDEVN TDEVN DEVN DDSW XTNTLST Source Target ACTION Process 1 Not specified Specified Not specified NO Not specified Not specified Not specified All the relationships established with the copy target extents existing in the device specified by TDEVN are withdrawn.
Table 67 Case No. 5 Parameters of FCWITHDR Command and Applicable Combinations (continued) SDEVN Specified TDEVN Specified or not specified DEVN Not specified DDSW YES XTNTLST Source Target Not specified Not specified ACTION Process Not specified All the relationships established with the extents in the source or target device specified by SDEVN are withdrawn.
Table 67 Parameters of FCWITHDR Command and Applicable Combinations (continued) Case No. SDEVN TDEVN DEVN DDSW XTNTLST Source Target ACTION Process 6 Specified Specified or not specified Not specified YES Specified Specified Not specified Among the relationships established with the device specified by SDEVN, all the relationships that partly or entirely include the copy target extents specified by the XTNTLST parameter are withdrawn.
relationships before executing the command above, and after executing the command, there is only one relationship. Figure 78 Example of FCWITHDR Command (TDEVN: specified, DDSW = NO) • Case 2: FCWITHDR command (TDEVN: specified, DDSW = NO, XTNTLST parameter specified) Below is an example of the command description for Case 2. 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.
Below is another example of the 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.
there are three relationships before executing the command above, and after executing the command, there are only two relationships. Figure 84 Example of FCWITHDR Command (TDEVN: specified, DDSW = NO) • Case 4: FCWITHDR command (SDEVN and TDEVN: specified, DDSW = NO, XTNTLST parameter specified) Below is an example of the command description for Case 4.
Below is another example 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.
same content represented by a different description, both requesting the withdrawal of all the relationships established with the device numbered 4202. FCWITHDR SDEVN(X'4202') DDSW(YES) FCWITHDR SDEVN(X'4202') TDEVN(X'4203') DDSW(YES) Figure 90 Example of FCWITHDR Command Description (for Case 5) By executing the command described above, the relations established with Dataset 1 and Dataset 2 in the device numbered 4202 are withdrawn.
There are three relationships before executing the command above, and after executing the command, there is only one relationship. Figure 93 Ex. of FCWITHDR Comm. (SDEVN and TDEVN: specified., DDSW = YES, XTNTLST param. specified) NOTE: When the FCWITHDR command is executed with DDSW parameter set to YES and XTNTLST parameter specified, only the XTNTLST parameter values specified for the copy source extent are put into effect.
FCWITHDR DEVN(X'4202') ACTION(THAW) Figure 94 Example of FCWITHDR Command Description (for Case 7) Since no relationship is withdrawn by performing the abovementioned command, there will be no change in the number of relationships after using the command. Note that even if you do not issue this command, the write operation to volumes may be resumed automatically if the state-change-pending delay time elapses. For information about the state-change-pending delay time, see ”The Detail Window” on page 50.
Table 68 Information Displayed by FCQUERY Command (continued) Displayed item Displayed content CCA Device number CU DKC emulation type SERIAL Serial number ACT Number of active FlashCopy Mirror Version 2 pairs. See Figure 97. MAX Maximum number of pairs that can be created with the device specified by DEVN. XC S Volume specified by DEVN is currently used as an S-VOL of the XRC pair, an At-Time Split volume for SIz, or an asynchronous M-VOL of the TCz pair.
Table 69 ICKDSF Commands ICKDSF Command Function FLASHCPY ESTABLISH Establishes the relationship and creates FlashCopy Mirror Version 2 pairs. FLASHCPY WITHDRAW Deletes the relationship and deletes FlashCopy Mirror Version 2 pairs. FLASHCPY QUERY Displays information such as the maximum number of the relationships and the number of the relationships of the specified volumes.
Table 70 on page 150 lists and describes the ICKDSF command parameters supported by FlashCopy Mirror Version 2. Table 70 ICKDSF Command Parameters Command Parameter Paramet er Description FLASHCPY ESTABLISH DDNAME or DNAME JCL stateme nt 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 SYSNA ME Sets the SYSNAME in the ASSGN system control statement.
FLASHCPY ESTABLISH RESTORE - If the S-VOL or the T-VOL of the relationship established by specifying YES for CHANGERECORDING is updated, only the updated part will be copied. And if you specify YES for CHANGERECORDING and you reverse the S-VOL or the T-VOL, Reverse Restore will be executed and only the updated part will be copied in this case, too. The relationship will be maintained after the copying operation is completed if you specify YES for INCREMENTAL.
FLASHCPY WITHDRAW DDNAME or DNAME JCL stateme nt 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 SYSNA ME Sets the SYSNAME in the ASSGN system control statement. If the OS of the host server is VSE, this parameter is required. UNITADDRESS, UNITADDR, or UNIT Source device number Specifies the device number (device address) of the S-VOL on which you want to perform the FLASHCPY WITHDRAW command.
FLASHCPY QUERY RELATIONS SYSNAME SYSNA ME Sets the SYSNAME in the ASSGN system control statement. If the OS of the host server is VSE, this parameter is required. UNITADDRESS, UNITADDR, or UNIT Source device number Specifies the device number (device address) of the S-VOL on which you want to perform FLASHCPY QUERY command. If the OS of the host server is MVS, this parameter or the DDNAME parameter is required. DDNAME or DNAME JCL stateme nt Sets the JCL statement identifying the volume.
5. See Table 70 on page 150 and specify any other necessary parameters. 6. Execute the FLASHCPY ESTABLISH command.
5. Execute the FLASHCPY ESTABLISH command, specifying the RESTORE parameter and reversing the S-VOL and the T-VOL. FLASHCPY ESTABLISH UNIT(X'7001') TARGETVOL(X'00',X'00',7000) RESTORE If the S VOL before performing Reverse Restore is updated, only the data of the updated part of the S VOL (differential data) before performing Reverse Restore will be copied to the T VOL.
Parameter S-VOL Background copying T-VOL or some other volume ALL YES Maintained when CHANGERECORDING = YES Released when CHANGERECORDING = NO T-VOL TSVOL or some other volume ALL NO Released NOTE: The background copying process is executed on the relationship whose copy source exists in the volume specified as DDNAME, SYSNAME or UNITADDRESS. In addition, the relationship whose copy source exists in the volume specified as DDNAME, SYSNAME or UNITADDRESS is to be released.
Table 73 Information Displayed By the FLASHCPY QUERY Command Displayed item Displayed content Meaning EXISTING RELATIONS Number of relationships Displays the number of relationships in the specified volumes. MAXIMUM ALLOWED RELATIONS Number of relationships Displays the maximum number of relationships that can be created in the specified volumes.
NOTE: Table 102 on page 156 displays the description of "ASY PVOL" in the "CAPABILITY LEGEND", but TagmaStore USP does not support the program product corresponding to this item. Therefore, even if the FLASHCPY QUERY command is executed on the FlashCopy® Mirror Version 2 pair, the "ASY PVOL" will not be displayed in the "CAPABILITY".
Table 74 Information Displayed By the FLASHCPY QUERY RELATIONS Command Displayed item Displayed content Meaning FLASHCPY SEQUENCE NUMBER 00000000 Displays the sequence number. However, since FlashCopy Mirror Version 2 does not support sequence numbers, "00000000" will be always displayed for this item. For details about the sequence number, please refer to the IBM manual. R/T SRC Displays the copy source (S-VOL) of the relationship. TGT Displays the copy target (T-VOL) of the relationship.
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 Devise number Displays the device number of the subsystem where the relationship exists.
Table 76 ANTRQST Macro Command Subparameters Supported by FlashCopy® Mirror Version 2 Command Subparameter Value Description REQUEST=FCESTABLISH SDEVN Source device number Specifies the device number (device address) of the S-VOL on which you want to perform the FCESTABLISH command.
Table 76 ANTRQST Macro Command Subparameters Supported by FlashCopy® Mirror Version 2 Command Subparameter Value Description REQUEST=FCESTABLISH MODE All the data in the copy range of the volume specified as the source by SDEVN is copied in the background to the volume specified as the target by TDEVN. The relationship ends automatically and the FlashCopy Mirror Version 2 pair is deleted when all the data is copied. COPY COPY is the default setting. NOCOPY Data is not copied in the background.
Table 76 ANTRQST Macro Command Subparameters Supported by FlashCopy® Mirror Version 2 Command Subparameter Value Description REQUEST=FCESTABLISH TGTDVC Specifies the CCA of the T-VOL on which you want to perform the FCESTABLISH command. CCA Use this subparameter when the TGTUCB subparameter is NO. REQUEST=FCWITHDRAW SDEVN Source Device Number Specifies the device number (device address) of the S-VOL on which you want to perform the FCWITHDRAW command.
Table 76 ANTRQST Macro Command Subparameters Supported by FlashCopy® Mirror Version 2 Command Subparameter Value Description REQUEST=FCWITHDRAW TGTLSS Specifies the LSS of the T-VOL on which you want to perform the FCWITHDRAW command. LSS Use this subparameter when the TGTUCB subparameter is NO. TGTDVC CCA Specifies the CCA of the T-VOL on which you want to perform the FCWITHDRAW command. Use this subparameter when the TGTUCB subparameter is NO.
NOTE: If the status of only a part of the pairs in the same consistency group is changed, the processing of At-Time Split function may not resume when you switch on the power supply, and the status of some pairs may remain unchanged. CAUTION: If data on the shared memory is volatilized and lost after the power turns on, problems may occur during operations. To avoid possible problems, withdraw as much relationships as possible before powering off the disk array.
Table 77 Differences Between FlashCopy Mirror and FlashCopy Mirror Version 2 (continued) No. Compared item FlashCopy Mirror FlashCopy Mirror Version 2 6 Number of pairs created with a source 1 pair can be created with 1 source volume. Maximum of 16 pairs can be created with 1 source extent. 7 Requirements for creating pairs Pairs can be created with simplex SIz volumes. It is also possible to create pairs which specify split or duplex SIz S-VOL or T-VOL as the source.
5 Unit used for pair management Pairs are managed by volume. Even when multiple datasets on the same volume are specified, the number of pair is regarded as 1. Pairs are managed by the specified extents, or by volume when the entire volume is specified. When multiple datasets are specified on the same volume, each dataset is regarded as a pair.
Table 77 Differences Between FlashCopy Mirror and FlashCopy Mirror Version 2 (continued) No. Compared item FlashCopy Mirror 13 TSO command Pairs are withdrawn regardless of whether the copy operation is set to COPY or NOCOPY mode. FCWITHDR DDSW parameter FlashCopy Mirror Version 2 When DDSW = YES: Pairs created with the extents on the device specified by SDEVN are withdrawn. When the pairs created with the source extents The DDSW parameter is not supported.
Table 78 Differences Between IBM FlashCopy and Compatible Mirroring for IBM FlashCopy Version 2 No. Compared item IBM FlashCopy FlashCopy Mirror Version 2 3 Sharing T-VOL with other copy solutions Pairs that include the following shared volume can be created: Not supported.
Table 78 Differences Between IBM FlashCopy and Compatible Mirroring for IBM FlashCopy Version 2 No. Compared item IBM FlashCopy FlashCopy Mirror Version 2 7 FCWITHDR command The command withdraws the copy targets of pairs existing within the extents specified as the target, provided that: The command withdraws the copy targets of pairs existing within the extents specified as the target.
Table 78 Differences Between IBM FlashCopy and Compatible Mirroring for IBM FlashCopy Version 2 No. Compared item IBM FlashCopy FlashCopy Mirror Version 2 12 ICKDSF commands Supported. Partly supported. However, if you execute the commands to a TCz M-VOL or SIz S-VOL which is in pending status, the commands will end abnormally with CC=12. See Table 7.21 for details on how to avoid the abnormal ending 13 GLOBAL Mirror status Supported. Not supported.
• FLASHCPY QUERY command • SOURCEVOL • FLASHCPY WITHDRAW command • REVERT | COMMIT • SOURCEVOL 172 ShadowImage for the XP1024/XP128/XP12000/XP10000/SVS 200
Index A adding new pairs using PPRC 84 At-Time Split function SI390 31 audience, documentation 11 authorized resellers, HP 13 C conventions, document 12 copy operations suppressing 16 temporarily stopping 16 Copy Threshold option 16 CTG screen 71 customer support 12 D deleting volume pairs 65 volume pairs using PPRC 88 DEVSERV commands 83, 84 displaying pair status using PPRC 84 document conventions 12 documentation, related 11 H help HP technical support 12 Host I/O Performance option 16 SI390 30 host s
pairs 64 Swap&Freeze option SI390 29 T TC390 sharing volumes with SI390 39 technical support, HP 12 troubleshooting SI390 100 TSO commands.
Figures 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 ShadowImage for z/OS configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Adding a pair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Update Copy operation . . . . . . . . . . . . . . . . . . . . . . . .
59 60 61 62 63 64 65 Copying Data in Two Extents that Overlap (Two T-VOLs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Copying One Extent to Another in the Same Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Referential Example for Calculating the Number of Pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Pair Configuration Where an S-VOL of FlashCopy Mirror Version 2 and SIz is Shared. . . . . . . . . . .
Tables 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 Document conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 ShadowImage for z/OS requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 The Number of the Control Cylinders According to the Emulation Types . . . . . . . .
57 Whether Reverse Restore Can be Performed When FlashCopy® Mirror Version 2 Volume is Used as URz Volume125 58 Whether Reverse Restore Can be Performed When FlashCopy® Mirror Version 2 Volume is Used as URz Volume125 59 Whether FlashCopy® Mirror Version 2 Volume Can be Used as XRC Replication Volume . . . . . . . . . 125 60 Whether FlashCopy® Mirror Version 2 Volume Can Be Used as CC Volume . . . . . . . . . . . . . . . . . .