RDF/IMP, IMPX, and ZLT System Management Manual

Online Database Synchronization
HP NonStop RDF/IMP, IMPX, and ZLT System Management Manual524388-002
7-14
Partial Database Synchronization Issues
There are a variety of considerations when synchronizing portions of a database.
Read the following carefully.
Enscribe Files Without Partitions
Key-sequenced and Relative Files
First create a non-audited duplicate file on the primary system and then load it. Then
use BACKUP and RESTORE (or FUP DUP) to move the duplicate file to the backup
system.
Alternatively, you can create the duplicate file directly on the backup system and then
load it across the network, provided you have enough Expand capacity to handle both
the data being loaded and the audit being shipped to the backup system by the
extractor.
If you created the duplicate file with the LIKE option and the primary file has an
alternate key file, then the file label of that duplicate file points to the alternate key file
on the primary system. You must change this to point to your alternate key file on your
backup system. Use a FUP ALTER command to alter the file label manually. For
example:
FUP ALTER $DATA.TEST.PART0100,
ALTFILE ( 0, \BACKUP.$DATA.TEST.ALTF0100 )
Entry-sequenced and Unstructured Files
Currently there is no reliable mechanism to synchronize these file types online. Entry-
sequenced and unstructured files should be synchronized offline.
Enscribe Files With Partitions
Key-sequenced Files
First create a non-audited duplicate file on the primary system. Note that you must
create the entire file with all partitions. Then, you only need to load the partition that
you need. For example, suppose the file has two partitions: $DATA1.TEST.PART0100
(primary) and $DATA2.TEST.PART0100 (secondary). Issue the following command:
FUP CREATE $DATA1.TEMP.PART0100,
LIKE $DATA1.TEST.PART0100, NO AUDIT
That command creates the two files $DATA1.TEMP.PART0100 (primary partition) and
$DATA2.TEMP.PART0100 (secondary partition).
To load the primary partition only, issue the following command:
FUP LOAD $DATA1.TEST.PART0100, $DATA1.TEMP.PART0100,
PARTONLY,SHARE