Delphix Products

Expand all | Collapse all

Cannot associate masking job to dSource

Jump to Best Answer
  • 1.  Cannot associate masking job to dSource

    Posted 04-04-2018 02:47:00 PM
    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
    #Masking


  • 2.  RE: Cannot associate masking job to dSource

    Posted 04-04-2018 03:36:00 PM
    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


  • 3.  RE: Cannot associate masking job to dSource

    Posted 04-04-2018 09:35:00 PM
    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


  • 4.  RE: Cannot associate masking job to dSource
    Best Answer

    Posted 04-04-2018 09:45:00 PM
    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>


  • 5.  RE: Cannot associate masking job to dSource

    Posted 04-05-2018 08:16:00 AM
    Thanks Gary, that solved my problem! :) Thank you both for your quick answers.