Skip to content

dx_create_env

Marcin Przepiorowski edited this page Mar 21, 2019 · 6 revisions

SYNOPSIS

 dx_create_env [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
               -envname environmentname
               -envtype unix | windows | rac | wincluster
               -host hostname
               -toolkitdir toolkit_directory | -proxy proxy
               -username user_name -authtype password | systemkey [ -password password ]
               [-clustername name]
               [-clusterloc loc]
               [-port port]
               [-asedbuser user]
               [-asedbpass password]
               [-version ]
               [-help ]
               [-debug ]

DESCRIPTION

Add a new environment to Delphix Engine

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

  • -envname environmentname Environment name

  • -envtype unix|rac|windows|wincluster Environment types:

      - unix - for Unix/Linux
      - rac - for Oracle RAC
      - windows - for Windows
      - wincluster - for Windows Clusters
    
  • -host hostname Host name / IP of server being added to Delphix Engine. Cluster IP for windows clusters

  • -toolkitdir toolkit_directory Location for toolkit directory for Unix/Linux or location of Delphix Connector directory for Windows

  • -proxy proxy Connector host used for dSource or windows cluster

  • -username user_name Server user name

  • -authtype password | systemkey Authorization type - password or SSH key

  • -password password If password is specified as authtype - a user password has to be specified

  • -clustername name Cluser name (CRS name for RAC)

  • -clusterloc loc Cluser location (CRS home for RAC)

  • -port port SSH port for Unix based environments or connector port for Windows ones Default is 22 for Unix and 9100 for Windows environments

  • -asedbuser user ASE DB user for source detection

  • -asedbpass password ASE DB password for source detection

OPTIONS

  • -help Print usage information
  • -debug Turn on debugging
  • -version Display version

EXAMPLES

Adding Unix/Linux environment without ASE discovery

dx_create_env -d Landshark43 -envname envtest -envtype unix -host 172.16.180.190 -username delphix -authtype password -password xxxxxx -toolkitdir "/u01/app/toolkit"
Starting adding environment job - JOB-785
0 - 6 - 8 - 12 - 100
Job JOB-785 finised with state: COMPLETED Environment job finished with COMPLETED status.

Adding Unix/Linux environment with ASE discovery

dx_create_env -d Landshark5 -envname LINUXSOURCE -envtype unix -host linuxsource -username "delphix" -authtype password -password xxxxx -toolkitdir "/u01/app/toolkit" -asedbuser sa -asedbpass ChangeMeDB
Starting adding environment job - JOB-1023
0 - 6 - 8 - 12 - 100
Job JOB-1023 finised with state: COMPLETED Environment job finished with COMPLETED status.

Adding Unix/Linux environment with Oracle RAC

dx_create_env -d Landshark5 -envname racattack-cl -envtype rac -host 172.16.180.61 -username "oracle" -authtype password -password xxxxxx -toolkitdir "/home/oracle/toolkit" -clusterloc /u01/app/12.1.0.2/grid/ -clustername racattack-cl
Starting adding environment job - JOB-1024
0 - 6 - 8 - 12 - 100
Job JOB-1024 finised with state: COMPLETED Environment job finished with COMPLETED status.

Adding Windows target environment

dx_create_env -d Landshark5 -envname WINDOWSTARGET -envtype windows -host 172.16.180.132 -username "DELPHIX\delphix_admin" -authtype password -password xxxxxxx -toolkitdir "C:\Program Files\Delphix\DelphixConnector"
Starting adding environment job - JOB-7495
0 - 2 - 7 - 8 - 10 - 20 - 60 - 64 - 100
Job JOB-7495 finished with state: COMPLETED
Environment job finished with COMPLETED status.

Adding Windows source environment

dx_create_env -d Landshark5 -envname WINDOWSTARGET -envtype windows -host 172.16.180.132 -username "DELPHIX\delphix_admin" -authtype password -password xxxxxxx -proxy 172.16.180.132
Starting adding environment job - JOB-7496
0 - 2 - 7 - 8 - 10 - 20 - 60 - 64 - 100
Job JOB-7496 finished with state: COMPLETED
Environment job finished with COMPLETED status.
You can’t perform that action at this time.