Example: changing a volume pair's error recovery level

The following scenario uses XRC commands to change the error recovery level for a volume pair, possibly because the volume is no longer critical to the XRC session.

  1. Start a session named TUCSON for disaster recovery, using this command:
    XSTART TUCSON SESSIONTYPE(XRC) ERRORLEVEL(SESSION)

    An error on any volume causes the XRC session and all volumes in the session to be suspended. All volumes must be resynchronized.

  2. Add a volume pair to the XRC session.
    XADDPAIR TUCSON VOLUME(PRIM01,SECO01)

    The volume inherits the SESSION error recovery level from the XSTART command. (Normal data processing continues.)

  3. Suspend the volume.
    XSUSPEND TUCSON VOLUME(PRIM01)

    Storage controls that support hardware bitmapping record application updates in their hardware bitmaps. Storage controls that do not support hardware bitmapping record application updates in software bitmaps.

  4. Resynchronize this suspended volume and change the error recovery level from SESSION to VOLUME.
    XADDPAIR TUCSON VOLUME(PRIM01,SECO01) ERRORLEVEL(VOLUME)