Chat now with support
Chat with Support

SharePlex 8.6.6 - Administration Guide

About this Guide Conventions used in this guide Overview of SharePlex Run SharePlex Run multiple instances of SharePlex Execute commands in sp_ctrl SharePlex parameters Prepare an Oracle environment for replication Create a configuration file Configure replication to Open Target targets Configure a replication strategy Configure partitioned replication Configure named queues Configure SharePlex to maintain a change history target Replicate Oracle DDL Set up error handling Transform data Configure SharePlex security features Activate replication in your production environment Monitor SharePlex Prevent and solve replication problems Repair out-of-sync Data Procedures to maintain Oracle high availability Make changes to an active replication environment Apply an Oracle application patch or upgrade Back up Oracle data on the source or target Tune the Capture process Tune the Post process Appendix A: Peer-To-Peer Diagram Appendix B: SharePlex environment variables

Back up Oracle data on the source or target

Back up Oracle data on the source or target

This topic contains procedures for making backups of source and target Oracle data while replication is active.

Contents

Perform a partial backup of the source system

Back up Oracle data on the source or target > Perform a partial backup of the source system

To perform a partial back up of a source system (for example, to extract data or populate a data warehouse) while data is being replicated, you can perform the partial backup on the target system instead and copy the same data as you would on the source system.

This procedure does not interrupt user access to the source data and does not deactivate or reactivate the configuration file.

  1. On the source system, start sp_ctrl.
  2. On the source system, flush the data to the target system. This command stops the Post process and places a marker in the data stream that establishes a synchronization point between source and target data.

    sp_ctrl> flush datasource

    where: datasource is the datasource specification of the source Oracle instance, for example o.oraA.

  3. On the target system, back up the data. Note: The data now matches the source data at the flush marker.
  4. On the target system, start the Post process.

    sp_ctrl> start post

Perform a full backup on the source system

Back up Oracle data on the source or target > Perform a full backup on the source system

To back up the entire source system, including SharePlex, you must shut down SharePlex replication while the backup is performed.

This procedure stops user access to the source data but does not deactivate or reactivate the configuration file. Replication resumes when started after the backup.

Perform these steps on the source system:
  1. Stop all system activity.
  2. Start sp_ctrl.
  3. Flush the data to the target system. This command stops the Post process and places a marker in the data stream that establishes a synchronization point between source and target data.

    sp_ctrl> flush datasource

    where: datasource is the datasource specification of the source Oracle instance, for example o.oraA.

  4. Shut down SharePlex. This command shuts down SharePlex.

    sp_ctrl> shutdown

  5. Shut down the network and the Oracle instance.
  6. Perform the backup.

  7. Start the network and the Oracle instance.
  8. Start sp_cop (Unix and Linux) or the SharePlex service (Windows).
  9. Start sp_ctrl.
  10. Allow users to access the source Oracle instance.
  11. Verify that the SharePlex processes started.

    sp_ctrl> status

Perform these steps on the target system:
  1. Start Post.

    sp_ctrl> start post

  2. Verify that Post started.

    sp_ctrl> status

Tune the Capture process

Tune the Capture process

This chapter contains instructions for improving the performance of the Capture process to prevent Capture from losing pace with the volume of redo that an Oracle source database generates.

Contents
Related Documents