RDF System Management Manual

Table Of Contents
Online Database Synchronization
HP NonStop RDF System Management Manual524388-003
7-11
Example of Synchronizing An Entire Database
Online
reset
set type r, no audit
set buffered, ext(10,10)
set rec 4050, block 4096
set maxextents 16
set code 4700
set part (1, $data2, 2, 2 )
set altkey (1, file 0, keyoff 6, keylen 2 )
set altkey (2, file 0, keyoff 6, keylen 2, no update )
set altkey (3, file 0, keyoff 6, keylen 2 )
set altkey (4, file 0, keyoff 6, keylen 2, no update )
set altkey (5, file 0, keyoff 6, keylen 2, no update )
set altfile (0, $data3.test.altf0200 )
create $data3.test.part0200
set altfile (0, $data3.test.altf0201 )
create $data3.test.part0201
After using a VOLUME command to specify the primary database volume from
which you want to extract the data, load the empty duplicate files:
volume $data0.test
load part0100, $data2.test.part0100, share, sorted
load part0101, $data2.test.part0101, share, sorted
load altf0100, $data2.test.altf0100, share, sorted
load altf0101, $data2.test.altf0101, share, sorted
volume $data1.test
load part0200, $data3.test.part0200, share, sorted, no compact
load part0201, $data3.test.part0201, share, sorted, no compact
load altf0200, $data3.test.altf0200, share, sorted
load altf0201, $data3.test.altf0201, share, sorted
5. After the load operations in step 5 are done, issue the following RDFCOM
command:
STOP SYNCH
6. Use FUP DUP commands to move the duplicate files to the backup system.
Remember that the files must be duplicated to the volumes on the backup system
that are mapped to the corresponding volumes where the database resides on the
primary system. Assume you issue the FUP DUP command at the primary system
and that the target volumes on the backup system have the same names as the