Key-Sequenced Tables - HP NonStop RDF J-series RVUs Management Manual

For j-series and h-series rvus
Table of Contents

Advertisement

Thus, you now have on tape empty partitions for the entire table. Should you ever lose a volume
to a complete media failure, you can install a new disk and then use the RESTORE utility with
the PARTONLY option to recover the missing partition. Because you have backed up a table
with the name you need on the backup system, you can restore any partition that you need to
with the PARTONLY option and without having to use the MAP NAMES option. Once you have
restored the empty partition, you can use the protocol described below to synchronize the affected
partition. With this trick, however, you cannot recover from a media failure that wipes out an
individual partition of a partitioned index. If that occurs, you will need to drop the index from
the associated table, thereby eliminating all other partitions of the index. Then you must create
a new index.

Key-Sequenced Tables

The most effective means of describing this method is to use an example. Suppose you have a
table named PART whose primary partition is named $DATA.TEST.PART, that this table has
50 secondary partitions, and you only need to synchronize the primary partition. The following
set of steps presumes you have just added back the volume needing synchronization to the RDF
configuration and you are running with update off.
Again, follow the steps for complete database synchronization, although with some specific
modifications. The complete set of steps with modifications are listed below.
1.
If RDF is currently running, issue a STOP RDF command on the primary system.
2.
Purge the RDF control subvolume and then issue an INITIALIZE RDF command of the
following form on the primary system:
INITIALIZE RDF, BACKUPSYSTEM \system, SYNCHDBTIME ddmmmyyyy hh:mm
For the timestamp, follow the guidelines for the INITTIME option.
3.
Configure RDF and then issue a START RDF, UPDATE OFF command on the primary
system.
4.
Make a copy of your table using one of the following two methods:
Method 1
Create the entire duplicate table on your backup system with a temporary name at a
temporary location (such as \BACKUP.$DATA.DUP.PART).
The alternative is to create the duplicate table on the primary system at a temporary
location (such as \PRIMARY.$DATA.DUP.PART).
If the table whose primary partition needs to be synchronized has indexes, do not create
indexes for the duplicate table.
Method 2
Take an online dump of the specific partition that you to resynchronize, and then
perform a TMF FRNL operation to put that copy on a different volume. In this example,
use MAP NAMES to recover it as $DATA.DUP.PART.
5.
When you have completed Step 4, issue the RDFCOM STOP SYNCH command.
6.
If you used the Method 1 in Step 4 above to create the duplicate table on the primary system,
then use the BACKUP utility to put the entire duplicate table with all partitions onto tape.
Because you only loaded the one partition, all other partitions of this duplicate table are
empty.
If you used Method 2 above, then use Backup to put $DATA.DUP.PART on tape.
If you created the duplicate table directly on the backup system, skip this step.
7.
If you created the duplicate table on the primary system with Method 1 or you created the
duplicate partition using Method 2, then use the RESTORE utility to put the entire duplicate
180
Online Database Synchronization

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nonstop rdf h-series rvusNonstop rdf

Table of Contents