Skip to content

dx_ctl_env

Marcin Przepiorowski edited this page Nov 8, 2016 · 10 revisions

SYNOPSIS

dx_ctl_env [ -engine|d <delphix identifier> | -all ] 
           [ -name env_name | -reference reference ]  
           -acton <enable|disable|refresh> 
           [-help|? ] 
           [-debug ]

DESCRIPTION

Control environments

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

Actions

  • -action enable|disable|refresh Run an action specified for environments selected by filter or all environments deployed on Delphix Engine

Filters

  • -name Environment Name
  • -reference Database Name

OPTIONS

  • -help
    Print this screen
  • -debug Turn on debugging

EXAMPLES

Disabling environmanet

dx_ctl_env -d Landshark -name LINUXTARGET -action disable Disabling environment LINUXTARGET
Disabling environment LINUXTARGET

Enabling environment

dx_ctl_env -d Landshark -name LINUXTARGET -action enable 
Enabling environment LINUXTARGET
Starting job JOB-234 for environment LINUXTARGET.
0 - 100
Job JOB-234 finised with state: COMPLETED

Refreshing environment

dx_ctl_env -d Landshark -name LINUXTARGET -action refresh
Refreshing environment LINUXTARGET
Starting job JOB-7544 for environment LINUXTARGET.
0 - 40 - 100
Job JOB-7544 finished with state: COMPLETED

Delphix

Clone this wiki locally