Fallback recovery with BMC AMI Recover
In most cases, BMC AMI Recover can fall back to another copy automatically. However, in a few cases where automatic fallback does not occur, it is necessary to restart a failed job.
BMC AMI Recover supports automatic fallback for the following copies:
Standard image copies and Instant Snapshot copies
Full and incremental copies
Copies of table spaces or index spaces
Automatic fallback processing includes the following behavior for BMC AMI Recover:
During the ANALYZE phase, if BMC AMI Recover detects that the specified image copy is not available, BMC AMI Recover falls back to an equivalent image copy if one is available. If such an image copy is not available, BMC AMI Recover falls back to an earlier image copy. If no prior image copy is available, BMC AMI Recover tries to recover from the log. If the required log is no longer available, fallback fails and the space is unrecoverable.
If the specified image copy is unavailable when BMC AMI Recover attempts to allocate the copy, the recovery falls back to an equivalent image copy. With automatic fallback, BMC AMI Recover uses an earlier image copy or LOAD REPLACE LOG YES or REORG LOG YES log point to recover the space.
If the selected image copy is available but is corrupted, BMC AMI Recover does not detect this until after image copy allocation. With automatic fallback, BMC AMI Recover uses an earlier image copy or LOAD REPLACE LOG YES or REORG LOG YES log point to recover the space.
Automatic fallback does not occur if you specify any of the following commands and options:
INCOPY option on a RECOVER command
RECOVER UNLOADKEYS command
REBUILD INDEX command with the WORKDDN option
During automatic fallback, BMC AMI Recover attempts to recover the specified spaces until all of the spaces are recovered or determined to be unrecoverable. The maximum number of severe errors allowed is defined by the ERRCONT installation option (see ERRCONT=10). The recovery step ends with a completion code of 0 if BMC AMI Recover successfully recovers, initially or following a successful fallback, all of the spaces specified. If BMC AMI Recover cannot recover all of the spaces, the completion code is 12.
Message BMC40227 indicates that BMC AMI Recover is beginning automatic fallback processing. Automatic fallback uses messages BMC40879 to indicate the number of failures before fallback is attempted. For example, the following messages indicate that recovery failed for one space and BMC AMI Recover is beginning automatic fallback processing to recover the space:
BMC40879I 1 OBJECTS WERE NOT RECOVERED DUE TO SEVERE ERRORS BMC40227I BEGINNING AUTOMATIC FALLBACK