
Operating OnLine 3-19
Change Pathname of Logical Log Tape Device
Ifyou are logged inasuserinformix, you canchangethe value ofLTAPEDEV
from within DB-Monitor or from the command line. If you are logged in as
root, you must use the command-line option.
Preliminary Consideration
Tape devices must rewind before opening and on closing to be compatible
with OnLine operation. The reason for this is a series of checks that OnLine
performs before writing to a tape.
Whenever OnLine attempts to write to any tape other than the first tape in a
multivolume backup or archive, OnLine first reads the tape header to make
surethat thetapeisavailableforuse. Thenthedeviceisclosedand reopened.
OnLine assumes the tape was rewound on closing and begins to write.
Whenever OnLine attempts to read atape, it first reads the header and looks
for the correct information. OnLine does not find the correct header infor-
mation at the start of the tape if the tape device did not rewind on closing
during the write process.
Createalevel-0archiveimmediatelyafteryouchangethevalueof
LTAPEDEV
to ensure a proper restore. This is done for two reasons.
First, the OnLinerestore procedure cannot switch tapedevices asit attempts
to read the logical log backup tapes. If the physical characteristics of the log
filetapeschangeduringtherestore,eitherbecauseofanewblocksize ortape
size, the restore fails.
Second, the restore fails if the tape device specified as LTAPEDEV at the time
of the level-0 archive is unavailable when the restore begins.
Important: At the beginning of a restore, the OnLine configuration, including
logical log devices, must reflect the configuration as it was when the level-0 archive
was created.
To specify alogical log backup tape device on another host machine, use the
following syntax:
host_machine_name:tape_device_pathname:
The followingexample specifiesa logicallog backuptape deviceon thehost
machine kyoto:
kyoto:/dev/rmt01
Kommentare zu diesen Handbüchern