gtpd1m1b | Database Reference |
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:
- Destructive online testing of the system
- Major system software failure affecting vital records
- Major hardware failure in which both prime and duplicate copies of some
records are destroyed
- Major operator error causing destruction of vital system records.
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.
This section describes the procedures for a:
- Total restore without a database
- Total restore with a database
- Partial restore.
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:
- Format all disks according to the system configuration.
- Do a full load of the general file. See TPF
System Installation Support Reference for more information about the
loaders program.
- IPL the general file and cycle the system to 1052 state.
- Deactivate and initialize the tape label directory (TPLD) records and the
tape label mask records (TLMR) with the ZTLMR command.
- Create tape labels for data pilot tapes (SDF) and restore tapes (KPC)
using the ZTLBL command.
- Activate tape label directory records and tape label mask records using
the ZTLMR command.
- Load the following pilot tapes:
See TPF System Installation Support Reference for
more information about loading tapes.
- Load the SNA definitions using the ZNOPL command.
- IPL the online module and cycle to utility (UTIL) state.
- 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.
- Follow the procedures for a total restore in General Total Restore Procedures.
See TPF Operations for information about all the
commands.
To do a total restore of packs that have incorrect data, follow these
steps:
- Cycle the system or desired subsystem to UTIL state.
- Follow the procedures for a total restore in General Total Restore Procedures.
After following the procedures outlined in Total Restore without a Database or Total Restore with a Database continue as follows:
- Restore all the disk files from the latest set of capture tapes.
- Re-IPL the TPF system.
- Restore the exception recording (XCP) tapes.
- Restore the system keypoint records, if you did not do this procedure
already in Total Restore without a Database.
- If the system is loosely coupled, collapse the complex to 1
processor.
- Re-IPL the TPF system and cycle up to utility (UTIL) state.
- Restore the LOG tapes if logging was active during capture.
- Reconcile the file pool counts with the ZRFPC command.
- 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.
- 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.
- 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.
For a restore of 1 or multiple modules, follow these steps:
- Format the disk modules according to the system configuration. See Real-Time Disk Formatter for more information.
- 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.
- Remove the RTA tape by entering the ZTOFF command for the RTA tape.
- IPL the system. If the new pack is the prime module, IPL from the
duplicate module.
- You will receive a message requesting you to mount the RTA tape.
Enter messages to take the modules to be restored offline.
- Mount the RTA tape.
- 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.
- Cycle up the system to utility (UTIL) state.
- 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.