Delphix Products

Expand all | Collapse all

Masked VDB and hook script

Jump to Best Answer
  • 1.  Masked VDB and hook script

    Posted 07-21-2016 08:59:00 AM
    Hi all,
    I'm going to provision a masked VDB. I need to create a "Configure Clone" hook script. I'm wondering if this hook script is executed before the masking job.
    It's important that my custom script is executed before the masking job starts.
    Thank you.
    Reagrds.
    Gianpiero
    #Masking


  • 2.  RE: Masked VDB and hook script

    Posted 07-21-2016 10:11:00 AM
    I just tried it by myself.
    I provisioned a masked VDB with a configure clone hook script. I found that the hook script was execute for first and then job masking was started.
    Reagrds.
    Gianpiero


  • 3.  RE: Masked VDB and hook script
    Best Answer

    Posted 07-21-2016 04:42:00 PM
    Hi Gianpiero,
    Common way to accomplish this is to use the custom script as a pre-script in masking job.
    --Hims


  • 4.  RE: Masked VDB and hook script

    Posted 07-21-2016 10:43:00 PM
    Sure, this could work in common cases. Unfortunately in my case the script can be executed only by a dba user, whereas the masking job connects to the DB through a normal user (the schema owner).