Skip to content

dx_ctl_config

Marcin Przepiorowski edited this page Nov 2, 2022 · 1 revision

SYNOPSIS

dx_ctl_config [-engine|d <delphix identifier> | -all ]
               -filename name | -initializeonly 
              [-email email ]
              [-password password ]
              [-help|? ]
              [-debug ]

DESCRIPTION

Configure or initialize Delphix engine. Configuration file is JSON based and can be created by dx_get_config with backup option

ARGUMENTS

Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used. Warning - this scripts require a sysadmin user to run

  • -engine|d Specify Delphix Engine name from dxtools.conf file
  • -all Run on all Delphix Engines configured in dxtoos.conf
  • -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
  • -filename name Initialize engine and apply configuration file
  • -initializeonly Initialize engine only

OPTIONS

  • -email email For initialize only - set admin user email address
  • -password password For initialize only - set admin user password
  • -help Print this screen
  • -debug Turn on debugging

EXAMPLES

Initialize a new engine and apply configuration with config file.

dx_ctl_config -d dxtestsys1  -filename /tmp/dxtestsys.json
Initialize engine
Waiting for all actions to complete. Parent action is ACTION-2
Engine initialized
wait for restart
Engine initialization completed
Setting engine type
Waiting for all actions to complete. Parent action is ACTION-4
OK
Setting DNS
Setting syslog
Setting LDAP
Setting SSO
Setting timezone and NTP
wait for restart
Engine dxtestsys1 configured without problems

Initialize with default settings

dx_ctl_config -d dxtestsys1 -initializeonly -email [email protected] -password delphix
Initialize engine
Waiting for all actions to complete. Parent action is ACTION-2
Engine initialized
wait for restart
Engine initialization completed
Engine dxtestsys1 configured without problems

Delphix

Clone this wiki locally