Skip to main content
Skip table of contents

PostgreSQL environment-related operations via CLI

There are many operations related to a Delphix Continuous Data Engine environment:

  • Create/Discover

  • Update

  • Refresh

  • Disable

  • Enable

  • Delete

CLI operations for each will appear below:

To create/discover an environment via CLI, login to the Delphix Continuous Data Engine using the admin user account.

CODE
ssh admin@<CONTINUOUS-DATA-FQDN-or-IP>

Creating/ Discovering the environment

Run the following commands to discover the environment.

CODE
environment
create
set hostEnvironment.name=rh86-pg15-s1
set hostParameters.host.address=rh86-pg15-s1.dlpxdc.co
set hostParameters.host.toolkitPath=/tmp
set primaryUser.name=postgres
set primaryUser.credential.password=postgres
commit

Updating the environment

Run the following commands to update the environment.

The name of the environment can be updated from rh86-pg15-s to rh86-pg15-s1.dlpxdc.co using the following command.

CODE
environment
select rh86-pg15-s1
update
set name=rh86-pg15-s1.dlpxdc.co
commit

Refreshing the environment

Run the following commands to refresh the environment.

CODE
environment
select rh86-pg15-s1.dlpxdc.co
refresh
commit

Disabling the environment

Run the following commands to disable the environment.

CODE
environment
select rh86-pg15-s1.dlpxdc.co
disable
commit

Enabling the environment

Run the following commands to enable the environment.

CODE
environment
select rh86-pg15-s1.dlpxdc.co
enable
commit

Deleting the environment

Run the following commands to delete the environment.

CODE
environment
select rh86-pg15-s1.dlpxdc.co
delete
commit
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.