Skip to main content
Skip table of contents

Environment-related IBM Db2 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 discover an environment via CLI, log in to the Delphix Continuous Data Engine using the admin user account.

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

Discovering the environment

Run the following commands to discover the environment.

CODE
environment
create
set hostEnvironment.name=rh88-stg
set hostParameters.host.address=rh88-stg.dlpxdc.co
set hostParameters.host.toolkitPath=/tmp
set primaryUser.name=delphix
set primaryUser.credential.password=delphix
commit

Updating the environment

Run the following commands to update the environment. The name of the environment can be updated from rh88-stg to rh88-stg.dlpxdc.co using the following command.

CODE
environment
select rh88-stg
update
set name=rh88-stg.dlpxdc.co
commit

Refreshing the environment

Run the following commands to refresh the environment.

CODE
environment
select rh88-stg.dlpxdc.co
refresh
commit

Disabling the environment

Run the following commands to disable the environment.

CODE
environment
select rh88-stg.dlpxdc.co
disable
commit

Enabling the environment

Run the following commands to enable the environment.

CODE
environment
select rh88-stg.dlpxdc.co
enable
commit

Deleting the environment

Run the following commands to delete the environment.

CODE
environment
select rh88-stg.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.