Skip to content

dx_ctl_js_template

Marcin Przepiorowski edited this page Jan 10, 2019 · 3 revisions

SYNOPSIS

dx_ctl_js_template     [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
                       -action create | delete
                       -template_name template_name
                       [ -source GroupName,DatabaseName,SourceName,Priority ]
                       [ -help|? ]
                       [ -debug ]

DESCRIPTION

Run a action on the JetStream container

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
  • -action create | delete Run an action on template
  • -template_name template_name Name of container's templates

OPTIONS

  • **-source GroupName,DatabaseName,SourceName,Priority ** Comma separated list defining a template source (can be repeated if there are more sources)
  • -help Print this screen
  • -debug Turn on debugging

Examples

Create a new templates based on one source

dx_ctl_js_template -d Landshark51 -source "Sources, Oracle dsource, oracle, 1"  -action create -template_name template_new
Template template_new created

Create a new templates based on two sources

dx_ctl_js_template -d Landshark51 -source "Sources, Oracle dsource, oracle, 1" -source "Sources, Sybase dsource, sybase, 1"  -action create -template_name template2
Template template2 created

Deleting template

dx_ctl_js_template -d Landshark51 -action delete -template_name template2
Template template2 deleted

Delphix

Clone this wiki locally