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;
- Using a shell, login to the CLI using delphix_admin.
- At the CLI root prompt, type "maskingjob".
- At the maskingjob prompt, type "serviceconfig".
- Type "ls" to list of service configurations, there should be one.
- At the serviceconfig, type "select `MASKING_SERVICE_CONFIG-1".
- Type "ls" to view the configurations.
- With this service config selected, type "update".
- In the update mode, type "set port=[YOUR DESIRED PORT NUMBER]"
- Commit the change by typing "commit".
- Type "ls" to confirm the configurations.
- Type "exit" to exit the CLI.
- 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