FUP ALTER $DATA1.subvol.file, PART (1,$DATA3)
•
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:
FUP ALTER $DATA1.TEST.PART0100
ALTFILE (0,\backup.$DATA.TEST.ALTF0100)
•
If you use the SQLCI DUP or MXCI DUP command to move duplicate partitioned NonStop
SQL tables, you must use the MAP NAMES option to specify the backup system name.
•
If you use the SQLCI DUP or MXCI DUP command to move NonStop SQL 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 !
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 attribute in the above INITIALIZE RDF command.
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 file 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
reset
set type r, no audit
set buffered, ext(10,10)
set rec 4050, block 4096
set maxextents 16
174
Online Database Synchronization
Содержание NonStop RDF
Страница 68: ...68 ...
Страница 186: ...186 ...
Страница 260: ...260 ...
Страница 278: ...278 ...
Страница 284: ...284 ...
Страница 290: ...290 ...
Страница 308: ...308 ...
Страница 322: ...322 ...
Страница 336: ...336 ...
Страница 348: ...348 ...
Страница 464: ...464 ...
Страница 478: ......