Skip to main content
Skip table of contents

Oracle liveSource user workflows

Please use the following documentation as a guide to identify and act on common Oracle liveSource User Workflows. The following table of contents includes steps for how to convert a dSource into a liveSource, a provision from a liveSource, sync a liveSource, convert a liveSource back to a dSource, and many other data procedures.

Converting to liveSource from a dSource

 To get a live feed to the source database data through the Delphix Engine, you must first link the database to the Delphix Engine to create a dSource. You can then convert the dSource into a liveSource by following the steps outlined below:

  1. In the left-hand panel, click the dSource

  2. From the Actions menu (...) select Convert to liveSource, as highlighted below. This launches the  Convert to liveSource  wizard.

Convert to liveSource database wizard

  1. In the Overview tab select Next.

  2. Enter a DB Unique Name for the liveSource.

  3. Enter a Database SID for the liveSource.

  4. Click Next.

The liveSource database name must be the same as the database name of the primary database; therefore, this value is read-only.

Convert to liveSource, environment tab

Select the environment on which the liveSource will be created:

  1. Select an Environment User for the liveSource instance.

  2. Enter the Mount Point for the liveSource instance.

  3. Select Listeners as needed. If you enable Auto Select Listeners, the Delphix Engine will pick the first available listener from the environment.  

  4. Click Next.

Convert to liveSource, configuration template tab

  1. Select VDB configuration templates for the liveSource.

  2. Enter additional DB configuration parameters for the liveSource.

  3. Click Next.

Convert to liveSource, data management tab

  1. Enter the data age warning threshold for the liveSource.   If the data in liveSource lags behind the source database by more than this threshold, the Delphix Engine will raise a fault and notify you.   

  2. Click Next.

Convert to liveSource, hooks tab

  1. Enter the operations to be performed on initial conversion.  These operations are performed after the Delphix Engine has created the standby database for the liveSource.

  2. Click Next.

These operations will also be performed when resyncing a liveSource.

Convert to liveSource, summary tab

  1. Review the configuration summary.

  2. Click Convert to begin the conversion.

Setting up log transport between a dSource or primary database and a liveSource or standby database

After adding a liveSource instance, you must configure the log transport between the dSource or primary database and the liveSource or standby database. For details on configuring a standby database, refer to the Oracle Data Guard Concepts and Administration guide.

At source/primary database

  1. Configure the LOG_ARCHIVE_CONFIG parameter to enable the sending of redo logs to remote destinations and the receipt of remote redo logs (the liveSource instance). For example: alter system set log_archive_config='DG_CONFIG=(sourcedb,liveSource)' scope=both;

  2. Configure the LOG_ARCHIVE_DEST_n parameter to point the redo logs to the liveSource instance. For example: alter system set log_archive_dest_2='SERVICE="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST= liveSource.dcenter.delphix.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=liveSource)(SERVER=DEDICATED)))" ASYNC VALID_FOR=(ONLINE_LOGFILE,PRIMARY_ROLE) DB_UNIQUE_NAME=liveSource' scope=both;

  3. Create a passwd file for the liveSource into the target site.

  4. Configure the corresponding LOG_ARCHIVE_DEST_STATE_n parameter to identify whether the log transport is enabled. For example: alter system set log_archive_dest_state_2='ENABLE' scope=both;

  5. Configure the STANDBY_FILE_MANAGEMENT parameter to enable automatic standby file management. For example: alter system set standby_file_management='AUTO' scope=both;

RAC instance as standalone environment

For RAC instances that are discovered as Standalone type environments, please apply the following steps instead of the steps above.

  1. alter system set log_archive_config='DG_CONFIG=(sourcedb,liveSource)' sid='' scope=both;

  2. alter system set log_archive_dest_2='SERVICE=liveSource ASYNC VALID_FOR=(ONLINE_LOGFILE,PRIMARY_ROLE) DB_UNIQUE_NAME=liveSource' sid='' scope=both;

  3. Set up tnsnames.ora in both source and target sites.

  4. Make sure to have the same password file in all RAC instances and target site.

  5. alter system set log_archive_dest_state_2='ENABLE' sid='' scope=both;

  6. alter system set standby_file_management='AUTO' sid='' scope=both;

The Delphix DB user must be updated to include grants for select on v$managed_standby and v$dataguard_stats in order to access MRP information and DataGuard statistics:

CODE
grant select on v_$managed_standby to <delphix DB username>;
create synonym <delphix DB username>.v$managed_standby for v_$managed_standby;
CODE
grant select on v_$dataguard_stats to <delphix DB username>;
create synonym <delphix DB username>.v$dataguard_stats for v_$dataguard_stats;

At the staging environment where the liveSource standby database environment is running

  1. Configure the FAL_SERVER parameter to point to the primary database for proper fetch archive log function. For example:

    ALTER system SET fal_server='service="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sourcedb.dcenter.delphix.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=sourcedb)(SERVER=DEDICATED)))"';

  2. If not already created, configure a password for Data Guard.

Removing a liveSource 

  1. In the Datasets panel, click the liveSource.

  2. Click the Configuration tab.

  3. From the Actions menu (...) select Convert to dSource.

  4.  Click  Convert to dSource .

Taking a snapshot on a liveSource

  To take a snapshot of a liveSource:   

  1. In the Datasets panel, select the liveSource.

  2. In the upper right-hand corner, click the camera icon.
    liveSource snapshots are instantaneous, Quick Provision snapshots. They do not require an RMAN backup of the source database  

Provisioning from a liveSource TimeFlow

Provisioning from a liveSource Timeflow is the same process as provisioning from a snapshot for dSource Timeflow. The only difference is that you will select a liveSource and a liveSource snapshot. 

Enabling, disabling, and detaching a liveSource

A liveSource is enabled the same way as a regular dSource.

  1. Login to the Delphix Management application as admin or another user with administrative privileges.

  2. Click Manage.

  3. Select Datasets.

  4. Click the liveSource you want to enable.

  5. From the Actions menu (...) select Enable.

  6. Click Enable to confirm.

When you enable the liveSource, the Delphix Engine will recreate the standby database on the staging environment.

A liveSource is disabled the same way as a regular dSource. Disabling a liveSource will stop further operations on the Delphix Engine related to the liveSource.

  1. Login to the Delphix Management application as admin or another user with administrative privileges.

  2. Click Manage.

  3. Select Datasets.

  4. Select the liveSource you want to disable.

  5. In the upper right-hand corner, from the Actions menu (...) select Disable.

  6. In the Disable dialog select Disable.

When you are ready to enable the liveSource again, from the Actions menu (...) select Enable, and the liveSource will continue to function as it did previously. 

Disabling a liveSource shuts down the standby database that Delphix manages on the staging environment.

You can detach a liveSource in the same way as detaching a regular dSource. Detaching a liveSource will implicitly convert the liveSource into a regular dSource. After a dSource is re-attached, you can convert it back to a liveSource.  

Resyncing a liveSource and applying the resync

  Resync is a way to refresh the liveSource to the current point in the linked source. Resync is a multi-phase operation comprised of the following:  

Perform resync

  1. Click Manage.

  2. Select Datasets.

  3. Select your liveSource.

  4. From the Actions menu (...) select Start liveSource Resync. The liveSource can stay up while the Resync is in progress.

Discarding resync data

 Prerequisites

  •   Resync is started and ready to apply

After Resync has finished, you can choose to not apply but rather discard the data that was brought over from the source database as part of Resync.

Procedure

To discard the data:

  1.  Click  Manage.

  2. Select Datasets.

  3. Select your liveSource.

  4. From the Actions menu (...) select Discard liveSource Resync.

Applying resync data

 Prerequisites

  • Resync started and ready to apply

Procedure

  1.  Click Manage.

  2. Select Datasets.

  3. Select your liveSource..

  4. From the Actions menu (...) select Apply liveSource Resync. 

  5. If the apply resync data process fails, first investigate and resolve the cause of failure, such as a full disk. Then follow the procedure to start resync.

Migrating a liveSource

  1. Click Manage.

  2. Select Datasets.

  3. Select your liveSource.

  4. From the Actions menu (...) select Disable.

  5. From the Actions menu (...) select Migrate.

  6. Update the environment, user, and repository. From the Configuration tab select the Source sub-tab and click the Pencil (edit) icon next to the Database. 

  7. Enable the dSource.

After the liveSource is migrated to a different staging environment, you must ensure that the log transport between the source database and the liveSource instance on the new staging environment is set up correctly.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.