The operations explained in this documentation section can be performed through the Delphix Engine’s Command Line Interface (CLI) too. The available operations are as follows:
-
Create & Discover
-
Update
-
Refresh
-
Disable
-
Enable
-
Delete
Prerequisites
To run any of the following commands, login to the Delphix Continuous Data Engine’s CLI with the admin user account.
Example
ssh admin@<CONTINUOUS-DATA-FQDN-or-IP>
Creating & discovering the environment
Run the following commands to discover the environment.
Example
environment
create
set hostEnvironment.name=rh86-hana2sp6-s1
set hostParameters.host.address=rh86-hana2sp6-s1.dlpxdc.co
set hostParameters.host.toolkitPath=/tmp
set primaryUser.name=hdbadm
set primaryUser.credential.password=hana
commit
Updating the environment
Run the following commands to update the environment.
The name of the environment can be updated from rh86-hana2sp6-s1 to rh86-hana2sp6-s1.dlpxdc.co using the following command.
Example
environment
select rh86-hana2sp6-s1
update
set name=rh86-hana2sp6-s1.dlpxdc.co
commit
Refreshing the environment
Run the following commands to refresh the environment.
Example
environment
select rh86-hana2sp6-s1.dlpxdc.co
refresh
commit
Disabling the environment
Run the following commands to disable the environment.
Example
environment
select rh86-hana2sp6-s1.dlpxdc.co
disable
commit
Enabling the environment
Run the following commands to enable the environment.
Example
environment
select rh86-hana2sp6-s1.dlpxdc.co
enable
commit
Deleting the environment
Run the following commands to delete the environment.
Example
environment
select rh86-hana2sp6-s1.dlpxdc.co
delete
commit