Skip to content

dx_remove_env

Marcin Przepiorowski edited this page Jan 10, 2019 · 3 revisions

SYNOPSIS

dx_remove_env [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
           -name env_name | -reference reference
           [-skip]
           [-parallel no]
           [-help|? ]
           [-debug ]

DESCRIPTION

Remove environment

ARGUMENTS

Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used.

  • -engine|d Specify Delphix Engine name from dxtools.conf file

  • -all Display databases on all Delphix appliance

  • -configfile file Location of the configuration file. A config file search order is as follow:

  • configfile parameter

  • DXTOOLKIT_CONF variable

  • dxtools.conf from dxtoolkit location

  • -name Environment Name(s). Use "," to separate names.

  • -skip Skip confirmation

  • -help Print this screen

  • -debug Turn on debugging

EXAMPLES

Remove environment

dx_remove_env -d Landshark51 -name LINUXSOURCE
Going to delete environment - LINUXSOURCE
Are you sure (y/(n)) - use -skip to skip this confirmation
y
Starting job JOB-1396 for environment LINUXSOURCE.
0 - 80 - 100
Job JOB-1396 finished with state: COMPLETED

Remove environments in parallel mode without confirmation

dx_remove_env -d Landshark51 -name LINUXSOURCE,LINUXTARGET -parallel 2 -skip
Going to delete environment - LINUXSOURCE
Starting job JOB-1400 for environment LINUXSOURCE.
Going to delete environment - LINUXTARGET
Starting job JOB-1401 for environment LINUXTARGET.
Job JOB-1400 finished with status COMPLETED
Job JOB-1401 finished with status COMPLETED

Delphix

Clone this wiki locally