RDF System Management Manual

Table Of Contents
Online Database Synchronization
HP NonStop RDF System Management Manual524388-003
7-15
Partial Database Synchronization Issues
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
To load the secondary partition only, issue the following command:
FUP LOAD $DATA2.TEST.PART0100, $DATA2.TEMP.PART0100,
PARTONLY,SHARE
When the load operations are finished, use BACKUP and RESTORE (or FUP DUP)
with the PARTONLY option to copy the partition you need to the backup system.
Relative Files
First create a non-audited duplicate file on the primary system. Note that you must
create the entire file with all its partitions. Unlike key-sequenced files, you must load
the entire file. For example, assume 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)