IBM SG24-5360-00 manual Setting Up Pprc Paths and Pairs, Recovering from a Primary Site Failure

Page 47

In the examples that follow, the short form of some of the parameters is used. The long form of these parameters is:

NoVeriFY

PRIMary

SECondary

UNITaddress

5.5.1 Setting Up PPRC Paths and Pairs

The sequence of tasks for setting up PPRC at the primary site is:

1.Obtain the SSID, serial number, and CCA for both the primary and secondary sitesstorage controls. The PPRCOPY QUERY command can be used to

obtain this information. Issue the following commands at the respective host processors:

PPRCOPY QUERY UNIT(D48)

PPRCOPY QUERY UNIT(D8C)

2.Obtain the physical RVA system adapter IDs (SAIDs). There are 8 for an 8-channel machine and 16 for a 16-channel machine.

3.Use the PPRCOPY QUERY command to check the status of the primary and secondary devices to determine whether they are in simplex mode and the paths are already set. Issue the following commands at the respective host processors:

PPRCOPY QUERY UNIT(D48) PATHS PPRCOPY QUERY UNIT(D8C) PATHS

4.Establish the path, using ESTPATH:

PPRCOPY ESTPATH UNIT(D48)

PRIM(X′0057′,7390007) SEC(X′053F′,7390014)

LINK(X′004D600′ , X′00510003′)

Warning: The ESTPATH command acts as a replace function. The paths specified in it establish the link between the storage controls at the primary and secondary sites. They replace any PPRC paths previously established between the pair of storage controls.

Note: This example uses two links. Although a single link is possible, it is advisable to define more than one LINK between the primary and secondary for availability reasons.

5. Establish a pair, using ESTPAIR:

PPRCOPY ESTPAIR UNIT(D48) MODE(COPY)

PRIM(X′0057′,7390007,X′ 07 ′ ) SEC(X′053F′,7390014,X′ 0 F′ )

Note: The PACE parameter of the ESTPAIR command is ignored.

6. Monitor the progress, using QUERY:

PPRCOPY QUERY UNIT(D48)

5.5.2 Recovering from a Primary Site Failure

Assume that a primary site failure occurred after step 6 above, PPRC has been activated, and the pair has been established. This example shows the recovery at the secondary site:

1. Suspend the secondary site device, using SUSPEND:

Chapter 5. Peer-to-Peer Remote Copy 37

Image 47
Contents International Technical Support Organization Page International Technical Support Organization First Edition January Contents Peer-to-Peer Remote Copy Itso Redbook Evaluation Contents Vi Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Team That Wrote This Redbook PrefaceYour comments are important to us Comments WelcomeLog Structured File What Is an IBM Ramac Virtual Array?IBM Ramac Virtual Array Overview of RVA and the Virtual Disk Architecture− Functional track table Data Compression and CompactionVSE/ESA Support for the RVA What Is IXFP/SnapShot for VSE/ESA?What Is SnapShot? Deleted Data Space Release What Is IXFP?Reporting Functions What Is Peer-to-Peer Remote Copy?Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Disk Capacity RVA Benefits for VSE/ESARVA Simplifies Your Storage Management Batch Window Improvement AdministrationIxfp IXFP/SnapShot for VSE/ESA Ramac Virtual ArrayHardware Application DevelopmentRVA Data Availability Pprc SnapShotRamac Virtual Array, Peer-to Peer Remote VSE/ESA Prerequisites VSE/ESA Support for the RVAHost Connection Volumes1 VSE/ESA Input/Output Configuration Program Exec Volume Minimal InitPartial Disk Minimal Init AssgnRamac Virtual Array, Peer-to Peer Remote VSE/ESA System VSE/ESA User Time IXFP/SnapShot for VSE/ESASample Batch Job to Invoke Ixfp Report Function DTRIATTN,PARM=′ Ixfp REPORT′IXFP/SnapShot for VSE/ESA Defined DetailPhys AR 0015 CUU DEFIxfp Snap Full VolumeVSE/VSAM Reply ′ YES′ to ProceedRange of Cylinders Non-VSAM File Expired Files Ixfp DDSR,PATEV30000-0999,NOPROMPT Total VolumeIxfp DDSR,PATEV3 Ixfp DDSR,PATEV3DSN=′ test.data.3′ , Noprompt Specified FileIxfp Report Ixfp REPORT,80E Ixfp REPORT,80FIxfp REPORT,80E,80F Device Detail Report Sample Output of Ixfp Report CommandRamac Virtual Array, Peer-to Peer Remote VSE/ESA Subsystem Summary Report Device Summary ReportRamac Virtual Array, Peer-to Peer Remote VSE/ESA Peer-to-Peer Remote Copy Peer-to-Peer Remote Copy Pprc Data Flow Pprc and VSE/ESA Software RequirementsInvoking peer-to-peer remote copy Pprc Hardware RequirementsSecondary Devices of a Pprc Pair Examples of Pprcopy CommandsSnapShot Considerations Primary Devices of a Pprc PairRecovering from a Primary Site Failure Setting Up Pprc Paths and PairsPhysical Connections to the RVA Recovering from a Secondary Site FailureDeleting Pprc Pairs and Paths Determining the Channel Connection Address Determining the Logical Control Unit Number for RVARamac Virtual Array, Peer-to Peer Remote VSE/ESA Functional Device Configuration Appendix A. RVA Functional Device ConfigurationFunctional Device Configuration Screen CD23 Syntax Appendix B. Ixfp Command ExamplesSnap Command Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Noprompt Using SnapShot to Copy One Volume to AnotherTest Prod Overall Test Prod AR 0015 CapacityDEFINED-CAPACITY Using SnapShot to Copy Files with Relocation Using SnapShot to Copy a File from One Volume to AnotherIXFP20I Snap Function Completed AT Other Uses of SnapShotSyntax of Ixfp Ddsr Command Details Ddsr CommandUsing Ddsr to Delete the Contents of a Volume Using Ddsr to Delete a Single Data SetAR+0015 IXFP29D Ddsr for For Deletion Using Ddsr to Delete the Free Space on an RVAReport Report Command Device Detail Report FUNC. Capacity MB Reporting on the Capacity of a Single VolumeReporting on the Capacity of Multiple Volumes Reporting on the Capacity of the RVA SubsystemExec DTRIATTN,PARM=′ Ixfp REPORT′ IXFP/SnapShot Setup Job StreamsJOB WCWTEST1 Ready Ixfp DDSR,80F BG 0000 // JOB InitdiskBG 0000 1A86I Following Assignments are Released Ixfp DDSR,80E$$DITTO BLKFACTOR=1 EOJ 50.83 47.86 AR 0015 1I40I Ready$$DITTO BLKFACTOR=1 $$DITTO EOJ 726532.208 MB 117880.209 MB 57754.953 MB Appendix C. VSE/VSAM Considerations Backing up Vsam Volumes Appendix C. VSE/VSAM Considerations Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Appendix D. Iocds Example Ramac Virtual Array, Peer-to Peer Remote VSE/ESA Appendix E. Special Notices Following terms are trademarks of other companies Other Publications Appendix F. Related PublicationsInternational Technical Support Organization Publications Redbooks on CD-ROMsRamac Virtual Array, Peer-to Peer Remote VSE/ESA ∙ E-mail Orders How to Get Itso RedbooksPlease send me the following IBM Redbook Fax Order FormSee CKD IndexPprc distance Please answer the following questions Itso Redbook EvaluationSG24-5360-00