Installing and configuring XRC

To install and configure the extended remote copy support, perform the following steps after installing the appropriate z/OS® release :

  1. Authorize XRC TSO commands by adding the command names to the AUTHCMD PARM parameter of the IKJTSOxx member of SYS1.PARMLIB. See Extended remote copy command descriptions for specific XRC TSO commands. After adding the XRC command names to the IKJTSOxx member, issue the TSO command PARMLIB UPDATE(xx) to activate the new IKJTSOxx member.

    To restrict XRC commands to certain users, follow the instructions in Controlling access to XRC commands.

  2. Based on the application or applications that you plan to copy, determine all primary (source) and secondary (target) devices.
  3. Allocate the appropriate journal, control, and state data sets on disk devices that have connectivity to the system data mover (SDM) and either the recovery or the target migration system. You can change the default SYS1 high-level qualifier (HLQ) in any of the examples in Table 1 to a name that corresponds with the HLQ issued on the XSTART command or in the ANTXIN00 PARMLIB member.
    Table 1. Data Set Allocation Command Examples
    Command . . . Notes . . .
    SYS1.XCOPY.session_id.CONTROL This is only required with SESSIONTYPE(XRC).
    SYS1.XCOPY.session_id.STATE  
    SYS1.XCOPY.session_id.JRNL01 This is only required with SESSIONTYPE(XRC).
    SYS1.XCOPY.PARMLIB This is only used with PARMLIB support.
    SYS1.XCOPY.session_id.JRNLxx This is only required with SESSIONTYPE(XRC). A minimum of two journals are required (JRNL01 and JRNL02), up to JRNL16.
    Note: Ensure that the ANTASnnn address space has update authority to these data sets. See Address Spaces for XRC for more information on address spaces.

    If the XRC system data mover will run on a system that does not share a common time reference with the application systems that will write to the XRC primary volumes, be sure to configure the system in a way that avoids the introduction of incorrect timestamps into the XRC storage control sessions. See Recovery system clock considerations for more information.

  4. Issue the XSTART TSO command on the system that contains the system data mover. Specify the session ID that is associated with the journal data set names. Select the proper level of recovery for your environment. See XSTART–Starting a session.
  5. Issue the XSET commands on the SDM system to tune the environment as you desire. See XSET–Changing session parameters.
  6. Issue the XADDPAIR TSO commands on the system data mover to perform the copy of primary to secondary volumes. See XADDPAIR–Adding volume pairs or utility volumes.
  7. Issue the XQUERY TSO command on the SDM system to verify the XRC installation options currently in effect. See XQUERY–Querying a session.
  8. If you are using XRC for disk devices migration, follow the disk migration scenario that is described in Migrating data with extended remote copy.
  9. If you are using XRC for disaster recovery, XRC continues to copy updates from the primary volumes to the secondary volumes for as long as the system is running, or until you issue a command to end the volume copies.