Skip to main content
Delphix

KBA1034 How to Change the Port Number on the Masking Engine UI

 

 

Issue

There are occasions when the port number used from the masking engine UI need to be changed.

Note: port 80 can not be used as it is already used by the Delphix Engine.

Procedure

To change the web interface port number on the masking engine;

  1. Using a shell, login to the CLI using delphix_admin.
  2. At the CLI root prompt, type "maskingjob".
  3. At the maskingjob prompt, type "serviceconfig".
  4. Type "ls" to list of service configurations, there should be one.
  5. At the serviceconfig, type "select `MASKING_SERVICE_CONFIG-1".
  6. Type "ls" to view the configurations.
  7. With this service config selected, type "update".
  8. In the update mode, type "set port=[YOUR DESIRED PORT NUMBER]"
  9. Commit the change by typing "commit".
  10. Type "ls" to confirm the configurations.
  11. Type "exit" to exit the CLI.
  12. Retype type masking URL reflecting the new details and refresh the browser

Example

The example below shows the step using a Unix-like shell to access the CLI.

YOUR_MACHINE $ ssh delphix_admin@YOUR_MASKING_SERVER

YOUR_MASKING_SERVER> maskingjob

YOUR_MASKING_SERVER maskingjob> serviceconfig

YOUR_MASKING_SERVER maskingjob serviceconfig> ls

Objects

NAME                       SERVER     PORT  USERNAME       CREDENTIALS

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

YOUR_MASKING_SERVER maskingjob serviceconfig> select `MASKING_SERVICE_CONFIG-1

YOUR_MASKING_SERVER maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1'> update

YOUR_MASKING_SERVER maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1' update *> set port=8080

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

YOUR_MASKING_SERVER maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1'> ls

Properties

    type: MaskingServiceConfig

    name: (unset)

    credentials:

        type: PasswordCredential

        password: ********

    port: 8080

    reference: MASKING_SERVICE_CONFIG-1

    server: localhost

    username: delphix_admin

 

Operations

update

YOUR_MASKING_SERVER maskingjob serviceconfig '`MASKING_SERVICE_CONFIG-1'> exit

  • Was this article helpful?