Cannot associate masking job to dSource

  • 1
  • 1
  • Problem
  • Updated 2 months ago
  • In Progress
Hello, 

After creating a Masking Job using the Delphix Masking GUI and checking the multi tenant option, I still don't see the job available to be associated to the dSource on the masking tab in the Delphix Managment GUI. Is maybe something that needs to be enabled to have masking and virtualization engines interact proprely?

Thank you, 
Mary
Photo of Mary

Mary

  • 112 Points 100 badge 2x thumb

Posted 2 months ago

  • 1
  • 1
Photo of Jatinder Luthra

Jatinder Luthra, Employee

  • 2,694 Points 2k badge 2x thumb
Hello Mary,
                 Are you running masking and virtualization engines on single VM?

If not, could you please check virtualization engine is pointing to masking engine by logging into Delphix virtualization CLI  (ssh delphix_admin@DxEIP) and run below command?

DEngine> maskingjob serviceconfig ls

~Jatinder
(Edited)
Photo of Gary Hallam

Gary Hallam, Official Rep

  • 1,584 Points 1k badge 2x thumb
Hi Mary,
I also struggled with this originally.  There is some documentation that describes how you can use the CLI to ensure the Delphix Engine connects correctly to the Masking Engine: Customizing the Virtualization Engine Connection to a Masking Engine for Masked Provisioning.  In essence you need to make sure that the connection has a username that exists on the Masking engine, with the right password and the right IP Address for the Masking Engine.  So Jatinder's suggestion above will give you the details for that connection.
Regards,
Gary
Photo of Gary Hallam

Gary Hallam, Official Rep

  • 1,584 Points 1k badge 2x thumb
Here's a dump of the commands I used to get the DE connected with the ME on the combined engine:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px} span.s1 {font-variant-ligatures: no-common-ligatures} span.s2 {font-variant-ligatures: no-common-ligatures; color: #ff2600} span.s3 {text-decoration: underline ; font-variant-ligatures: no-common-ligatures}

Garys-MacBook-Pro:~ ghallam$ ssh delphix_admin@172.16.72.199

Password: 

LandsharkEngine> maskingjob

LandsharkEngine maskingjob> serviceconfig

LandsharkEngine maskingjob serviceconfig> ls

Objects

NAME                       SERVER     PORT  USERNAME       CREDENTIALS  SCHEME

`MASKING_SERVICE_CONFIG-1  localhost  8282  delphix_admin  { ... }      HTTP

LandsharkEngine maskingjob serviceconfig> select MASKING_SERVICE_CONFIG-1

LandsharkEngine maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1'> ls

Properties

    type: MaskingServiceConfig

    name: (unset)

    credentials:

        type: PasswordCredential

        password: ********

    port: 8282

    reference: MASKING_SERVICE_CONFIG-1

    scheme: HTTP

    server: localhost

    username: delphix_admin


Operations

update

LandsharkEngine maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1'> update

LandsharkEngine maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1' update *> ls

Properties

    type: MaskingServiceConfig

    credentials:

        type: PasswordCredential

        password: ********

    port: 8282

    scheme: HTTP

    server: localhost

    username: delphix_admin

LandsharkEngine maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1' update *> set username=maskinguser

LandsharkEngine maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1' update *> ls

Properties

    type: MaskingServiceConfig

    credentials:

        type: PasswordCredential

        password: ********

    port: 8282

    scheme: HTTP

    server: localhost

    username: maskinguser (*)

LandsharkEngine maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1' update *> set credentials.password=M45k1ngU$3r

LandsharkEngine maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1' update *> commit

LandsharkEngine maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1'> Connection to 172.16.72.199 closed by remote host.

Connection to 172.16.72.199 closed.

Garys-MacBook-Pro:~ ghallam$ ssh delphix_admin@172.16.72.199

Password: 

LandsharkEngine> maskingjob

LandsharkEngine maskingjob> ls

Objects

NAME            ASSOCIATEDCONTAINER     APPLICATIONID  MASKINGJOBID

Patient1Mask1   Employee Oracle 11G DB  app1           2

Employee1Mask1  Employee Oracle 11G DB  app1           1


Children

serviceconfig


Operations

fetch

getLocalServiceStatus

LandsharkEngine maskingjob> serviceconfig

LandsharkEngine maskingjob serviceconfig> ls

Objects

NAME                       SERVER     PORT  USERNAME     CREDENTIALS  SCHEME

`MASKING_SERVICE_CONFIG-1  localhost  8282  maskinguser  { ... }      HTTP

LandsharkEngine maskingjob serviceconfig>
Photo of Mary

Mary

  • 112 Points 100 badge 2x thumb
Thanks Gary, that solved my problem! :) Thank you both for your quick answers.