RDF System Management Manual

Table Of Contents
Online Database Synchronization
HP NonStop RDF System Management Manual524388-003
7-10
Example of Synchronizing An Entire Database
Online
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
set type k, keyoff 2, keylen 4, no audit
set buffered, ext(10,10)
set rec 300, block 4096
set maxextents 16
set code 4700
set part (1, $data3, 2, 2, [0,0,0,195] )
set altkey (1, file 0, keyoff 6, keylen 2 )
set altkey (2, file 0, keyoff 6, keylen 2 )
set altkey (3, file 0, keyoff 6, keylen 2, no update )
set altkey (4, file 0, keyoff 6, keylen 2, no update )
set altkey (5, file 0, keyoff 6, keylen 2 )
set altfile (0, $data2.test.altf0100 )
create $data2.test.part0100
set altfile (0, $data2.test.altf0101 )
create $data2.test.part0101
volume $data3.test
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.