gtpd1m1bDatabase Reference

Restore Considerations and Procedures

As mentioned earlier, you can restore all modules (referred to as a total restore) or a selected area of a file or single module (referred to as a partial restore).

A total restore is necessary for the following conditions:

A partial restore is necessary for a hardware failure; for example, damage to a module or a bad drive causing writes to the module that are not valid.

Note:
With TPF transaction services, partial restores will not necessarily produce a consistent commit system.

For a damaged track, a file copy should be carried out to another module and the unreadable records repaired or initialized under coverage programmer control. File recoup can be used as a tool for detecting chains in this process that are not valid. This procedure allows the TPF system to remain online for normal activity during the repair process. See Recoup for more information about recoup.

Restore Procedures

This section describes the procedures for a:

Total Restore without a Database

This procedure is for restoring a TPF system (basic subsystem (BSS) or subsystem) that has no database.

To restore the captured data records to their respective locations on the online files, prepare all the system disks so that the TPF system can be IPLed, cycled to UTIL state, and restored. To do this:

  1. Format all disks according to the system configuration.
  2. Do a full load of the general file. See TPF System Installation Support Reference for more information about the loaders program.
  3. IPL the general file and cycle the system to 1052 state.
  4. Deactivate and initialize the tape label directory (TPLD) records and the tape label mask records (TLMR) with the ZTLMR command.
  5. Create tape labels for data pilot tapes (SDF) and restore tapes (KPC) using the ZTLBL command.
  6. Activate tape label directory records and tape label mask records using the ZTLMR command.
  7. Load the following pilot tapes:

    See TPF System Installation Support Reference for more information about loading tapes.

  8. Load the SNA definitions using the ZNOPL command.
  9. IPL the online module and cycle to utility (UTIL) state.
  10. Restore the system keypoint records, the tape label directory (TPLD) records, and the tape label mask records (TLMR) from the KPC tape by entering the ZFRST KPT command.
  11. Follow the procedures for a total restore in General Total Restore Procedures.

See TPF Operations for information about all the commands.

Total Restore with a Database

To do a total restore of packs that have incorrect data, follow these steps:

  1. Cycle the system or desired subsystem to UTIL state.
  2. Follow the procedures for a total restore in General Total Restore Procedures.

General Total Restore Procedures

After following the procedures outlined in Total Restore without a Database or Total Restore with a Database continue as follows:

  1. Restore all the disk files from the latest set of capture tapes.
  2. Re-IPL the TPF system.
  3. Restore the exception recording (XCP) tapes.
  4. Restore the system keypoint records, if you did not do this procedure already in Total Restore without a Database.
  5. If the system is loosely coupled, collapse the complex to 1 processor.
  6. Re-IPL the TPF system and cycle up to utility (UTIL) state.
  7. Restore the LOG tapes if logging was active during capture.
  8. Reconcile the file pool counts with the ZRFPC command.
  9. If you did not select RCB records or short-term pool records for exception recording during real-time capture, they must be initialized to delete incomplete transactions and references to short-term pool addresses. This is done by using the ZRCBI command.
  10. Because transactions that were completed since capture are determined by the automatic switching of the RTA at the conclusion of exception recording, it may be desirable to run file regeneration if compatible with any logged data.
  11. You can bring the system online by entering the ZCYCL NORM command. GFS restart will start and update the FPDR. Run recoup to verify the file pool directory records.

Partial Restore

For a restore of 1 or multiple modules, follow these steps:

  1. Format the disk modules according to the system configuration. See Real-Time Disk Formatter for more information.
  2. Cycle the system to 1052 state because records that are needed in the restart schedule will be duplicated on other modules. In this case, it is assumed that the restart records are duplicated records.
  3. Remove the RTA tape by entering the ZTOFF command for the RTA tape.
  4. IPL the system. If the new pack is the prime module, IPL from the duplicate module.
  5. You will receive a message requesting you to mount the RTA tape. Enter messages to take the modules to be restored offline.
  6. Mount the RTA tape.
  7. The system will now come up to 1052 state. Enter the messages to bring the requested modules back online. This will cause duplicate updating to start automatically.
  8. Cycle up the system to utility (UTIL) state.
  9. Start the restore for the requested modules.

This procedure can be followed for more than 1 module as long as a pack and its corresponding duplicate are not both down.