dxmc examples - Any document to refer?

  • 0
  • 1
  • Question
  • Updated 1 week ago
  • Answered

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


Photo of santosh kumar

santosh kumar

  • 780 Points 500 badge 2x thumb

Posted 2 weeks ago

  • 0
  • 1
Photo of Hims

Hims, Employee

  • 2,592 Points 2k badge 2x thumb
Hi Santosh,
Best resource would be https://github.com/delphix/dxm-toolkit
Meanwhile, I am trying to replicate.

~Hims
(Edited)
Photo of santosh kumar

santosh kumar

  • 780 Points 500 badge 2x thumb

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
Photo of santosh kumar

santosh kumar

  • 780 Points 500 badge 2x thumb

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.
Photo of santosh kumar

santosh kumar

  • 780 Points 500 badge 2x thumb
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?