Using resource selection
BMC AMI Recover
resource selection features provide a way for you to control how
BMC AMI Recover
accesses and orders the multiple images of the Db2 log, image copies, and BMC change accumulation files during recovery. These powerful features provide additional control, which you can use to avoid resources that are unavailable, avoid contention, and use copies registered for one site type while running as another site type.
For example, to avoid a single point of failure, Db2 subsystems are generally run with dual active logs. Dual archiving is available as well. In most cases, BMC AMI Recover attempts to use Active 1 and then Active 2, followed by Archive 1 and Archive 2. The first available file that contains the log records required is actually read. You can use the BMC AMI Recover resource selection features to control whether, and in what order, to use each source of log records.
You can create multiple copies of image copies and change accumulation files. You can create two pairs, one designated LOCAL and one REMOTE. These copies are classified as the following types:
- LOCAL PRIMARY
- LOCAL BACKUP
- REMOTE PRIMARY
- REMOTE BACKUP
- SYSTEM BACKUP
- FlashCopy (image copies only)
Normally, BMC AMI Recover uses only LOCAL copies if the Db2 subsystem is running as a LOCAL site and only REMOTE copies for the REMOTE site. PRIMARY is normally considered before BACKUP unless the TOCOPY option indicates a backup. You can use the BMC AMI Recover RESOURCE SELECTION option to control which copies to attempt to use, and in what order, regardless of whether they are registered as LOCAL or REMOTE.