Owner's manual

One-time Synchronization
HP AutoSYNC User’s Guide522580-015
3-13
Files Opened for Update
source, it is copied to the destination, but existing processes continue to use the
renamed object file.
Only files that are open for shared read access or execute access are renamed. Files
open exclusively or for write access are not renamed or replaced.
AutoSYNC deletes renamed files after they are closed.
The renamed files are named AAnnnnnn, where nnnnnn is a sequence number, and
are placed in same subvolume as the AutoSYNC MapDB, in the destination file set
volume. Renamed partitions, alternate indexes and protection views are named
ABnnnnnn, ACnnnnnn, and so on.
Exceptions:
If the AUDIT option is specified and the destination file is audited, the rename
operation cannot succeed. AutoSYNC issues a warning message, the file is
skipped and the destination file is not replaced.
A synchronized file, table, index or view does not replace an existing object of a
different type.
Files Opened for Update
By default, AutoSYNC does not synchronize files from the source file set if these files
are opened for update. Synchronizing such files could result in a loss of data integrity.
However, there exists a class of files that are opened for update by application
programs but are modified infrequently. If such files cannot be audited, replicating them
is a problem. In such cases, the interval between updates may provide a window
where these files can be synchronized without compromising their integrity.
OPENUPDATE is the option used to override the rule that prohibits the synchronization
of files opened for update. The user configures the interval during which the file must
remain unchanged before it can be synchronized. When the synchronization process
starts, it checks the last modified timestamp for the file and synchronizes the file only if
the OPENUPDATE interval has elapsed since the last update.
In addition to specifying the OPENUPDATE option, the following conditions must be
met:
°
The file must not be audited.
°
The file cannot be opened for exclusive access.
°
Recovery must be enabled for the fileset.
Changing File Ownership
By default, the ownership of each synchronized file is preserved. You may specify the
OWNER option to give the files to any user ID, including your own user ID.