Go to main content

Disaster Recovery Framework Concepts for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: August 2018
 
 

Data Replication

This section provides the following information:

Overview of Data Replication

Data replication enables controlled migration of production services from a primary cluster to a secondary cluster either in the event of a disaster or as part of a planned procedure. Data is continuously replicated from the primary cluster to the secondary cluster either synchronously or asynchronously, or a combination of both, depending on the recover point objectives of the application services that are supported by the clusters.

    The disaster recovery framework supports the following software for data replication:

  • MySQL software

  • Oracle Data Guard software, where the Oracle database is running on a local Oracle Solaris Cluster node or on a remote system that is not running Oracle Solaris Cluster software

  • Oracle Solaris ZFS snapshots feature

  • Oracle ZFS Storage Appliance

  • Disaster recovery framework script-based plug-ins

Oracle Solaris ZFS snapshots is a host-based data replication facility which replicates data at the file system or logical volume level within the operating system. Oracle ZFS Storage Appliance software uses a storage-based data replication facility which replicates data at the storage system level and provides a transparent service to applications. Oracle Data Guard software and MySQL software are application-based data replication facilities that maintain one or more standby databases as synchronized replicas of a production database.

MySQL Software

MySQL database software has a built-in replication component that is an application-based replication facility. MySQL replication keeps one or more standby databases in sync with the active master. disaster recovery framework supports the use of MySQL replication between two databases. Only asynchronous replication is available.

You add a plug-in for MySQL replication to a protection group. This plug-in monitors the status of the replication and controls the replication direction. For more information about MySQL software, see the product documentation.

Oracle Data Guard Software

Oracle Data Guard software is an application-based replication facility that maintains one or more standby databases as synchronized replicas of a production database. disaster recovery framework supports the use of Oracle Data Guard replication where the Oracle database is running locally on an Oracle Solaris Cluster node or remotely on a separate system that is not running Oracle Solaris Cluster software. When the Oracle database runs locally, the HA for Oracle Database or Support for Oracle RAC data service must be used. When the database runs remotely, the HA for Oracle External Proxy data service must be configured on the local cluster for the remote database.

You add an Oracle Data Guard broker configuration that is controlled by the Oracle Data Guard software to a protection group. The disaster recovery framework creates a shadow server proxy resource group for each Oracle Data Guard broker configuration. The shadow server proxy resource group "shadows" the database resource group to manage and monitor the Oracle databases that are under the control of disaster recovery framework. For more information about Oracle Data Guard software, see the product documentation.

Oracle Solaris ZFS Snapshots Feature

Oracle Solaris ZFS snapshots is a host-based replication facility that enables ZFS dataset snapshots to be transmitted from the primary cluster to the secondary cluster. Oracle Solaris ZFS has this built-in feature to take consistent snapshots of a ZFS dataset, which can be transmitted and replayed on another system that hosts a copy of the ZFS dataset. This feature of ZFS provides a method of replicating ZFS datasets within a disaster recovery (DR) environment and enables the primary cluster to transmit ZFS snapshots of a ZFS dataset to a secondary cluster. For more information about Oracle Solaris ZFS snapshots, see Chapter 8, Working With Oracle Solaris ZFS Snapshots and Clones in Managing ZFS File Systems in Oracle Solaris 11.4.

Oracle ZFS Storage Appliance Software

Oracle ZFS Storage 7000 appliances support snapshot-based replication of projects and shares from a source appliance to any number of target appliances manually, on a schedule or continuously. The replication includes both data and metadata. Remote replication, or just replication, is a general-purpose feature optimized for disaster recovery, data distribution, disk-to-disk backup and data migration. For more information about Oracle ZFS Storage 7000 appliances, see the product documentation.

Disaster Recovery Framework Script-Based Plug-Ins

The disaster recovery framework provides a generic interface module referred to as script-based plug-ins. With this module, you can configure custom scripts for additional replication technologies to use in a disaster recovery framework configuration. For more information about disaster recovery framework script-based plug-ins, see Chapter 13, Script-Based Plug-Ins in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

Resource Groups and Data Replication Components

This section provides the following information:

Overview of Resource Groups and Data Replication Components

Resource groups and data replication components enable the disaster recovery framework to manage data replication and takeover between clusters. For more information about configuring data replication, see the guide for the data replication product you are using:

Replication Resource Groups

The disaster recovery framework extends disaster recovery framework resource management features to integrate the data replication products. When you configure a protection group, the disaster recovery framework creates replication resource groups for monitoring and controlling data replication.

Data Replication Components

A data replication component is the replication object that disaster recovery framework monitors and manages. The data replication component is added to a disaster recovery framework protection group, which can then start, stop, switch over, or take over the replication component. The disaster recovery framework coordinates these actions between the clusters and the applications being protected.

Types of data replication components include Oracle Data Guard broker configurationsand Oracle ZFS Storage Appliance replicated projects. For information about configuring data replication components in disaster recovery framework configurations, see the guide for the data replication product you are using.