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=" 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:

grant select on v_$managed_standby to <delphix DB username>;
create synonym <delphix DB username>.v$managed_standby for v_$managed_standby;
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)("';

  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


  •   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.


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


  • Resync started and ready to apply


  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.

Note: 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.

Related Topics