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

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