Skip to content

dx_ctl_template

Marcin Przepiorowski edited this page Oct 6, 2017 · 4 revisions

SYNOPSIS

dx_ctl_template    [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
                   -import | -update  
                   [-filename filename | -indir dir]  
                   [-help|?] 
                   [-debug] 

DESCRIPTION

Import or update a VDB template from file name or directory.

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

OPTIONS

  • -import
    Import template from file or directory
  • -update
    Update template from file or directory
  • -filename Template filename
  • -indir
    Location of imported templates files
  • -help
    Print this screen
  • -debug Turn on debugging

EXAMPLES

Import VDB template from test.template file

dx_ctl_template -d Landshark -import -filename ./test.template 
Importing template from file ./test.template. Import completed

Update VDB template using file test.template

dx_ctl_template -d Landshark -update -filename ./test.template 
Updating template new from file ./test.template. Update completed

Import VDB templates from directory /tmp/test

dx_ctl_template -d Landshark -update -indir /tmp/test/
Updating template Dev Template from file /tmp/test//Dev Template.template. Update completed
Updating template GBC Template from file /tmp/test//GBC Template.template. Update completed
Updating template new from file /tmp/test//new.template. Update completed
Updating template QA Template from file /tmp/test//QA Template.template. Update completed
Updating template Training Template from file /tmp/test//Training Template.template. Update completed
You can’t perform that action at this time.