RDF/IMP, IMPX, and ZLT System Management Manual

Online Database Synchronization
HP NonStop RDF/IMP, IMPX, and ZLT System Management Manual524388-002
7-9
Example of Synchronizing An Entire Database
Online
If you move duplicate Enscribe alternate key files, you must alter the system name
in the file label of the duplicate file or table to specify the backup system.
For example, if you moved a duplicate Enscribe alternate key file named
ALTF0100 associated with the file PART0100, you must change the system name
in the file label of the duplicate alternate key file to that of the backup system as
follows:
FUP ALTER $DATA1.TEST.PART0100
ALTFILE (0,\backup.$DATA.TEST.ALTF0100)
If you use the SQLCI DUP command to move duplicate partitioned NonStop
SQL/MP tables, you must use the MAP NAMES option to specify the backup
system name.
If you use the SQLCI DUP command to move NonStop SQL/MP tables with index
tables, you must use the MAP NAMES option to specify the backup system name.
Example of Synchronizing An Entire Database Online
Following is a summary of the steps necessary to perform an online synchronization of
an entire database.
1. Issue the following RDFCOM command:
STOP RDF
2. Purge the RDF control subvolume and then issue the following RDFCOM
command:
INITIALIZE RDF, BACKUPSYSTEM \RDFB, SYNCHDBTIME 17JUN2004 17:05 !
3. Configure RDF and then issue the following RDFCOM command:
START RDF, UPDATE OFF
4. Create a set of empty nonaudited Enscribe files on the primary system with the
same file structure as the database files being synchronized. Although you can
use the create filey like filex method, the complete sequence of FUP SET and
CREATE commands are included below to show the file structure of the partitioned
files.
volume $data2.test
reset
Note. If you have multiple RDF environments, you can do online synchronization within
one RDF environment without disturbing any of the other RDF environments. Just be sure
to include the appropriate SUFFIX parameter in the above INITIALIZE RDF command.