About this task
HDR secondary and RS secondary servers use storage-space
backups and logical-log backups (both those backed up to tape and
those on disk) to perform an initial replication of the data on the
primary database server to the secondary database server.
SD
secondary servers do not require a backup and restore from the primary
server because SD secondary servers share the same disks as the primary.
To
replicate data:
Procedure
- Install user-defined types, user-defined routines, and DataBlade® modules
on both database servers.
- Register user-defined types, user-defined routines, and DataBlade modules
on the primary database server only.
- To synchronize the data managed by the two database servers,
create a level-0 backup of all the storage spaces on the primary database
server.
- Restore all the storage spaces from the backup on the secondary
database server in the data-replication pair.
The secondary
database server that you restored from a storage-space backup in the
previous step then reads all the logical-log records generated since
that backup from the primary database server.
The database server
reads the logical-log records first from any backed-up logical-log
files that are no longer on disk and then from any logical-log files
on disk.
Results
For detailed instructions about replicating data, see Starting HDR for the First Time. The HCL OneDB™ Backup and
Restore Guide explains
how to start replication using ON-Bar.
You must perform the initial backup with a storage-space backup.