Enable and disable dSource hooks

dSources are typically linked to production systems, which results in hooks executing with elevated privileges under the Delphix Environment User account. This behaviour violates standard organizational security policies. To mitigate this concern, dSource hooks can be enabled only when necessary.

Impacted dSources types

Only those dSources types, for which the hooks are executed on the production hosts, are impacted.

  • For Oracle, dSources using Delphix initiated backups.

  • For AppData, dSources which use "Direct ingestion” mechanism.

Default behaviour

  • dSource hooks are disabled for fresh installations.

  • dSource hooks will be enabled by default while upgrading any engine created from 2025.6.0.0 or earlier releases.

Enable dSource hooks

  1. Log in to CLI using a sysadmin user.

  2. Type the commands below to enable the dSource hooks:

    Copy
    > system  
    > enableDSourceHooks 
    > commit
  3. Verify the status using:

    Copy
    > system 
    > get dsourceHooksEnabled 
    true

Disable dSource hooks

  1. Log in to CLI using a sysadmin user

  2. Type the commands below to disable the dSource hooks:

    Copy
    > system  
    > disableDSourceHooks 
    > commit 
  3. Verify the status using:

    Copy
    > system 
    > get dsourceHooksEnabled 
    false

Behavior when dSource hooks are disabled

  1. Configuring hooks in dSource link and update operations will result in the following error:

    disable dsource hook error

  2. The following fault will be raised during sync operation for a dSource that has hooks configured:


    dsource hook error