Delphix Toolkit (dxToolkit)

Expand all | Collapse all

dxmc examples - Any document to refer?

Jump to Best Answer
  • 1.  dxmc examples - Any document to refer?

    Posted 04-10-2019 05:53:00 PM

    Trying to use dxmc for day to day masking executions. While adding connection for delimited files "schemaname" is being asked, which doesn't make sense.

    Either I am putting option in right sequence or really missing something. Command utilization with --help is self explanatory. However, wondering if any document is available for reference. Any idea why schemaname is asked for below command?  


    ./dxmc connector add --connectorname API-BC_TACCOUNT --envname DataLake-AWS --connectortype delimited --host 10.175.18.90 --port 22 --username delphix --path /stagingData/PerfData/PRDAB80N.BC_TACCOUNT/ --servertype sftp


    Usage: dxmc connector add [OPTIONS]

    Error: Missing option "--schemaname".


    Thanks,

    Santosh



    #Masking
    #dxToolkit


  • 2.  RE: dxmc examples - Any document to refer?
    Best Answer

    Posted 04-10-2019 06:00:00 PM
    Hi Santosh,
    Best resource would be https://github.com/delphix/dxm-toolkit
    Meanwhile, I am trying to replicate.

    ~Hims


  • 3.  RE: dxmc examples - Any document to refer?

    Posted 04-10-2019 06:56:00 PM

    Hims, thanks for quick response. This site is helpful to get started with and looking more detailed information like examples or some documentation to refer.


    Thanks,
    Santosh


  • 4.  RE: dxmc examples - Any document to refer?

    Posted 04-11-2019 05:22:00 PM

    I got it worked by appending above command with schemaname. Though, it doesn't make sense to have schema name for files connection. But, it works by adding "--schemaname Test" and it doesn't add any schema name in the background, which is a good part.


  • 5.  RE: dxmc examples - Any document to refer?

    Posted 04-15-2019 05:45:00 PM
    While doing some of the automation, facing error for "on the fly job" creation with dxmc tool kit. For example:

     ./dxmc job add --jobname API-BC_TACCOUNT --envname AwsMask-Target --rulesetname API-BC_TACCOUNT --on_the_fly_source SOURCE-BC_TACCOUNT --max_memory 8192 --min_memory 4096 --num_streams 20 --on_the_fly Y

    This OnTheFly MaskingJob needs a source File Connector specified.

    Though, i specified source connector name as "SOURCE-BC_TACCOUNT", but no luck. However, i configured same parameters in GUI, which works fine. Only difference i noticed is, source environment is also configured in addition to connector, which is not listed in dxmc tool. 

    Anyone aware of creating job with "on the fly" with dxmc tool?