RDF/IMP and IMPX System Management Manual (RDF 1.3+)
Installing and Configuring RDF
Compaq NonStop™ RDF/IMP and IMPX System Management Manual—522204-001
3-4
Synchronizing the Primary and Backup Databases
Synchronizing the Primary and Backup Databases
For databases to be synchronized in an RDF environment, the database on the backup
system must be logically identical to the database on the primary system. To ensure
consistency between the primary and backup databases, you should copy the primary
database to the backup system before RDF updating starts. The most effective way to
synchronize the databases follows:
1. Stop TMF auditing on the primary system by turning off the applications and
stopping TMF.
2. Create a copy of the primary database on the backup system.
The tools for synchronizing databases on Compaq NonStop™ Series systems are as
follows:
•
The TACL OBEY command enables you to create the same database structures on
the primary system and the backup system by using commands in an EDIT file.
•
The SQLCI CREATE CATALOG command can re-create SQL/MP catalogs on the
backup system.
•
The SQLCI DUP utility can copy SQL/MP objects and Enscribe files from one
system to another.
•
The BACKUP and RESTORE utilities can copy SQL/MP objects and Enscribe files
to and from tape.
•
The FUP DUP command can copy Enscribe files from one system to another.
Backing up partitioned files requires some extra planning, as explained in Synchronizing
Partitioned Files later in this section.
For a complete discussion of synchronized versus unsynchronized databases and their
ramifications, see Understanding Database States
in section 6.
Re-Creating an Empty Database With an OBEY Command
If a database on the primary system does not contain any data yet, use either an OBEY
command file or a TACL macro to re-create the database on the backup system.
To create logically identical database structures on the primary and backup systems, first
do the following at the primary system:
1. Place the database creation commands in either an EDIT (command) file or TACL
macro.
2. Through the TACL command interpreter, issue an OBEY filename command or run
the macro to create the primary database.
3. Copy the command file or TACL macro to the backup system.