Skip to content

dx_config

Marcin Przepiorowski edited this page Jun 24, 2020 · 5 revisions

SYNOPSIS

dx_config -convert todxconf|tocsv -csvfile file.csv|-text params_list -configfile dxtools.conf [-help] [-version]

DESCRIPTION

Convert a csv file or list of parameters into DXTOOLKIT configuration file (dxtools.conf) or convert configuration file into csv file. Existing configuration file will be copy into backup file.

ex.

dx_config -convert todxconf -csvfile dxtools.csv -configfile dxtools.conf

ARGUMENTS

  • -convert todxconf|tocsv Specify a conversion direction

  • -csvfile file.csv CSV file name

  • -text parameter_list Create a new config file from input. Parameter list is comma separated list of values in the following order:

    hostname, ip_address, port, username, password, default, protocol, clientid, clientsecret

    Only one pair is required: username and password or clientid and clientsecret

  • -configfile dxtools.conf config file name

OPTIONS

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

EXAMPLES

Create CSV from dxtools.conf

dx_config -convert tocsv -csvfile new.csv -configfile dxtools.conf
New csv file new.csv created.

Create dxtools.conf from CSV file

dx_config -convert todxconf -csvfile new.csv -configfile dxtools.conf
New config file dxtools.conf created.

Create dxtools.conf from command line

dx_config -convert todxconf -text hostname,192.168.1.100,443,username,password,N,https -configfile new.conf
Old config file backup file name is new.conf.2020-05-01-10-28-07
New config file new.conf created.

Delphix

Clone this wiki locally