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.
ssh admin@<CONTINUOUS-DATA-FQDN-or-IP>
Discovering the environment
Run the following commands to discover the environment.
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.
environment
select rh88-stg
update
set name=rh88-stg.dlpxdc.co
commit
Refreshing the environment
Run the following commands to refresh the environment.
environment
select rh88-stg.dlpxdc.co
refresh
commit
Disabling the environment
Run the following commands to disable the environment.
environment
select rh88-stg.dlpxdc.co
disable
commit
Enabling the environment
Run the following commands to enable the environment.
environment
select rh88-stg.dlpxdc.co
enable
commit
Deleting the environment
Run the following commands to delete the environment.
environment
select rh88-stg.dlpxdc.co
delete
commit